/* =========================
   EVENT GALLERY PAGE
========================= */

.event-page{
    background:#f4f1eb;
}

/* Force header always navy on this page */
.event-page .header-card{
    background:#0b1d51;
    border-color:transparent;
}
.event-page .nav-menu a{
    color:rgba(255,255,255,0.85);
}
.event-page .nav-menu a:hover,
.event-page .nav-menu a.active-link{
    color:#d4af37;
}
.event-page .mobile-btn{
    color:#fff;
}

/* =========================
   EVENT HERO
========================= */

.ev-hero{
    position:relative;
    min-height:520px;
    display:flex;
    align-items:flex-end;
    padding:0;
    overflow:hidden;
    margin-top:100px;
}

.ev-hero-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    z-index:0;
}

.ev-hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        0deg,
        rgba(11,29,81,0.95) 0%,
        rgba(11,29,81,0.7) 50%,
        rgba(0,0,0,0.35) 100%
    );
    z-index:1;
}

.ev-hero .container{
    position:relative;
    z-index:2;
    padding-bottom:60px;
    padding-top:60px;
}

.ev-back-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,0.7);
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    margin-bottom:28px;
    transition:0.3s;
}

.ev-back-link:hover{
    color:#d4af37;
    gap:12px;
}

.ev-hero-meta{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:16px;
    flex-wrap:wrap;
}

.ev-hero-num{
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    color:#d4af37;
    text-transform:uppercase;
}

.ev-hero-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(16,185,129,0.2);
    color:#34d399;
    border:1px solid rgba(16,185,129,0.3);
    padding:5px 14px;
    border-radius:50px;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

.ev-hero-content h1{
    font-size:54px;
    font-weight:800;
    color:#fff;
    line-height:1.1;
    margin-bottom:28px;
}

.ev-hero-details{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
}

.ev-hero-detail{
    display:flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,0.8);
    font-size:15px;
}

.ev-hero-detail i{
    color:#d4af37;
    font-size:16px;
}

@media(max-width:768px){
    .ev-hero{
        min-height:400px;
    }
    .ev-hero-content h1{
        font-size:32px;
    }
    .ev-hero-details{
        flex-direction:column;
        gap:12px;
    }
}

/* =========================
   EVENT SUMMARY
========================= */

.ev-summary{
    padding:70px 0;
    background:#fff;
}

.ev-summary-card{
    display:grid;
    grid-template-columns:1fr 300px;
    gap:60px;
    align-items:center;
}

.ev-summary-text h2{
    font-size:38px;
    color:#0b1d51;
    line-height:1.2;
    margin:15px 0 20px;
}

.ev-summary-text p{
    font-size:16px;
    color:#555;
    line-height:1.9;
    margin-bottom:16px;
}

.ev-summary-stats{
    background:#0b1d51;
    border-radius:24px;
    padding:40px 30px;
    display:flex;
    flex-direction:column;
    gap:30px;
    border-top:4px solid #d4af37;
}

.ev-sum-stat{
    text-align:center;
    padding-bottom:28px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.ev-sum-stat:last-child{
    padding-bottom:0;
    border-bottom:none;
}

.ev-sum-num{
    font-size:42px;
    font-weight:800;
    color:#d4af37;
    line-height:1;
    margin-bottom:8px;
    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:4px;
}

.ev-sum-num span{
    font-size:18px;
    color:rgba(255,255,255,0.6);
    font-weight:500;
}

.ev-sum-label{
    font-size:12px;
    color:rgba(255,255,255,0.6);
    text-transform:uppercase;
    letter-spacing:1.5px;
    font-weight:600;
}

@media(max-width:900px){
    .ev-summary-card{
        grid-template-columns:1fr;
    }
    .ev-summary-stats{
        flex-direction:row;
        flex-wrap:wrap;
        justify-content:center;
        padding:30px;
    }
    .ev-sum-stat{
        flex:1 1 120px;
        border-bottom:none;
        border-right:1px solid rgba(255,255,255,0.1);
        padding-bottom:0;
        padding-right:20px;
    }
    .ev-sum-stat:last-child{
        border-right:none;
    }
}

/* =========================
   PHOTO GALLERY
========================= */

.ev-gallery-section{
    padding:70px 0;
    background:#f4f1eb;
}

.ev-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    grid-template-rows:auto;
    gap:16px;
    margin-top:50px;
}

.ev-gallery-item{
    position:relative;
    border-radius:18px;
    overflow:hidden;
    aspect-ratio:4/3;
    background:#e0d8cc;
}

.ev-gallery-item.ev-gallery-large{
    grid-column:span 2;
    grid-row:span 2;
    aspect-ratio:unset;
}

.ev-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform 0.5s;
}

.ev-gallery-item:hover img{
    transform:scale(1.06);
}

.ev-gallery-caption{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:linear-gradient(transparent, rgba(11,29,81,0.85));
    color:#fff;
    font-size:13px;
    font-weight:500;
    padding:30px 16px 14px;
    transform:translateY(100%);
    transition:transform 0.35s;
}

.ev-gallery-item:hover .ev-gallery-caption{
    transform:translateY(0);
}

.ev-gallery-note{
    text-align:center;
    margin-top:30px;
    font-size:15px;
    color:#666;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.ev-gallery-note i{
    color:#1877f2;
    font-size:18px;
}

