/* =========================================
   LRA MUSIC | FINAL V45 (BANNER FIX & WAVE UPDATE)
   ========================================= */

:root {
    --fondo: #0a0914;
    --fondo-alt: #131129;
    --naranja: #ff8c00; 
    --texto: #ffffff;
    --glass-nav: rgba(10, 9, 20, 0.95);
    --radio-borde: 12px;
}

/* --- BASE --- */
html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--fondo);
    color: var(--texto);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* --- NAVBAR --- */
.navbar {
    padding: 10px 5%;
    background: var(--glass-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 2000;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-sizing: border-box;
}
.logo-img { height: 50px; width: auto; }

/* Menú Vinilo */
.vinyl-menu-btn { cursor: pointer; display: flex; align-items: center; gap: 10px; z-index: 2001; }
.menu-text { font-size: 0.8rem; letter-spacing: 2px; font-weight: bold; text-transform: uppercase; }
.vinyl-record { 
    width: 45px; height: 45px; background: #111; border-radius: 50%; 
    border: 2px solid #333; display: flex; align-items: center; justify-content: center; 
    animation: spin 5s linear infinite; 
}
.vinyl-label { width: 16px; height: 16px; background: var(--naranja); border-radius: 50%; border: 2px solid white; }

/* Overlay Menú */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(10, 9, 20, 0.98);
    display: flex; justify-content: center; align-items: center;
    z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
.nav-links { list-style: none; padding: 0; text-align: center; display: flex; flex-direction: column; gap: 30px; }
.nav-links a { color: white; text-decoration: none; font-size: 2rem; font-weight: bold; transition: 0.3s; }
.nav-links a:hover { color: var(--naranja); transform: scale(1.1); }

/* --- HERO (BANNER) --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    isolation: isolate; /* Crea contexto de apilamiento */
}

/* La imagen tiene estilos inline en HTML para asegurar visibilidad, pero esto refuerza */
.hero-bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    z-index: 1;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,9,20,0.4), rgba(10,9,20,0.9)); 
    z-index: 2;
}

.hero-content { z-index: 3; text-align: center; padding: 0 20px; position: relative; }

