/* ==========================================================================
   1. VARIABLES Y GENERALES
   ========================================================================== */
:root {
    --primary: #79031d;
    --accent: #EDB518;
    --light: #F5F7F7;
    --dark: #1A1A1A;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F5F7F7;
    text-decoration: none;
}

/* ==========================================================================
   2. HERO SECCIÓN (Gala - Foto Vertical)
   ========================================================================== */
.event-hero-gala {
    position: relative;
    width: 100%;
    height: 65vh; /* Altura ideal para ver info debajo en PC */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.3);
    transform: scale(1.1);
    z-index: 1;
}

.hero-content-gala {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 90%;
    max-width: 1000px;
    height: 100%;
}

.hero-image-vertical {
    height: 85%; 
    display: flex;
    align-items: center;
}

.hero-image-vertical img {
    height: 100%;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-text-gala {
    flex: 1;
    color: white;
    text-align: left;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hero-text-gala h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Botón de conversión rápida para PC */
/* Localización (París, Francia) */
.hero-text-gala .event-location {
    display: block;        /* Nos aseguramos de que sea un bloque independiente */
    margin-bottom: 2.5rem; /* Empujamos desde París hacia abajo */
    font-size: 1.2rem;
    opacity: 0.9;
}

/* El botón de Desktop */
.desktop-only-btn {
    display: inline-block;
    margin-top: 0;         /* Dejamos que París haga el empuje con su margin-bottom */
    padding: 1.2rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.desktop-only-btn:hover {
    background-color: #910423;
    transform: translateY(-2px);
}

/* ==========================================================================
   3. DETALLES DEL EVENTO (Debajo del Hero)
   ========================================================================== */

/* Aumentamos un poco el alto del hero en PC para que quepa la descripción cómodamente */
.event-hero-gala {
    position: relative;
    width: 100%;
    min-height: 85vh; /* Un poco más de aire para el texto extra */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

/* Estilos para la info integrada */
.event-date-hero {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 1rem;
}

.event-location {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.event-description-hero {
    font-size: 1rem;
    line-height: 1.6;
    color: #eee;
    max-width: 450px; /* Para que no se estire demasiado el texto */
    margin-bottom: 2rem;
}

/* Botón Desktop ajustado */
.desktop-only-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

/* Ajustes para Móvil */
@media (max-width: 768px) {
    .event-hero-gala {
        height: auto;
        min-height: 100vh; /* Que ocupe toda la pantalla en móvil */
        padding: 6rem 1rem 4rem 1rem;
    }

    .event-description-hero {
        font-size: 0.95rem;
        margin: 0 auto 2rem auto;
    }
}


/* ==========================================================================
   4. LÓGICA DE BOTONES Y RESPONSIVE
   ========================================================================== */

/* Botón flotante móvil (oculto en PC) */
.floating-ticket-btn {
    display: none;
}

@media (max-width: 768px) {
    /* Ajustes de Hero para Móvil */
    .event-hero-gala {
        height: auto;
        padding: 4rem 1rem;
    }

    .hero-content-gala {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-gala {
        text-align: center;
    }

    .hero-image-vertical {
        height: auto;
        width: 70%;
    }

    .hero-image-vertical img {
        height: auto;
        width: 100%;
    }

    /* Ocultar botón del hero en móvil */
    .desktop-only-btn, 
    .hero-text-gala .btn-primary { 
        display: none !important; 
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    /* Mostrar botón flotante en móvil */
    .floating-ticket-btn {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        color: white;
        text-align: center;
        padding: 1.2rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        z-index: 2000;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    }

    /* Evitar que el botón tape el final de la página */
    body {
        padding-bottom: 80px;
    }

    /* Ocultar el botón estándar de la sección de detalles en móvil */
    .event-detail .btn-primary {
        display: none !important;
    }
}