.ev-gallery-note a{
    color:#0b1d51;
    font-weight:600;
    text-decoration:none;
    border-bottom:2px solid #d4af37;
    padding-bottom:1px;
    transition:0.3s;
}

.ev-gallery-note a:hover{
    color:#d4af37;
}

@media(max-width:768px){
    .ev-gallery-grid{
        grid-template-columns:1fr 1fr;
    }
    .ev-gallery-item.ev-gallery-large{
        grid-column:span 2;
        grid-row:span 1;
    }
}

@media(max-width:480px){
    .ev-gallery-grid{
        grid-template-columns:1fr;
    }
    .ev-gallery-item.ev-gallery-large{
        grid-column:span 1;
    }
}

/* =========================
   LIGHTBOX
========================= */

.ev-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
}

.ev-lightbox-inner{
    position:relative;
    max-width:900px;
    width:100%;
}

.ev-lightbox-inner img{
    width:100%;
    border-radius:16px;
    display:block;
}

.ev-lightbox-inner p{
    color:rgba(255,255,255,0.8);
    text-align:center;
    margin-top:14px;
    font-size:14px;
}

.ev-lightbox-close{
    position:absolute;
    top:-20px;
    right:-20px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:#d4af37;
    border:none;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1;
}

/* =========================
   SPEAKERS
========================= */

.ev-speakers-section{
    padding:70px 0;
    background:#fff;
}

.ev-speakers-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    margin-top:50px;
}

.ev-speaker-card{
    background:#faf8f4;
    border:1px solid #ece7dc;
    border-radius:24px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:0.3s;
}

.ev-speaker-card:hover{
    box-shadow:0 16px 40px rgba(0,0,0,0.08);
    transform:translateY(-4px);
}

.ev-speaker-card.ev-speaker-featured{
    border:2px solid #d4af37;
    grid-column:span 2;
    flex-direction:row;
    align-items:stretch;
}

.ev-speaker-photo{
    flex-shrink:0;
}

.ev-speaker-card.ev-speaker-featured .ev-speaker-photo{
    width:220px;
}

.ev-speaker-photo img{
    width:100%;
    height:200px;
    object-fit:cover;
    object-position:top;
    display:block;
}

.ev-speaker-placeholder{
    width:100%;
    height:200px;
    background:#e8e0d4;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ev-speaker-card.ev-speaker-featured .ev-speaker-photo img{
    height:100%;
    min-height:220px;
}

.ev-speaker-card.ev-speaker-featured .ev-speaker-placeholder{
    height:100%;
    min-height:220px;
}

.ev-speaker-placeholder i{
    font-size:48px;
    color:#c5b89a;
}

.ev-speaker-body{
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    flex:1;
}

.ev-quote-icon{
    font-size:28px;
    color:#d4af37;
    margin-bottom:14px;
    opacity:0.6;
}

.ev-speaker-body blockquote{
    font-size:16px;
    line-height:1.85;
    color:#333;
    font-style:italic;
    margin:0 0 20px;
    border:none;
    padding:0;
}

.ev-speaker-card.ev-speaker-featured .ev-speaker-body blockquote{
    font-size:18px;
}

.ev-speaker-info h4{
    font-size:16px;
    color:#0b1d51;
    font-weight:700;
    margin-bottom:4px;
}

.ev-speaker-info span{
    font-size:13px;
    color:#d4af37;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

@media(max-width:768px){
    .ev-speakers-grid{
        grid-template-columns:1fr;
    }
    .ev-speaker-card.ev-speaker-featured{
        grid-column:span 1;
        flex-direction:column;
    }
    .ev-speaker-card.ev-speaker-featured .ev-speaker-photo{
        width:100%;
        height:220px;
    }
}

/* =========================
   VIDEO SECTION
========================= */

.ev-video-section{
    padding:70px 0;
    background:#f4f1eb;
}

.ev-video-wrapper{
    margin-top:50px;
    border-radius:24px;
    overflow:hidden;
}

.ev-video-placeholder{
    background:#0b1d51;
    border-radius:24px;
    padding:80px 40px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    border:2px dashed rgba(212,175,55,0.3);
}

.ev-video-icon i{
    font-size:64px;
    color:#d4af37;
}

.ev-video-placeholder p{
    color:rgba(255,255,255,0.75);
    font-size:16px;
}

/* =========================
   NEXT EVENT CTA
========================= */

.ev-next-section{
    padding:70px 0;
    background:#0b1d51;
}

.ev-next-card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:28px;
    padding:50px 60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
    border-left:4px solid #d4af37;
}

.ev-next-content h2{
    font-size:32px;
    color:#fff;
    line-height:1.25;
    margin:10px 0 12px;
}

.ev-next-content .ev-theme{
    color:rgba(255,255,255,0.65);
    margin-bottom:14px;
}

.ev-next-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    flex-shrink:0;
}

@media(max-width:768px){
    .ev-next-card{
        padding:35px 28px;
        flex-direction:column;
    }
    .ev-next-content h2{
        font-size:24px;
    }
    .ev-next-actions{
        width:100%;
    }
    .ev-next-actions a{
        flex:1;
        text-align:center;
    }
}