/* --- EFECTO APPLE GLASS TEXT --- 
   Reemplaza el antiguo .hero h1 naranja por este efecto cristal.
*/
.hero h1, .apple-glass-text { 
    font-size: 5rem; 
    margin: 0 0 20px 0;
    font-weight: 800; /* Letra gruesa para mejor efecto vidrio */
    letter-spacing: -2px; /* Estilo Apple moderno */
    
    /* 1. Relleno casi transparente (efecto fantasma) */
    color: rgba(255, 255, 255, 0.05);
    
    /* 2. El borde sólido semitransparente define el cristal */
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    
    /* 3. El brillo superior: Degradado de blanco opaco a transparente */
    background: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 4. Sombras profundas para separar del fondo */
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    
    /* 5. Filtro suave para integración */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

@media (max-width: 768px) {
    .hero h1, .apple-glass-text {
        font-size: 3rem; /* Ajuste móvil */
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    }
}

.whatsapp-btn-hero {
    background-color: #25d366; color: white !important; padding: 15px 35px;
    border-radius: 50px; text-decoration: none; font-weight: bold;
    display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); font-size: 1.1rem; border: 2px solid transparent;
}
.whatsapp-btn-hero:hover { transform: scale(1.05); background-color: #1ebe57; border-color: #fff; }

/* --- PORTÁTIL VIRTUAL DJ (ESTILIZADO) --- */
.laptop-section { padding: 80px 20px; text-align: center; overflow: hidden; position: relative; }
.laptop-container { perspective: 1000px; width: 100%; max-width: 600px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
.laptop-lid { 
    background: #1a1a1d; border-radius: 16px 16px 0 0; padding: 10px; 
    border: 1px solid rgba(255,255,255,0.2); 
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.2), 0 20px 50px rgba(0,0,0,0.8); 
    aspect-ratio: 16/10; position: relative; 
}
.laptop-screen { background: #0f1115; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #000; position: relative; }
.screen-header { height: 20px; background: #222; display: flex; gap: 5px; padding: 0 10px; align-items: center; border-bottom: 1px solid #333; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.bg-red { background: #ff5f56; } .bg-yellow { background: #ffbd2e; } .bg-green { background: #27c93f; }

/* ONDAS DE SONIDO (DISCRETAS) */
.waveform-box {
    height: 30px; background: #111; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #333; overflow: hidden;
}
.wave-bar {
    width: 3px; 
    background: var(--naranja); 
    opacity: 0.3; /* MUY SUTIL */
    border-radius: 2px; 
    animation: waveform 2s ease-in-out infinite; /* LENTO */
}
@keyframes waveform { 0%, 100% { height: 10%; opacity: 0.2; } 50% { height: 50%; opacity: 0.5; } }

.dj-interface { flex: 1; display: flex; padding: 15px; gap: 10px; justify-content: space-between; align-items: center; background: #121212; }
.deck { flex: 1; background: #1e1e1e; border-radius: 6px; border: 1px solid #333; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; aspect-ratio: 1/1; }
.vinyl-disk { width: 85%; height: 85%; border-radius: 50%; background: repeating-radial-gradient(#111 0, #111 2px, #222 3px, #222 4px); border: 2px solid #333; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.6); }
.disk-label { width: 35%; height: 35%; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); }
.disk-label.blue { background: #00bfff; box-shadow: 0 0 15px rgba(0, 191, 255, 0.4); } 
.disk-label.red { background: #ff4500; box-shadow: 0 0 15px rgba(255, 69, 0, 0.4); } 
.mixer { width: 30px; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; gap: 10px; }
.slider { width: 4px; height: 50px; background: #333; position: relative; border-radius: 2px; }
.knob { width: 12px; height: 6px; background: #888; position: absolute; left: -4px; top: 50%; border-radius: 1px; box-shadow: 0 1px 3px black; }

/* Animaciones */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-spin-slow { animation: spin 4s linear infinite; }
.reverse { animation-direction: reverse; }

/* --- TARJETAS --- */
.section-padding { padding: 60px 5%; }
.promo-grid, .grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.promo-card { background: white; color: #333; border-radius: var(--radio-borde); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
.promo-card:hover { transform: translateY(-5px); }
.promo-image-container { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.promo-image-container img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge { position: absolute; bottom: 10px; left: 10px; background: #cc0000; color: white; padding: 5px 12px; font-weight: bold; font-size: 0.8rem; border-radius: 4px; }
.promo-content { padding: 20px; text-align: left; }
.btn-oferta { display: block; width: 100%; text-align: center; padding: 12px 0; border: 2px solid black; border-radius: 8px; color: black; text-decoration: none; font-weight: bold; margin-top: 15px; }
.btn-oferta:hover { background: black; color: white; }

/* Galería Grid */
.gallery-grid-mixed, #full-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; max-width: 1200px; margin: 0 auto; }
.gallery-card { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #222; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.gallery-media { width: 100%; height: 100%; object-fit: cover; }
.masonry-item { break-inside: avoid; margin-bottom: 15px; cursor: pointer; border-radius: 10px; overflow: hidden; }
.masonry-item img { width: 100%; display: block; }

/* Lightbox & Modal */
.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 10000; display: none; justify-content: center; align-items: center; }
.lightbox.show { display: flex; }
.lightbox-media { max-width: 90%; max-height: 80vh; }
.service-modal-content { width: 90%; height: 90vh; background: #000; position: relative; }
.service-modal-content iframe { width: 100%; height: 100%; border: none; }
.close-lightbox { position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; cursor: pointer; z-index: 10002; background: rgba(0,0,0,0.5); padding: 0 10px; border-radius: 50%; }

/* Utilidades */
.footer { padding: 40px; text-align: center; color: #666; border-top: 1px solid rgba(255,255,255,0.05); }
.section-title { font-size: 2.5rem; color: var(--naranja); text-align: center; margin-bottom: 40px; }
.dark-alt { background-color: var(--fondo-alt); }
.card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); }

/* Botón Galería Visible */
.btn-outline-visible { display: inline-block; padding: 15px 35px; background: var(--naranja); border: none; color: white; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: 1px; border-radius: 50px; transition: all 0.3s ease; text-transform: uppercase; box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4); }
.btn-outline-visible:hover { background: #ffaa33; transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6); }

/* Contacto Iconos App */
.contact-icons-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 20px; }
.contact-icon-link { display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.contact-icon-link i { font-size: 5rem; }
.contact-icon-link.whatsapp i { color: #25D366; }
.contact-icon-link.email i { color: var(--naranja); }
.contact-icon-link.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.contact-icon-link:hover { transform: scale(1.2); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }

/* Testimonios Lila */
.bg-lila { background-color: #FFF5E1; color: #333; }
.bg-lila .section-title { color: #2B4F60; text-shadow: none; }

@media (max-width: 768px) {
    .navbar { padding: 10px 20px; }
    .gallery-grid-mixed, #full-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .vinyl-outer { width: 64px; height: 64px; }
    .vinyl-label { width: 36px; height: 36px; padding: 8px; }
    .whatsapp-tooltip { display: none; }
    .contact-icons-container { gap: 30px; }
    .contact-icon-link i { font-size: 4rem; }
}

/* Botón WhatsApp Vinilo */
.whatsapp-vinyl-btn { position: fixed; bottom: 24px; right: 24px; z-index: 9000; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-vinyl-btn:hover { transform: scale(1.1); }
.whatsapp-vinyl-btn:hover .vinyl-outer { animation-play-state: paused; }
.vinyl-outer { width: 80px; height: 80px; border-radius: 50%; background-color: black; background-image: repeating-radial-gradient(#0a0a0a 0, #0a0a0a 2px, #1c1c1c 3px, #1c1c1c 4px); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; position: relative; animation: spin 6s linear infinite; }
.vinyl-reflection { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, transparent 40%, transparent 100%); pointer-events: none; z-index: 2; }
.vinyl-label.wa-label { width: 44px; height: 44px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.3); z-index: 1; padding: 10px; box-sizing: border-box; }
.whatsapp-icon { width: 100%; height: 100%; fill: white; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.whatsapp-tooltip { position: absolute; right: 100%; margin-right: 20px; background-color: white; color: black; font-size: 12px; font-weight: bold; padding: 6px 12px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1); font-family: sans-serif; }
.whatsapp-vinyl-btn:hover .whatsapp-tooltip { opacity: 1; }