/* ==========================================
   PPA GALLERY
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.ppa-gallery-page{
    background:#090909;
    color:#fff;
    min-height:100vh;
    overflow:hidden;
}

/* ==========================================
   HERO
========================================== */

.ppa-gallery-hero{

    position:relative;

    padding:140px 20px 100px;

    text-align:center;

    background:
    radial-gradient(circle at top,#2d2410 0%,#090909 70%);
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle,#FFD54F12 0%,transparent 70%);

    pointer-events:none;
}

.hero-content{

    position:relative;

    max-width:1200px;

    margin:auto;

    z-index:2;
}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:100px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    color:#FFD54F;

    font-weight:600;

    letter-spacing:2px;

    margin-bottom:25px;
}

.hero-content h1{

    font-size:68px;

    line-height:1.1;

    margin-bottom:25px;

    font-weight:800;
}

.hero-content p{

    max-width:760px;

    margin:auto;

    color:#cfcfcf;

    font-size:20px;

    line-height:1.8;
}

/* ==========================================
   STATS
========================================== */

.hero-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-top:70px;
}

.stat{

    padding:30px;

    border-radius:20px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;
}

.stat:hover{

    transform:translateY(-8px);

    border-color:#FFD54F;
}

.stat h2{

    font-size:34px;

    color:#FFD54F;

    margin-bottom:10px;
}

.stat span{

    color:#bfbfbf;
}

/* ==========================================
   FILTER
========================================== */

.gallery-filter{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    padding:50px 20px;
}

.gallery-filter button{

    border:none;

    outline:none;

    cursor:pointer;

    padding:13px 28px;

    border-radius:100px;

    background:#171717;

    color:white;

    transition:.3s;
}

.gallery-filter button:hover,
.gallery-filter button.active{

    background:#FFD54F;

    color:#111;
}

/* ==========================================
   GRID
========================================== */

.gallery-grid{

    column-count:4;

    column-gap:22px;

    padding:0 40px 80px;

    max-width:1600px;

    margin:auto;
}

.gallery-card{

    position:relative;

    break-inside:avoid;

    margin-bottom:22px;

    overflow:hidden;

    border-radius:22px;

    cursor:pointer;
     margin-bottom:28px;

    transition:transform .35s ease;

}

.gallery-card img{

    width:100%;

    display:block;

    transition:
        transform .6s ease,
        filter .6s ease;

}

.gallery-card:hover{

    transform:translateY(-8px);

}

.gallery-card:hover img{

    transform:scale(1.08);

    filter:brightness(.82);

}
.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:flex-end;

    flex-direction:column;

    padding:25px;

    background:linear-gradient(
    transparent,
    rgba(0,0,0,.85));

    opacity:0;

    transition:.35s;
}

.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:flex-end;

    flex-direction:column;

    padding:24px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.35),
        transparent);

    opacity:0;

    transition:.35s;

}

.gallery-card:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay h3{

    color:#fff;

    font-size:22px;

    margin-bottom:6px;

}

.gallery-overlay p{

    color:#d6d6d6;

    font-size:15px;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1200px){

.gallery-grid{
    column-gap:28px;

column-count:3;

padding:0 25px 70px;
}

.hero-stats{

grid-template-columns:repeat(2,1fr);
}

.hero-content h1{

font-size:54px;
}

}

@media(max-width:768px){

.hero-content h1{
    font-size:38px;
}

.hero-content p{
    font-size:17px;
}

.hero-stats{
    grid-template-columns:1fr;
    gap:15px;
}

.gallery-filter{

    justify-content:flex-start;

    flex-wrap:nowrap;

    overflow-x:auto;

    scrollbar-width:none;

    padding:20px 12px;

}

.gallery-filter::-webkit-scrollbar{
    display:none;
}

.gallery-filter button{

    flex:none;

    white-space:nowrap;

    padding:10px 18px;

    font-size:14px;

}

.gallery-grid{

    column-count:2;

    column-gap:10px;

    padding:0 10px 35px;

}

.gallery-card{

    margin-bottom:10px;

    border-radius:14px;

}

}


/* ==========================
   LIGHTBOX
========================== */

.ppa-lightbox{

position:fixed;

inset:0;

background:rgba(0,0,0,.95);

display:flex;

align-items:center;

justify-content:center;

opacity:0;

visibility:hidden;

transition:.35s;

z-index:99999;

}

.ppa-lightbox.show{

opacity:1;

visibility:visible;

}

.lightbox-bg{

position:absolute;

inset:0;

}

.lightbox-content{

position:relative;

max-width:90%;

max-height:90%;

z-index:5;

text-align:center;

}

.lightbox-content img{

max-width:100%;

max-height:80vh;

border-radius:18px;

box-shadow:0 20px 60px rgba(0,0,0,.5);

}

.lightbox-caption{

margin-top:20px;

font-size:18px;

color:white;

}

.close-lightbox{

position:absolute;

top:-60px;

right:0;

background:none;

border:none;

color:white;

font-size:50px;

cursor:pointer;

}

.prev-image,
.next-image{

position:absolute;

top:50%;

transform:translateY(-50%);

width:60px;

height:60px;

border-radius:50%;

border:none;

background:rgba(255,255,255,.1);

color:white;

font-size:30px;

cursor:pointer;

backdrop-filter:blur(10px);

}

.prev-image{

left:-90px;

}

.next-image{

right:-90px;

}

.prev-image:hover,
.next-image:hover{

background:#FFD54F;

color:#111;

}

@media(max-width:768px){

.prev-image{

left:10px;

}

.next-image{

right:10px;

}

.close-lightbox{

top:15px;

right:15px;

font-size:40px;

}

}