/* Redes sociales individuales en bio */
.bio-socials {
    margin-top: 18px;
    display: flex;
    gap: 18px;
}
.bio-social img {
    filter: grayscale(0.2) brightness(0.95);
    transition: filter 0.2s, transform 0.2s;
}
.bio-social:hover img {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 2px 8px #0008);
    transform: scale(1.13);
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    /* Paleta Theatrical Comedy */
    --primary: #5c0016; /* Burdeos oscuro */
    --secondary: #d4af37; /* Dorado */
    --dark: #140005; /* Negro profundo */
    --light: #f4f4f4;
    --grey: #333333;
    --font-main: 'Playfair Display', 'Merriweather', 'Times New Roman', serif;
    
    /* Colores Cartelera de Lujo */
    --burgundy-deep: #3b0a14;
    --burgundy-stroke: #5a0d1d;
    --gold-light: #fcf6ba;
    --gold-main: #d4af37;
    --gold-dark: #b8860b;
    --yellow-title: #ffe55c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--light);
    background: url('img/telon.png?v=2') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
}

/* Video Intro overlay */
#intro-video-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #000;
    z-index: 9999;
    transition: opacity 1.2s ease;
}

#intro-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.video-hidden { opacity: 0; pointer-events: none; }

/* Tipografía y Textos */
h1, h2, h3 { font-weight: 700; }
.text-center { text-align: center; }

/* Layout & Secciones */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sección general con bordes dorados arriba y abajo */
.section {
    padding: 80px 0;
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
}

/* Sección de redes más grande y separada */
#redes {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary);
}

.dark-bg { background-color: var(--dark); }
#conocenos {
    position: relative;
    overflow: hidden; /* Contiene los pseudo-elementos */
}

.light-bg { background-color: #1e1e1e; color: var(--light); }

/* Botones (CTAs) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}
.btn-primary:hover {
    background-color: #a00028;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}
.btn-secondary:hover {
    background-color: #e6c200;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #ffe58f, #b8860b);
    color: var(--dark);
    border: none;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    -webkit-mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) top left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) top right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) top left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) top right / 51% 100% no-repeat;
    border-radius: 0;
}

.btn-velvet {
    background: linear-gradient(135deg, #5c0016, #3a000d);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    -webkit-mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) top left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) top right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) top left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) top right / 51% 100% no-repeat;
    border-radius: 0;
}

.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; display: block; text-align: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar .logo { font-size: 1.5rem; font-weight: bold; color: var(--secondary); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: #fff; font-family: var(--font-main); text-decoration: none; font-weight: normal; font-size: 0.95rem; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover { color: var(--secondary); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    margin-top: 50px;
    /* Ajustamos el padding para dejar espacio al header fijo y evitamos el margin */
    padding: 80px 20px 20px;
    overflow: hidden;
}

.hero-content { position: relative; z-index: 1; }
    
.hero-title { font-size: 3.5rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 3px; font-weight: bold; color: #ffffff; text-shadow: 1px 1px 3px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.4rem; margin-bottom: 30px; font-weight: normal; font-style: italic; color: #e0e0e0; }
.hero-subtitle span { display: block; color: var(--secondary); font-weight: bold; font-size: 4.5rem; font-style: normal; margin-top: 10px; text-shadow: 2px 2px 15px rgba(0,0,0,0.8); line-height: 1.2; }

.flyer-container { margin: 40px auto; padding: 0; background: #111; border: 12px ridge var(--secondary); box-shadow: 0px 20px 40px rgba(0,0,0,0.8); display: inline-block; max-width: 90%; position: relative; z-index: 2; }
.flyer-img { max-width: 100%; max-height: 55vh; display: block; }

.cta-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; transform: translateY(-25px); position: relative; z-index: 10; }
/* Eliminamos el delay de 0.2s para los botones dentro de cta-group al hacer hover */

/* Pseudo-elementos para imágenes de fondo en la sección "Conocenos" */
#conocenos::before,
#conocenos::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%; /* Ancho de la imagen de fondo */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6; /* Opacidad aumentada para mayor visibilidad */
    z-index: 0;
}

