/* ==========================================
   MDBN EVENTS PORTAL
   Theme: #002f2f + Gold
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f9fa;
    color:#333;
    line-height:1.6;
}

/* ==========================================
   CONTAINER
========================================== */

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ==========================================
   HERO
========================================== */

.hero{
    position:relative;
    height:450px;
    background:
    linear-gradient(rgba(0,47,47,.75),
    rgba(0,47,47,.75)),
    url('../images/hero-events.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-content{
    color:#fff;
    z-index:2;
}

.hero h1{
    font-size:52px;
    margin-bottom:15px;
    font-weight:700;
}

.hero p{
    font-size:20px;
    color:#d4af37;
}

/* ==========================================
   SECTION TITLES
========================================== */

.section-title{
    font-size:34px;
    color:#002f2f;
    margin-bottom:30px;
    position:relative;
}

.section-title:after{
    content:'';
    display:block;
    width:80px;
    height:4px;
    background:#d4af37;
    margin-top:10px;
}

/* ==========================================
   EVENTS SECTION
========================================== */

.events-section{
    padding:70px 0;
}

.events-layout{
    display:flex;
    gap:30px;
}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar{
    width:280px;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    height:fit-content;
}

.sidebar h3{
    color:#002f2f;
    margin-bottom:20px;
}

.filter-box{
    margin-bottom:20px;
}

.filter-box label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.filter-box select{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
}

.filter-btn{
    width:100%;
    padding:12px;
    background:#d4af37;
    color:#000;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
    margin-bottom:10px;
}

.reset-btn{
    display:block;
    text-align:center;
    text-decoration:none;
    background:#002f2f;
    color:#fff;
    padding:12px;
    border-radius:6px;
}

/* ==========================================
   EVENTS CONTENT
========================================== */

.events-content{
    flex:1;
}

.event-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
align-items:start;
}
@media(max-width:991px){
.event-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:768px){
.event-grid{
grid-template-columns:1fr;
}
}
.event-card{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,.08);
transition:.3s;
display:flex;
flex-direction:column;
height:100%;
}

.event-card:hover{
    transform:translateY(-5px);
}

.event-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.event-body{
padding:20px;
display:flex;
flex-direction:column;
flex:1;
}

.register-btn{
margin-top:auto;
}
.event-category{
    display:inline-block;
    background:#d4af37;
    color:#000;
    padding:5px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:bold;
    margin-bottom:10px;
}

.event-body h3{
    color:#002f2f;
    margin-bottom:15px;
    min-height:60px;
}

.event-meta{
    margin-bottom:10px;
    color:#666;
    font-size:14px;
}

.event-meta i{
    color:#d4af37;
    margin-right:8px;
}

.event-body p{
    margin:15px 0;
    color:#555;
}

/* ==========================================
   REGISTER BUTTON
========================================== */

.register-btn{
    display:inline-block;
    background:#002f2f;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:8px;
    transition:.3s;
}

.register-btn:hover{
    background:#d4af37;
    color:#000;
}

/* ==========================================
   PAGINATION
========================================== */

.pagination{
    margin-top:40px;
    text-align:center;
}

.pagination a{
    display:inline-block;
    width:45px;
    height:45px;
    line-height:45px;
    margin:0 5px;
    text-decoration:none;
    background:#fff;
    color:#002f2f;
    border-radius:50%;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.pagination a.active{
    background:#d4af37;
    color:#000;
    font-weight:bold;
}

/* ==========================================
   EMPTY
========================================== */

.empty-box{
    background:#fff;
    padding:25px;
    border-radius:10px;
    text-align:center;
}

/* ==========================================
   PAST EVENTS
========================================== */

.past-events{
    padding:70px 0;
    background:#eef3f3;
}

/* ==========================================
   MOMENTS SECTION
========================================== */

.moments-section{
    padding:80px 0;
}

.slider-wrapper{
    position:relative;
}

.moments-slider{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.moments-slider::-webkit-scrollbar{
    display:none;
}

.slide{
    min-width:350px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.slide img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.caption{
    padding:15px;
    text-align:center;
    font-weight:bold;
    color:#002f2f;
}

/* ==========================================
   ARROWS
========================================== */

.slider-arrow{
    position:absolute;
    top:45%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#002f2f;
    color:#fff;
    cursor:pointer;
    font-size:20px;
    z-index:10;
}

.prev{
    left:-20px;
}

.next{
    right:-20px;
}

.slider-arrow:hover{
    background:#d4af37;
    color:#000;
}

/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#002f2f;
    color:#fff;
    text-align:center;
    padding:25px;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px){

    .events-layout{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

    .hero h1{
        font-size:38px;
    }

    .section-title{
        font-size:28px;
    }
}

@media(max-width:768px){

    .hero{
        height:300px;
    }

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:16px;
    }

    .event-grid{
        grid-template-columns:1fr;
    }

    .slide{
        min-width:280px;
    }

    .slider-arrow{
        display:none;
    }

    .container{
        width:95%;
    }
}
/* =========================
   FEATURED EVENT
========================= */
.featured-strip{
display:flex;
justify-content:space-between;
align-items:center;
background:linear-gradient(135deg,#003d3d,#005f5f);
padding:20px 25px;
border-radius:12px;
margin:25px 0;
color:#fff;
}

.featured-star{
display:inline-block;
background:#d4af37;
color:#000;
padding:5px 10px;
border-radius:20px;
font-size:11px;
font-weight:700;
margin-bottom:8px;
}

.featured-left h3{
margin:0 0 10px;
font-size:22px;
color:#fff;
}

.featured-info{
display:flex;
gap:15px;
flex-wrap:wrap;
font-size:14px;
}

.featured-view-btn{
background:#d4af37;
color:#000;
padding:12px 22px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
}

.featured-view-btn:hover{
background:#fff;
color:#003d3d;
}

@media(max-width:768px){

.featured-strip{
flex-direction:column;
text-align:center;
gap:15px;
}

.featured-info{
justify-content:center;
}

}