/* ==========================================
   GALLERY PAGE - VIVEHA TRUST
========================================== */


/* ================= BODY ================= */

body {

    font-family: 'Poppins', sans-serif;

    margin: 0;

    background: #f5f7f9;

    color: #333;

}


/* ================= NAVIGATION ================= */

.navbar {

    background: #fff;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 8%;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    position: sticky;

    top: 0;

    z-index: 1000;

}


.logo-area {

    display: flex;

    align-items: center;

}


.logo {

    width: 70px;

    margin-right: 15px;

}


.logo-area h2 {

    margin: 0;

    color: #0B6E4F;

}


nav ul {

    list-style: none;

    display: flex;

    gap: 20px;

    margin: 0;

    padding: 0;

}


nav ul li {

    display: inline;

}


nav ul li a {

    text-decoration: none;

    color: #333;

    font-weight: 600;

    transition: .3s;

}


nav ul li a:hover,

nav ul li a.active {

    color: #0B6E4F;

}


/* ================= HERO ================= */

.hero-gallery {

    height: 300px;

    background:

        linear-gradient(
            rgba(11,110,79,.65),
            rgba(11,110,79,.65)
        ),

        url("./assets/Service/111.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: white;

}


.hero-gallery h1 {

    font-size: 52px;

    margin: 0 0 15px;

}


.hero-gallery p {

    font-size: 22px;

    margin: 0;

}


/* ================= GALLERY ================= */

.gallery-section {

    width: 100%;

    max-width: 1400px;

    margin: 35px auto 45px;

    box-sizing: border-box;

}


.gallery-section h2 {

    text-align: center;

    color: #0B6E4F;

    font-size: 28px;

    margin: 0 0 30px;

}


/* ================= GALLERY CONTAINER ================= */

.gallery-container {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* ================= SCROLL AREA ================= */

.gallery-track-wrapper {

    width: 100%;

    overflow-x: hidden;

    overflow-y: hidden;

    scroll-behavior: smooth;

}


/* ================= IMAGE TRACK ================= */

.gallery-track {

    display: flex;

    align-items: center;

    gap: 28px;

    width: max-content;

    padding: 20px 0;

}


/* ================= IMAGE ITEM ================= */

.gallery-item {

    flex: 0 0 auto;

    width: 430px;

    height: 400px;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 7px;

    box-sizing: border-box;

    background: #0B6E4F;

    border-radius: 14px;

    box-shadow:

        0 0 0 3px #064d38,

        0 8px 0 #064d38,

        0 12px 25px rgba(0,0,0,0.25);

    transition:

        transform .4s ease,

        opacity .4s ease;

}


/* ================= IMAGE ================= */

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    background: white;

    border-radius: 8px;

}


/* ================= HOVER ================= */

.gallery-item:hover {

    transform: scale(1.03);

}


/* ================= ARROWS ================= */

.gallery-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    border: 3px solid white;

    background: #0B6E4F;

    color: white;

    font-family: Arial, sans-serif;

    font-size: 42px;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 0;

    box-shadow:

        0 5px 15px rgba(0,0,0,0.35);

    transition: .3s;

}


.left-btn {

    left: 20px;

}


.right-btn {

    right: 20px;

}


.gallery-btn:hover {

    background: #064d38;

    transform: translateY(-50%) scale(1.12);

}


/* ================= FOOTER ================= */

footer {

    background: #0B6E4F;

    color: white;

    text-align: center;

    padding: 30px 20px;

    margin-top: 30px;

}


footer p {

    margin: 8px 0;

}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .gallery-item {

        width: 350px;

        height: 350px;

    }


    .gallery-btn {

        width: 50px;

        height: 50px;

        font-size: 36px;

    }

}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .navbar {

        flex-direction: column;

        padding: 12px 5%;

    }


    nav ul {

        flex-wrap: wrap;

        justify-content: center;

        margin-top: 15px;

        gap: 15px;

    }


    .logo {

        width: 60px;

    }


    .logo-area h2 {

        font-size: 21px;

    }


    /* HERO */

    .hero-gallery {

        height: 300px;

    }


    .hero-gallery h1 {

        font-size: 34px;

    }


    .hero-gallery p {

        font-size: 18px;

        padding: 0 20px;

    }


    /* GALLERY */

    .gallery-section {

        margin-top: 25px;

    }


    .gallery-section h2 {

        font-size: 24px;

        margin-bottom: 20px;

    }


    .gallery-track {

        gap: 18px;

        padding: 15px 0;

    }


    .gallery-item {

        width: 300px;

        height: 320px;

        padding: 5px;

    }


    /* ARROWS */

    .gallery-btn {

        width: 45px;

        height: 45px;

        font-size: 30px;

        border-width: 2px;

    }


    .left-btn {

        left: 8px;

    }


    .right-btn {

        right: 8px;

    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .hero-gallery h1 {

        font-size: 30px;

    }


    .hero-gallery p {

        font-size: 16px;

    }


    .gallery-item {

        width: 260px;

        height: 280px;

    }


    .gallery-btn {

        width: 40px;

        height: 40px;

        font-size: 27px;

    }


    .left-btn {

        left: 5px;

    }


    .right-btn {

        right: 5px;

    }

}