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

.gallery-hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #081120 0%,
        #0B132B 40%,
        #123A8D 75%,
        #1D4ED8 100%
    );

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:

        radial-gradient(circle at top right,
        rgba(0,194,255,.18),
        transparent 45%),

        radial-gradient(circle at bottom left,
        rgba(29,78,216,.20),
        transparent 45%);

}

.gallery-grid-bg{

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),

        linear-gradient(90deg,
        rgba(255,255,255,.03) 1px,
        transparent 1px);

    background-size:60px 60px;

    opacity:.5;

}

.floating-circle{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    animation:floatGlow 8s ease-in-out infinite;

}

.circle-1{

    width:300px;

    height:300px;

    background:#00C2FF;

    top:-120px;

    right:-80px;

}

.circle-2{

    width:240px;

    height:240px;

    background:#1D4ED8;

    bottom:-80px;

    left:-80px;

}

.circle-3{

    width:180px;

    height:180px;

    background:#38BDF8;

    top:50%;

    right:18%;

}

.gallery-hero-content{

    position:relative;

    z-index:5;

    max-width:900px;

    margin:auto;

    text-align:center;

}

.gallery-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:12px 28px;

    border-radius:50px;

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

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(18px);

    color:#FFFFFF;

    font-weight:600;

    margin-bottom:30px;

}

.gallery-hero-content h1{

    font-family:"Space Grotesk",sans-serif;

    font-size:clamp(3rem,6vw,5.5rem);

    color:#FFFFFF;

    line-height:1.1;

    margin-bottom:30px;

}

.gallery-hero-content h1 span{

    background:linear-gradient(
        90deg,
        #00C2FF,
        #38BDF8
    );

    background-clip: text;
    color: transparent;

    /* Chrome, Edge, Safari */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.gallery-hero-content p{

    max-width:760px;

    margin:0 auto 45px;

    color:rgba(255,255,255,.82);

    font-size:1.1rem;

    line-height:1.9;

}

.gallery-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

.gallery-breadcrumb{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    color:#CBD5E1;

}

.gallery-breadcrumb a{

    color:#38BDF8;

    text-decoration:none;

}

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:10px;

    color:#FFFFFF;

    animation:bounce 2s infinite;

}

@keyframes floatGlow{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-30px);

    }

}

@keyframes bounce{

    0%,100%{

        transform:translate(-50%,0);

    }

    50%{

        transform:translate(-50%,10px);

    }

}

@media(max-width:768px){

    .gallery-hero{

        min-height:85vh;

        padding:140px 0 80px;

    }

    .gallery-buttons{

        flex-direction:column;

    }

    .gallery-buttons a{

        width:100%;

    }

    .floating-circle{

        display:none;

    }

}

/*==========================================================
                INSTALLATION CATEGORIES
==========================================================*/

.gallery-categories{

    padding:110px 0;

    background:#F8FAFC;

}

.categories-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.category-card{

    background:#FFFFFF;

    border:1px solid #E2E8F0;

    border-radius:20px;

    padding:40px 25px;

    cursor:pointer;

    transition:all .35s ease;

    text-align:center;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

.category-card i{

    width:70px;

    height:70px;

    margin:0 auto 20px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    color:#1D4ED8;

    background:rgba(29,78,216,.08);

    transition:.35s;

}

.category-card h3{

    font-size:22px;

    font-weight:700;

    color:#0B132B;

    margin-bottom:10px;

}

.category-card p{

    color:#64748B;

    font-size:15px;

    line-height:1.7;

    margin:0;

}

.category-card:hover{

    transform:translateY(-8px);

    border-color:#1D4ED8;

    box-shadow:0 20px 40px rgba(29,78,216,.15);

}

.category-card:hover i{

    background:linear-gradient(135deg,#1D4ED8,#00C2FF);

    color:#FFFFFF;

    transform:rotate(-8deg) scale(1.08);

}

.category-card:hover h3{

    color:#1D4ED8;

}

@media (max-width:992px){

    .categories-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:576px){

    .categories-grid{

        grid-template-columns:1fr;

    }

    .category-card{

        padding:35px 20px;

    }

}
html{

    scroll-behavior:smooth;

}

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

.gallery-section{

    padding:110px 0;

}

.gallery-section-header{

    display:flex;

    justify-content:space-between;

    align-items:end;

    margin-bottom:60px;

    gap:30px;

}

.gallery-section-header h2{

    margin:20px 0;

    font-size:2.8rem;

    color:#0B132B;

}

.gallery-section-header h2 span{

    background:linear-gradient(90deg,#1D4ED8,#00C2FF);

    /* Standard */
    background-clip: text;
    color: transparent;

    /* Chrome, Edge, Safari */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.gallery-section-header p{

    max-width:650px;

    color:#64748B;

    line-height:1.8;

}

.view-all-btn{

    display:flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    color:#1D4ED8;

    font-weight:700;

}

.view-all-btn i{

    transition:.3s;

}

.view-all-btn:hover i{

    transform:translateX(6px);

}

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

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    cursor:pointer;

    box-shadow:0 18px 40px rgba(15,23,42,.08);

}

.gallery-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:25px;

    background:linear-gradient(
        rgba(11,19,43,.10),
        rgba(11,19,43,.92)
    );

    opacity:0;

    transition:.35s;
    pointer-events: none;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-tag{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 18px;

    border-radius:30px;

    background:#FFFFFF;

    color:#1D4ED8;

    font-size:.9rem;

    font-weight:600;

}

.gallery-overlay-bottom h3{

    color:#FFFFFF;

    font-size:1.5rem;

    margin-bottom:10px;

}

.gallery-overlay-bottom p{

    color:#CBD5E1;

    line-height:1.7;

    margin-bottom:18px;

}

.gallery-meta{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

}

.gallery-meta span{

    color:#FFFFFF;

    display:flex;

    align-items:center;

    gap:8px;

    font-size:.95rem;

}

.gallery-meta i{

    color:#00C2FF;

}

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

.gallery-lightbox{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(4,12,28,.94);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;

}

.gallery-lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox-overlay{

    position:absolute;

    inset:0;

}

.lightbox-content{

    position:relative;

    width:min(1100px,92%);

    z-index:2;

}

.lightbox-content img{

    width:100%;

    max-height:80vh;

    object-fit:contain;

    border-radius:20px;

    animation:zoom .35s ease;

}

@keyframes zoom{

    from{

        transform:scale(.9);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.lightbox-details{

    margin-top:20px;

    text-align:center;

}

.lightbox-details span{

    color:#38BDF8;

    font-weight:600;

}

.lightbox-details h3{

    margin:10px 0;

    color:#FFFFFF;

    font-size:2rem;

}

.lightbox-details p{

    color:#CBD5E1;

    max-width:700px;

    margin:auto;

}

.lightbox-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#FFFFFF;

    font-size:22px;

    z-index:5;

}

.prev{

    left:40px;

}

.next{

    right:40px;

}

.lightbox-close{

    position:absolute;

    top:30px;

    right:40px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#FFFFFF;

    cursor:pointer;

    font-size:22px;

    z-index:5;

}

.lightbox-counter{

    position:absolute;

    bottom:30px;

    left:50%;

    transform:translateX(-50%);

    color:#FFFFFF;

    font-size:18px;

    font-weight:600;

}