/*=========================================================
                UPCOMING EVENTS
=========================================================*/

:root{

    --primary:#7B1E1E;
    --secondary:#D6A443;
    --light:#faf8f4;
    --dark:#222;
    --text:#666;
    --border:#ececec;

}

.eventsHero{

    position:relative;

    padding:140px 0 110px;

    overflow:hidden;

    background:

    linear-gradient(rgba(255,255,255,.92),
    rgba(255,255,255,.92)),

    url("../images/event-banner.jpg") center/cover;

}

.eventsHero::before{

    content:"";

    position:absolute;

    right:60px;

    top:40px;

    width:320px;

    height:320px;

    background:url("../images/logo-watermark.png");

    background-size:contain;

    background-repeat:no-repeat;

    opacity:.05;

}

.heroContent{

    position:relative;

    z-index:5;

    text-align:center;

    max-width:850px;

    margin:auto;

}

.heroTag{

    display:inline-block;

    color:var(--secondary);

    letter-spacing:4px;

    font-weight:700;

    margin-bottom:15px;

}

.heroContent h1{

    font-size:68px;

    font-weight:800;

    color:#222;

    margin-bottom:20px;

}

.heroContent h1 span{

    color:var(--primary);

}

.heroContent p{

    max-width:700px;

    margin:auto;

    color:#666;

    line-height:34px;

    font-size:20px;

}

.breadcrumb{

    margin-bottom:25px;

}

.breadcrumb a{

    color:#444;

    text-decoration:none;

}

.breadcrumb span{

    margin:0 6px;

}



/*==========================================
FILTER
==========================================*/

.filterSection{

    margin-top:-45px;

    position:relative;

    z-index:10;

}

.filterWrapper{

    background:#fff;

    border-radius:18px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    padding:25px;

    display:grid;

    grid-template-columns:2fr 1fr auto;

    gap:20px;

}

.searchBox{

    position:relative;

}

.searchBox i{

    position:absolute;

    left:20px;

    top:50%;

    transform:translateY(-50%);

    color:#999;

    font-size:18px;

}

.searchBox input{

    width:100%;

    height:58px;

    border:1px solid var(--border);

    border-radius:12px;

    padding-left:55px;

    outline:none;

    transition:.3s;

}

.searchBox input:focus{

    border-color:var(--secondary);

}

.locationBox select{

    width:100%;

    height:58px;

    border-radius:12px;

    border:1px solid var(--border);

    padding:0 18px;

    outline:none;

}

.viewAllBtn{

    border:none;

    background:var(--secondary);

    color:#fff;

    height:58px;

    border-radius:12px;

    padding:0 30px;

    font-weight:600;

    transition:.3s;

}

.viewAllBtn:hover{

    background:var(--primary);

}
/*=========================================================
                EVENTS SECTION
=========================================================*/

.eventsSection{

    padding:80px 0 100px;

    background:#faf8f4;

}

.eventCard{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

    display:flex;

    flex-direction:column;

    position:relative;

}

.eventCard:hover{

    transform:translateY(-10px);

    box-shadow:0 28px 60px rgba(0,0,0,.15);

}

.eventImage{

    position:relative;

    height:240px;

    overflow:hidden;

}

.eventImage img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.eventCard:hover .eventImage img{

    transform:scale(1.08);

}



/*==========================================
DATE BADGE
==========================================*/

.dateBadge{

    position:absolute;

    top:18px;

    left:18px;

    width:82px;

    background:#fff;

    border-radius:14px;

    text-align:center;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

}

.dateBadge .day{

    font-size:34px;

    font-weight:800;

    color:var(--primary);

    line-height:1;

    padding-top:15px;

}

.dateBadge .month{

    color:var(--secondary);

    font-weight:700;

    letter-spacing:1px;

    margin-top:8px;

    font-size:15px;

}

.dateBadge .year{

    background:#faf5ed;

    margin-top:10px;

    padding:8px;

    font-size:13px;

    font-weight:700;

}



/*==========================================
FEATURED
==========================================*/

.featuredBadge{

    position:absolute;

    right:18px;

    top:18px;

    background:linear-gradient(
        135deg,
        #D6A443,
        #b78626
    );

    color:#fff;

    border-radius:50px;

    padding:8px 16px;

    font-size:13px;

    font-weight:600;

}

.featuredBadge i{

    margin-right:6px;

}



/*==========================================
CONTENT
==========================================*/

.eventContent{

    padding:28px;

    flex:1;

    display:flex;

    flex-direction:column;

}

.eventContent h3{

    font-size:28px;

    font-weight:700;

    color:#222;

    margin-bottom:18px;

    line-height:1.3;

}

.eventMeta{

    margin-bottom:20px;

}

.eventMeta div{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:10px;

    color:#666;

    font-size:15px;

}

.eventMeta i{

    color:var(--secondary);

    width:18px;

}

.eventContent p{

    color:#666;

    line-height:31px;

    margin-bottom:25px;

    flex:1;

}



/*==========================================
BUTTONS
==========================================*/

.eventButtons{

    display:flex;

    gap:12px;

    margin-top:auto;

}