#conocenos::before { /* Kathe */
    left: 0;
    background-image: url('img/kathe.png');
    background-position: left center;
}

#conocenos::after { /* Seba */
    right: 0;
    background-image: url('img/sebi.png');
    background-position: right center;
}

/* Conocenos (Grid) */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bio-card { background: var(--grey); padding: 30px; border-radius: 8px; border-top: 4px solid var(--secondary); position: relative; z-index: 1; }
.bio-card h3 { color: var(--secondary); margin-bottom: 15px; font-size: 1.8rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* Cartelera (Cards) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.show-card { background: var(--dark); border: 1px solid var(--grey); padding: 25px; border-radius: 8px; text-align: center; transition: transform 0.3s ease; }
.show-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.show-date { color: var(--secondary); font-weight: bold; margin-bottom: 10px; }
.show-name { font-size: 1.4rem; margin-bottom: 10px; }
.show-location { font-size: 0.9rem; color: #aaa; margin-bottom: 20px; }

/* Galería Multimedia */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.gallery-item { background: var(--grey); border-radius: 5px; overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Estilo para videos en la galería interactiva */
.gallery-item.video-item {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    cursor: pointer;
}

/* Ícono de "Play" superpuesto en los videos */
.gallery-item.video-item::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    pointer-events: none; /* Evita que el ícono interfiera con el clic */
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.video-item:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

/* Estilos específicos para el embed de TikTok para que ocupe más espacio */
.video-embed {
    background: transparent;
    border: none;
    aspect-ratio: unset; /* Anula el aspect-ratio de .gallery-item para que el video pueda crecer verticalmente */
    grid-column: 1 / -1; /* Ocupa todo el ancho de la grilla */
    padding: 20px 0; /* Ajustamos el padding para que no haya espacio extra a los lados */
    display: flex; /* Usamos flex para controlar mejor el contenido */
    flex-direction: column; /* Apila los elementos verticalmente */
    align-items: center; /* Centra el contenido horizontalmente */
    justify-content: center; /* Centra el contenido verticalmente */
    width: 100%; /* Asegura que ocupe el 100% del ancho disponible */
    overflow: hidden; /* Evita que contenido extra rompa la grilla */
    box-sizing: border-box; /* Asegura que el padding no añada ancho extra */
    border-radius: 8px; /* Oculta esquinas duras del video */
}

.video-embed .tiktok-embed {
    width: 100% !important; /* Fuerza el ancho al 100% de su contenedor */
    max-width: 100% !important; /* Permitimos que ocupe todo el ancho disponible */
    margin: 0 auto; /* Centra el embed horizontalmente */
    min-height: 750px !important; /* Aumentamos la altura mínima para que sea más prominente */
    display: flex; /* Usamos flex para que el iframe interno también se estire */
    align-items: center;
    justify-content: center;
    border: none !important; /* Fuerza a quitar cualquier borde del contenedor nativo */
    background: transparent !important;
}
.video-embed .tiktok-embed iframe {
    width: 100% !important; /* Fuerza el iframe a ocupar el 100% del ancho de su padre */
    height: 100% !important; /* Fuerza el iframe a ocupar el 100% de la altura de su padre */
    display: block;
    border: none !important; /* Fuerza a quitar el borde del iframe */
    background: transparent !important;
}

/* Estilos para el nuevo reproductor nativo limpio */
.clean-video-player {
    width: 100%;
    max-width: 380px; /* Ancho vertical ideal estilo móvil */
    height: auto;
    aspect-ratio: 9 / 16; /* Fuerza la proporción de TikTok/Reels */
    object-fit: cover;
    border-radius: 8px; /* Bordes ligeramente redondeados */
    background-color: transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra elegante para integrarlo al fondo */
    position: relative;
    z-index: 50; /* Nos aseguramos de que nada lo tape */
    pointer-events: auto; /* Forzamos a que reciba los clics */
}

/* Formulario de Contacto */
.form-container { max-width: 600px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; color: var(--secondary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--grey); background: var(--dark); color: var(--light); border-radius: 5px; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.whatsapp-direct { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--grey); }
.form-status { margin-top: 15px; font-weight: bold; text-align: center; }

/* Botón Flotante WA */
.float-wa { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: var(--secondary); border: 3px solid var(--secondary); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0px 10px 20px rgba(0,0,0,0.8); z-index: 100; transition: transform 0.3s; }
.float-wa:hover { transform: scale(1.1); }

footer { text-align: center; padding: 20px; background: #000; font-size: 0.8rem; color: #777; }

/* Media Queries (Mobile First approach ajustado para Desktop y Tablets) */
@media (max-width: 768px) {
    .nav-links { display: nones; /* En producción se puede añadir un menú hamburguesa */ }
    .nav-links { display: none; /* En producción se puede añadir un menú hamburguesa */ }
    .hero-title {
        font-size: 1.8rem; /* Reducimos más el tamaño para asegurar que quepa */
        letter-spacing: 0.5px; /* Compactamos el espaciado entre letras */
        line-height: 1.3; /* Damos más aire si el texto se divide en dos líneas */
    }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-subtitle span {
        font-size: 2.8rem; /* Reducimos el tamaño para que quepa mejor en móvil */
        line-height: 1.1; /* Ajustamos la altura de línea */
    }
    .bio-grid { grid-template-columns: 1fr; }
    /* Ocultamos las imágenes de fondo en móvil para no sobrecargar */
    #conocenos::before,
    #conocenos::after { display: none; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Forzamos 2 columnas en móvil */
        gap: 10px; /* Reducimos el espacio entre imágenes */
    }
    .cta-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    form[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* =========================================
   Estilos de la sección de Cartelera de Lujo
   ========================================= */
#fechas {
    /* Fondo Terciopelo Burdeos con textura de ruido SVG */
    background-color: var(--burgundy-deep);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.12'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    border-top: 4px solid var(--gold-dark);
    border-bottom: 4px solid var(--gold-dark);
}

.luxury-header {
    font-family: 'Georgia', 'Playfair Display', serif;
    color: var(--gold-main);
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.luxury-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.luxury-card {
    background: linear-gradient(135deg, rgba(30,0,0,0.8), rgba(60,10,20,0.9));
    backdrop-filter: blur(5px);
    /* Marco de oro ornamentado simulado con gradients y box-shadow */
    border: 6px solid;
    border-image: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-main), var(--gold-light), var(--gold-dark)) 1;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9), inset 0 0 20px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}
.luxury-card:hover {
    transform: translateY(-5px);
}

.luxury-date {
    font-family: 'Georgia', serif;
    color: var(--gold-main);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}   

.luxury-title {
    font-family: 'Impact', 'Bebas Neue', sans-serif;
    color: var(--yellow-title); /* Cambiado a amarillo para que brille más */
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 2px;
    margin: 20px 0;
    /* Contorno Burdeos */
    -webkit-text-stroke: 1.5px var(--burgundy-stroke);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    text-transform: uppercase;
}

.luxury-location {
    font-family: 'Georgia', serif;
    color: var(--gold-main);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.luxury-address {
    font-family: 'Georgia', serif;
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.luxury-btn {
    /* Botón dorado texturizado */
    background: linear-gradient(to bottom, var(--gold-light), var(--gold-main), var(--gold-dark));
    border: 2px solid #fff;
    color: var(--burgundy-deep);
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6), inset 0 1px 3px rgba(255,255,255,0.8);
    transition: all 0.2s ease;
    cursor: pointer;
}
.luxury-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.8);
}
