/* ===================================
   PARKWAY PONNONAM
=================================== */

:root{

    --primary:#ff8c00;
    --secondary:#8b1e3f;
    --gold:#f7b733;
    --cream:#fff9ec;
    --dark:#121212;
    --white:#ffffff;
    --light:#f8f9fa;

}

/* ===================================
   RESET
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--cream);

    color:#333;

    overflow-x:hidden;
}

/* ===================================
   NAVBAR
=================================== */

.custom-nav{

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(12px);

    transition:.4s;

    padding:12px 0;
}

.navbar-brand img{

    transition:.3s;
}

.navbar-brand img:hover{

    transform:scale(1.05);
}

.nav-link{

    color:white !important;

    font-weight:500;

    margin-left:15px;

    position:relative;
}

.nav-link::after{

    content:"";

    position:absolute;

    bottom:-4px;
    left:0;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.3s;
}

.nav-link:hover::after{

    width:100%;
}

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

.hero-section{

    position:relative;

    height:100vh;

    overflow:hidden;
}

.heroSwiper,
.heroSwiper .swiper-slide{

    height:100vh;
}

.heroSwiper img{

    width:100%;

    height:100%;

    object-fit:cover;
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.60),
        rgba(0,0,0,.60)
    );

    z-index:10;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    padding:20px;
}

.hero-logo{

    max-width:240px;

    margin-bottom:25px;
}

.hero-overlay h1{

    font-size:5rem;

    font-weight:800;

    text-shadow:0 5px 20px rgba(0,0,0,.4);
}

.hero-overlay h3{

    color:var(--gold);

    margin-bottom:20px;
}

.hero-overlay p{

    max-width:850px;

    line-height:1.9;

    font-size:1.15rem;

    margin-bottom:25px;
}

.hero-social{

    margin-top:25px;
}

.hero-social a{

    display:inline-block;

    margin:8px;

    padding:12px 25px;

    border-radius:50px;

    background:
    rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    color:white;

    text-decoration:none;

    transition:.3s;
}

.hero-social a:hover{

    background:var(--primary);

    transform:translateY(-4px);
}

/* ===================================
   COMMON SECTION
=================================== */

.section-padding{

    padding:120px 0;
}

.section-title{

    font-size:42px;

    font-weight:800;

    margin-bottom:60px !important;

    color:var(--secondary);

    text-align:center;

    position:relative;
}

.section-title::after{

    content:"";

    display:block;

    width:180px;

    height:4px;

    background:linear-gradient(
        90deg,
        #f7b733,
        #ff8c00
    );

    margin:15px auto 0;

    border-radius:10px;
}

/* ===================================
   ABOUT
=================================== */

#about img{

    border-radius:20px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.12);
}

#about p{

    line-height:2;

    font-size:1.05rem;
}

/* ===================================
   STATS
=================================== */

.stats-section{

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    padding:90px 0;
}

.stats-section h2{

    font-size:3rem;

    font-weight:800;
}

.stats-section p{

    font-size:1.1rem;
}

/* ===================================
   EVENTS
=================================== */

.event-card{

    background:white;

    border-radius:20px;

    padding:35px;

    min-height:260px;

    text-align:center;

    box-shadow:
    0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

    background-size:cover;

    background-position:center;
}

.event-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 15px 35px rgba(0,0,0,.15);
}

.event-card i{

    font-size:3rem;

    color:var(--primary);

    margin-bottom:20px;
}

.event-card h4{

    color:var(--secondary);

    margin-bottom:15px;
}

/* Event Backgrounds */

