﻿/* =====================================================
   GALLERY 2026 PREMIUM DESIGN
===================================================== */


.gallery-page {
    padding: 120px 40px 80px;
    background: radial-gradient(circle at top, rgba(0,217,255,.12), transparent 35%);
}



.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}



.gallery-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(0,217,255,.12);
    color: #00d9ff;
    font-weight: 800;
    letter-spacing: 2px;
}



.gallery-header h1 {
    margin-top: 20px;
    color: white;
    font-size: 52px;
    font-weight: 900;
}



    .gallery-header h1 span {
        color: #00d9ff;
    }



.gallery-header p {
    color: #aab6c5;
    font-size: 18px;
}





.gallery-grid {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}






.gallery-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 30px;
    background: #071426;
    border: 1px solid rgba(0,217,255,.2);
    cursor: pointer;
    opacity: 0;
    animation: galleryShow .8s ease forwards;
}




    .gallery-card:nth-child(2) {
        animation-delay: .15s;
    }


    .gallery-card:nth-child(3) {
        animation-delay: .3s;
    }





    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .8s;
    }





    .gallery-card:hover img {
        transform: scale(1.12);
        filter: brightness(.55) saturate(1.3);
    }





    .gallery-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0,0,0,.85), transparent 60% );
        z-index: 1;
    }





.gallery-shine {
    position: absolute;
    inset: -100%;
    background: linear-gradient( 120deg, transparent, rgba(0,217,255,.5), transparent );
    transition: .8s;
    z-index: 2;
}



.gallery-card:hover .gallery-shine {
    inset: 100%;
}





.gallery-content {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
    transform: translateY(20px);
    transition: .5s;
}




.gallery-card:hover .gallery-content {
    transform: translateY(0);
}




.gallery-content h3 {
    color: white;
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}



.gallery-content p {
    color: #00d9ff;
    margin-top: 8px;
    font-weight: 700;
}





.gallery-zoom {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: #00d9ff;
    color: #001018;
    font-size: 22px;
    z-index: 5;
    transition: .5s;
}



.gallery-card:hover .gallery-zoom {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 0 35px #00d9ff;
}





/* LIGHTBOX */


.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}



    .gallery-lightbox.active {
        display: flex;
    }



.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    border-radius: 20px;
}




.lightbox-close {
    position: absolute;
    top: 40px;
    right: 50px;
    background: none;
    border: 0;
    color: white;
    font-size: 55px;
}





@keyframes galleryShow {


    from {
        opacity: 0;
        transform: translateY(50px);
    }


    to {
        opacity: 1;
        transform: translateY(0);
    }
}




@media(max-width:900px) {


    .gallery-grid {
        grid-template-columns: 1fr;
    }


    .gallery-header h1 {
        font-size: 36px;
    }
}
/* ==========================================================
   LIGHTBOX OK BUTONLARI 2026
========================================================== */


.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1px solid rgba(0,217,255,.5);
    background: rgba(0,20,35,.75);
    color: #00d9ff;
    font-size: 45px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(10px);
    transition: .35s ease;
}




.lightbox-prev {
    left: 40px;
}



.lightbox-next {
    right: 40px;
}





    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: #00d9ff;
        color: #001018;
        box-shadow: 0 0 25px rgba(0,217,255,.8), 0 0 60px rgba(0,217,255,.3);
        transform: translateY(-50%) scale(1.15);
    }






.lightbox-close {
    position: absolute;
    top: 35px;
    right: 45px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.6);
    color: white;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 30;
    transition: .3s ease;
}



    .lightbox-close:hover {
        background: #ff3344;
        transform: rotate(90deg);
        box-shadow: 0 0 30px rgba(255,50,70,.7);
    }
/* ==========================================================
   PREMIUM LIGHTBOX 2026
========================================================== */


.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: lightboxFade .35s ease;
}





    .gallery-lightbox.active {
        display: flex;
    }





.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}




.lightbox-image {
    max-width: 88vw;
    max-height: 82vh;
    border-radius: 28px;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0,0,0,.7), 0 0 50px rgba(0,217,255,.25);
    animation: imageZoom .35s ease;
    transition: .3s ease;
}





.lightbox-counter {
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(0,217,255,.15);
    border: 1px solid rgba(0,217,255,.4);
    color: white;
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}





/* SOL OK */


.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid rgba(0,217,255,.5);
    background: rgba(5,20,35,.75);
    color: #00d9ff;
    font-size: 55px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(12px);
    transition: .35s;
}





.lightbox-prev {
    left: 45px;
}




.lightbox-next {
    right: 45px;
}




    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: #00d9ff;
        color: #001018;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 0 35px #00d9ff;
    }






/* KAPAT */


.lightbox-close {
    position: absolute;
    top: 35px;
    right: 45px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.5);
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 20;
    transition: .35s;
}





    .lightbox-close:hover {
        background: #ff3344;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 0 35px rgba(255,50,70,.7);
    }






@keyframes imageZoom {


    from {
        opacity: 0;
        transform: scale(.85);
    }



    to {
        opacity: 1;
        transform: scale(1);
    }
}





@keyframes lightboxFade {


    from {
        opacity: 0;
    }



    to {
        opacity: 1;
    }
}







@media(max-width:768px) {


    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 38px;
    }



    .lightbox-prev {
        left: 15px;
    }



    .lightbox-next {
        right: 15px;
    }




    .lightbox-close {
        top: 20px;
        right: 20px;
    }



    .lightbox-image {
        max-width: 95vw;
        max-height: 75vh;
    }
}