.detailsBtn{

    flex:1;

    height:48px;

    border-radius:12px;

    border:2px solid var(--secondary);

    color:var(--secondary);

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.detailsBtn:hover{

    background:var(--secondary);

    color:#fff;

}

.registerBtn{

    flex:1;

    height:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:12px;

    background:var(--primary);

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.registerBtn:hover{

    background:#4b1010;

}



/*==========================================
LOAD MORE
==========================================*/

.loadMoreBtn{

    background:transparent;

    border:2px solid var(--secondary);

    color:var(--secondary);

    padding:16px 40px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.loadMoreBtn i{

    margin-left:10px;

}

.loadMoreBtn:hover{

    background:var(--secondary);

    color:#fff;

}
/*=========================================================
                RESPONSIVE
=========================================================*/

@media(max-width:1400px){

.heroContent h1{

font-size:58px;

}

.eventContent h3{

font-size:25px;

}

}



@media(max-width:1200px){

.filterWrapper{

grid-template-columns:1.5fr 1fr auto;

}

.heroContent h1{

font-size:52px;

}

.eventImage{

height:220px;

}

}



@media(max-width:992px){

.eventsHero{

padding:100px 0 80px;

}

.heroContent h1{

font-size:46px;

}

.heroContent p{

font-size:18px;

line-height:30px;

}

.filterWrapper{

grid-template-columns:1fr;

}

.viewAllBtn{

width:100%;

}

.locationBox select{

width:100%;

}

.eventImage{

height:240px;

}

.eventContent{

padding:24px;

}

.eventContent h3{

font-size:24px;

}

}



@media(max-width:768px){

.eventsHero{

padding:80px 0 70px;

}

.eventsHero::before{

display:none;

}

.heroTag{

font-size:13px;

letter-spacing:3px;

}

.heroContent h1{

font-size:38px;

line-height:1.2;

}

.heroContent p{

font-size:17px;

line-height:28px;

}

.filterSection{

margin-top:-25px;

}

.filterWrapper{

padding:18px;

gap:15px;

}

.searchBox input,

.locationBox select,

.viewAllBtn{

height:54px;

}

.eventImage{

height:220px;

}

.eventContent h3{

font-size:22px;

}

.eventButtons{

flex-direction:column;

}

.detailsBtn,

.registerBtn{

width:100%;

}

.loadMoreBtn{

width:100%;

}

}



@media(max-width:576px){

.eventsSection{

padding:60px 0;

}

.heroContent h1{

font-size:32px;

}

.heroContent p{

font-size:16px;

}

.heroTag{

font-size:12px;

}

.dateBadge{

width:72px;

left:12px;

top:12px;

}

.dateBadge .day{

font-size:28px;

}

.dateBadge .month{

font-size:13px;

}

.dateBadge .year{

font-size:11px;

}

.featuredBadge{

top:12px;

right:12px;

padding:7px 12px;

font-size:12px;

}

.eventContent{

padding:20px;

}

.eventContent h3{

font-size:21px;

}

.eventContent p{

font-size:15px;

line-height:28px;

}

.eventMeta div{

font-size:14px;

}

.loadMoreBtn{

padding:15px 25px;

font-size:15px;

}

}



/*=========================================================
                SCROLL ANIMATION
=========================================================*/

.eventCard{

animation:fadeUp .7s ease both;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(35px);

}

to{

opacity:1;

transform:translateY(0);

}

}



/*=========================================================
                CUSTOM SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

width:8px;

}

::-webkit-scrollbar-track{

background:#f5f5f5;

}

::-webkit-scrollbar-thumb{

background:var(--secondary);

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--primary);

}



/*=========================================================
                SELECTION
=========================================================*/

::selection{

background:var(--primary);

color:#fff;

}
/*==========================================
EVENT MODAL
==========================================*/

.eventModal{

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.65);

backdrop-filter:blur(8px);

display:none;

justify-content:center;

align-items:center;

padding:30px;

z-index:99999;

}

.eventModal.active{

display:flex;

animation:fadeIn .25s;

}

.eventModalContent{

background:#fff;

width:100%;

max-width:950px;

border-radius:22px;

overflow:hidden;

position:relative;

max-height:90vh;

overflow-y:auto;

box-shadow:0 30px 80px rgba(0,0,0,.25);

}

.closeEvent{

position:absolute;

right:20px;

top:20px;

width:46px;

height:46px;

border:none;

border-radius:50%;

background:#7B1E1E;

color:#fff;

font-size:18px;

cursor:pointer;

z-index:100;

}

.modalImage img{

width:100%;

height:360px;

object-fit:cover;

}

.modalContent{

padding:40px;

}

.modalContent h2{

font-size:38px;

margin-bottom:20px;

font-weight:700;

color:#222;

}

.modalMeta{

display:flex;

flex-wrap:wrap;

gap:25px;

margin-bottom:25px;

}

.modalMeta div{

display:flex;

align-items:center;

gap:10px;

color:#666;

}

.modalMeta i{

color:#D6A443;

}

.modalDescription{

line-height:32px;

color:#555;

}

.loadingArea{

padding:120px;

text-align:center;

font-size:22px;

}

@keyframes fadeIn{

from{

opacity:0;

}

to{

opacity:1;

}

}

@media(max-width:768px){

.modalContent{

padding:25px;

}

.modalImage img{

height:240px;

}

.modalContent h2{

font-size:28px;

}

.modalMeta{

flex-direction:column;

gap:12px;

}

}