.cricket-bg{
    background:
    linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),
    url('../images/events/cricket.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.cultural-bg{
    background:
    linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),
    url('../images/events/cultural.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.games-bg{
    background:
    linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),
    url('../images/events/games.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sadya-bg{
    background:
    linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),
    url('../images/events/sadya.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.flea-bg{
    background:
    linear-gradient(rgba(255,255,255,.80),rgba(255,255,255,.80)),
    url('../images/events/flea-market.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.community-bg{
    background:
    linear-gradient(rgba(255,255,255,.80),rgba(255,255,255,.80)),
    url('../images/events/community.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* ===================================
   FLEA MARKET
=================================== */

.flea-highlight{

    background:white;
}

.flea-highlight img{

    border-radius:20px;

    box-shadow:
    0 15px 35px rgba(0,0,0,.15);
}

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

.gallery-img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;
}

.gallery-img:hover{

    transform:scale(1.05);
}

/* ===================================
   TITLE SPONSORS
=================================== */

.title-sponsor{

    position:relative;

    background:white;

    border-radius:25px;

    padding:40px;

    text-align:center;

    box-shadow:
    0 10px 35px rgba(0,0,0,.10);

    transition:.3s;
}

.title-sponsor:hover{

    transform:translateY(-8px);
}

.sponsor-year{

    position:absolute;

    top:15px;
    right:15px;

    background:
    linear-gradient(
        135deg,
        #f7b733,
        #ff8c00
    );

    color:white;

    padding:8px 15px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;
}

.title-sponsor img{

    max-width:85%;

    max-height:130px;

    object-fit:contain;

    margin-bottom:20px;
}

.sponsor-badge{

    background:var(--secondary);

    color:white;

    padding:10px 18px;

    border-radius:30px;

    font-size:13px;
}

/* ===================================
   CO SPONSORS
=================================== */

.co-sponsor{

    background:white;

    border-radius:15px;

    height:140px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:25px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.co-sponsor:hover{

    transform:translateY(-5px);
}

.co-sponsor img{

    max-width:90%;

    max-height:80px;

    object-fit:contain;
}
/* ===================================
   COMMITTEE
=================================== */

.committee-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.10);

    transition:.3s;
}

.committee-card:hover{

    transform:translateY(-8px);
}

.committee-card img{

    width:100%;

    height:320px;

    object-fit:cover;
}

.committee-card h5{

    text-align:center;

    padding:20px;

    color:var(--secondary);
}

/* ===================================
   SOCIAL
=================================== */

.social-connect{

    padding:80px 0;

    background:white;
}

.social-btn{

    display:inline-block;

    padding:14px 30px;

    border-radius:50px;

    margin:10px;

    color:white;

    text-decoration:none;

    font-weight:600;
}

.instagram-btn{
    background:#E1306C;
}

.youtube-btn{
    background:#FF0000;
}

/* ===================================
   FOOTER
=================================== */

.main-footer{

    background:#111;

    color:white;

    padding:60px 0;
}

.footer-logo{

    width:120px;

    margin-bottom:20px;
}

.footer-social{

    margin:20px 0;
}

.footer-social a{

    width:50px;
    height:50px;

    display:inline-flex;

    justify-content:center;
    align-items:center;

    margin:0 8px;

    border-radius:50%;

    background:#222;

    color:white;

    text-decoration:none;
}

.footer-social a:hover{

    background:var(--primary);
}

.footer-email{

    margin-top:15px;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .hero-overlay h1{
        font-size:2.8rem;
    }

    .hero-overlay h3{
        font-size:1.2rem;
    }

    .hero-logo{
        max-width:160px;
    }

    .section-title{
        font-size:32px;
    }

    .gallery-img{
        height:220px;
    }

    .committee-card img{
        height:250px;
    }

    .title-sponsor{
        padding:25px;
    }
}

.gallery-grid img{
    width:100%;
    height:180px;
    object-fit:cover;
    transition:.3s;
    border-radius:12px;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

.gallery-hidden{
    display:none;
}

.gallery-item{
    animation:fadeUp .5s ease;
}
.gallery-img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;

    box-shadow:
    0 8px 20px rgba(0,0,0,.10);
}

.gallery-img:hover{

    transform:scale(1.05);
}

.extra-gallery{

    display:none;
}

@media(max-width:768px){

    .gallery-img{

        height:180px;
    }

}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}



.gallery-grid{
    display:grid;
    grid-template-columns:
    repeat(4,1fr);
    gap:15px;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.4s;
}

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

.hidden-photo{
    display:none;
}

/* Modal */

.gallery-modal{
    display:none;
    position:fixed;
    z-index:9999;
    inset:0;
    background:
    rgba(0,0,0,.92);
    justify-content:center;
    align-items:center;
    padding:20px;
}

.gallery-modal-content{
    max-width:95vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:12px;
}

.gallery-close{
    position:absolute;
    top:20px;
    right:25px;
    color:#fff;
    font-size:40px;
    cursor:pointer;
}

/* Tablet */
@media(max-width:992px){
    .gallery-grid{
        grid-template-columns:
        repeat(3,1fr);
    }
}

/* Mobile */
@media(max-width:768px){
    .gallery-grid{
        grid-template-columns:
        repeat(2,1fr);
    }
    .gallery-item img{
        height:160px;
    }
}
.gallery-prev,
.gallery-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,.5);
    color:#fff;
    border:none;
    width:50px;
    height:50px;
    border-radius:50%;
    font-size:24px;
    cursor:pointer;
    z-index:10000;
}

.gallery-prev{
    left:20px;
}

.gallery-next{
    right:20px;
}

.gallery-prev:hover,
.gallery-next:hover{
    background:rgba(0,0,0,.8);
}

@media(max-width:768px){
    .gallery-prev,
    .gallery-next{
        width:40px;
        height:40px;
        font-size:18px;
    }

}
.hidden-photo{
    display:none;
}