/* ═══════════════════════════════════════════
   METANOIA LOS ÁNGELES 2027 (MUJER) — event.css
   Loaded after /assets/css/base.css
═══════════════════════════════════════════ */

:root {
    --magenta:      #9c0b4e;   /* header + speakers      */
    --magenta-deep: #811547;   /* gallery / video / foot */
    --gold:        #fccc84;    /* section title          */
    --gold-date:   #fcb46c;    /* hero date              */
    --cream:       #fcf0c0;    /* venue name             */
    --apricot:     #fcae60;    /* address                */
    --role:        #e8a07a;    /* speaker role           */
    --ring:        #9a8a30;    /* photo border           */
    --mint:        #8fe2c2;    /* speaker name / place   */
    --mint-dark:   #f99fcc;    /* "próximamente"         */
    --photo-bg:    #97c7b1;
    --red:         #fe0000;
    --zoom-blue:   #2d8cff;

    /* base.css theme hooks */
    --teal:                 var(--mint);
    --header-bg:            var(--magenta);
    --header-bg-scrolled:   var(--magenta);
    --tab-bg:               var(--red);
    --tickets-bg:           var(--red);
    --tickets-bg-hover:     #d00000;

    --header-h: 74px;
    --serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
}

body { background: var(--magenta-deep); }

/* ═══════════ HEADER ═══════════ */

#site-header {
    height: var(--header-h);
    padding: 0 2rem;
    justify-content: flex-end;
}
#site-header.scrolled { border-bottom: none; box-shadow: 0 4px 18px rgba(0,0,0,.3); }

#main-nav { gap: 1.6rem; margin-right: max(0px, calc((100vw - 1280px) / 2 + 12vw)); }

.nav-links { gap: 2.6rem; }
.nav-links a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--gold); }

.nav-links .nav-btn-boletos {
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
}

.social-icons { gap: 0.55rem; }
.social-icons a { font-size: 0.85rem; }
.social-icons a:hover { color: var(--gold); }

#boletos-trigger {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1.1rem 0.6rem;
    border-radius: 12px 0 0 12px;
}
#boletos-panel { border-right-color: var(--red); }
#boletos-panel .panel-title { color: var(--gold); }
#boletos-panel a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ═══════════ HERO ═══════════ */

#hero {
    position: relative;
    margin-top: var(--header-h);               /* image starts below the fixed bar */
    min-height: calc(100vh - var(--header-h));
    padding: 1.5vw 1.5rem 10vw;                /* bottom room for the wave */
    background: #6e1040 url('../../assets/media/mdm2027-top-bg.webp') center top / cover no-repeat;
    display: flex;
    align-items: flex-start;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Lema left-aligned; Mary in the bg owns the top right */
.lema-graphic {
    width: 100%;
    max-width: 712px;
    margin: 30px 0px 0px 0px;
}

.event-info {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    text-shadow: 0 2px 14px rgba(70, 0, 30, .55);
}

.event-date {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 6.2vw, 4.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--gold-date);
    word-spacing: 0.1em;
}

.venue-name {
    margin-top: clamp(0.75rem, 2vw, 1.5rem);
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4.8vw, 3.4rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--cream);
}

.venue-address {
    margin-top: 0.6rem;
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    color: var(--apricot);
}

.venue-hall {
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    color: #fff;
}

.event-time {
    margin-top: 0.15rem;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #fff;
}

/* ═══════════ SEPARATOR (wave) ═══════════ */

.separator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;          /* avoids a hairline gap */
    z-index: 2;
    line-height: 0;
    pointer-events: none;
}
.separator img { width: 100%; height: auto; display: block; }

/* ═══════════ SPEAKERS ═══════════ */

#speakers {
    background: var(--magenta);
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
}

#speakers .section-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 3rem;
    max-width: 820px;
    margin: 0 auto;
}

.speaker-card {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    line-height: 1.12;
    font-family: 'Open Sans', sans-serif;
}

.speaker-photo-wrap {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--ring);
    background: var(--photo-bg);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.speaker-photo { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder silhouette until real photos arrive */
.speaker-silhouette {
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, .55);
    transform: translateY(14%);
}

.speaker-name {
    max-width: 200px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--mint);
}

.speaker-live {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--mint);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.zoom-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background: var(--zoom-blue);
    color: #fff;
}
.zoom-badge i { font-size: 0.55em; }
.zoom-word { color: var(--zoom-blue); font-weight: 700; text-transform: lowercase; }

.speaker-title {
    max-width: 200px;
    margin-top: 0.1rem;
    font-size: 0.88rem;
    color: var(--role);
}

.speaker-place {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--mint);
}

.speakers-more {
    margin-top: 1.5rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    text-transform: uppercase;
    color: var(--mint-dark);
}

/* ═══════════ GALLERY ═══════════ */

#gallery {
    background: var(--magenta-deep);
    padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ═══════════ VIDEO ═══════════ */

#video-section {
    background: var(--magenta-deep);
    padding: 2rem 1.5rem clamp(4rem, 8vw, 7rem);
}

.video-wrap {
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 7.2;
    background: #575757;
    border-radius: clamp(20px, 4vw, 48px);
    overflow: hidden;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-ring {
    width: clamp(80px, 14vw, 140px);
    fill: none;
    stroke: #e43635;
    stroke-width: 5;
}

/* ═══════════ FOOTER ═══════════ */

#site-footer {
    background: var(--magenta-deep);
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.45);
}

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 1024px) {
    .lema-graphic { display: block; max-width: 600px; margin: 10px 0px 0px 0px;}
    #hero { min-height: 0; padding-top: 2rem; padding-bottom: 14vw; }
    .event-info {
    margin-top: clamp(4rem, 10vw, 8.5rem); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    #site-header { padding: 0 1rem; }
    #main-nav.open { background: var(--magenta); }
    #main-nav.open .nav-links a { font-size: 1rem; }

    #hero { background-position: 75% top; padding-inline: 2.75rem 1.5rem; } /* clear the side tab */
    .lema-graphic { width: 80%; margin: 10px 0px 0px -40px;}

    .speakers-grid { gap: 1.5rem 0.75rem; }
    .speaker-card  { flex: 0 0 calc(50% - 0.5rem); max-width: 210px; }
    .speaker-photo-wrap { width: 140px; height: 140px; }
    .speaker-silhouette { font-size: 110px; }
    .speaker-name, .speaker-title, .speaker-place { font-size: 0.8rem; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .video-wrap   { aspect-ratio: 16 / 9; }
}
