/* ===== SECTION TITLE ===== */
.section-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:18px;
    font-weight:600;
    color:#111827;
}

.section-title::before,
.section-title::after{
    content:"";
    flex:1;
    height:2px;
    background:#e5e7eb;
}

.section-title::before{
    background:linear-gradient(to right, transparent, #ef4444);
}

.section-title::after{
    background:linear-gradient(to left, transparent, #ef4444);
}

.section-title i{
    color:#ef4444;
}

/* ===== GALLERY ===== */
.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:14px;
    cursor:pointer;
    background:#000;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    aspect-ratio:4/3;
    transition:0.4s;
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:0.3s;
}

.gallery-overlay i{
    color:#fff;
    font-size:22px;
}

/* hover */
.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

/* button */
.gallery-more{
    text-align:center;
    margin-top:25px;
}

.btn-more{
    display:inline-block;
    padding:10px 22px;
    background:#020617;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    transition:0.3s;
}

.btn-more:hover{
    background:#ef4444;
}

/* ===== LIGHTBOX ===== */
.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.lightbox.show{
    display:flex;
}

.lightbox-content{
    text-align:center;
    max-width:90%;
}

.lightbox img{
    max-width:100%;
    max-height:80vh;
    border-radius:12px;
}

/* caption */
.lightbox-caption{
    margin-top:15px;
    color:#fff;
}

.lightbox-caption h3{
    font-size:18px;
    margin-bottom:5px;
}

.lightbox-caption p{
    font-size:13px;
    color:#9ca3af;
}

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

@media(max-width:768px){
    .gallery{
        grid-template-columns:repeat(2,1fr);
    }
}
/* ===== NAV BUTTON ===== */
.lb-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.6);
    border:none;
    color:#fff;
    font-size:20px;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;
    transition:0.3s;
}

.lb-nav:hover{
    background:#ef4444;
}

.lb-nav.prev{
    left:20px;
}

.lb-nav.next{
    right:20px;
}

/* ===== VIEW ALL BUTTON UPGRADE ===== */
.btn-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 26px;
    background:#020617;
    color:#fff;
    border-radius:999px;
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

.btn-more i{
    transition:0.3s;
}

.btn-more:hover{
    background:#ef4444;
}

.btn-more:hover i{
    transform:translateX(5px);
}
/* ===============================
   GALLERY PAGE (gp- namespace)
================================= */

.gp-wrapper{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

/* TITLE */
.gp-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

/* GRID */
.gp-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

/* ITEM */
.gp-item{
    position:relative;
    cursor:pointer;
    overflow:hidden;
    border-radius:10px;
}

/* IMAGE FULL */
.gp-item img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
    transition:.3s ease;
}

/* OVERLAY */
.gp-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);

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

    opacity:0;
    transition:.25s;
}

.gp-overlay i{
    color:#fff;
    font-size:18px;
}

/* HOVER */
.gp-item:hover .gp-overlay{
    opacity:1;
}

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

/* ===============================
   PAGINATION
================================= */

.gp-pagination{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
}

.gp-pagination a{
    min-width:32px;
    height:32px;

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

    background:#eee;
    border-radius:6px;
    text-decoration:none;
    color:#111;

    font-size:13px;
    transition:.2s;
}

.gp-pagination a:hover{
    background:#ddd;
}

.gp-pagination a.active{
    background:#dc2626;
    color:#fff;
}

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

.gp-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);

    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;

    z-index:9999;
}

.gp-lightbox.show{
    display:flex;
}

/* IMAGE */
.gp-lightbox img{
    max-width:90%;
    max-height:80vh;
    border-radius:6px;
}

/* CAPTION */
.gp-caption{
    color:#fff;
    margin-top:10px;
    font-size:14px;
    text-align:center;
}

/* CLOSE */
.gp-close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width:1024px){
    .gp-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .gp-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gp-item img{
        height:150px;
    }
}