
/* =====================================
   ARANYAK HOMESTAY - GALLERY PAGE
===================================== */

.gallery-page-header {
    background: #fff;
    padding-top: 22px;
}

.gallery-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gallery-title h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.gallery-back {
    font-size: 29px;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

.property-photos-btn {
    display: inline-block;
    padding: 11px 15px;
    border: 1px solid #1684ff;
    border-radius: 8px;
    color: #222;
    background: #f1f7ff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 0;
}

.gallery-tabs {
    display: flex;
    align-items: center;
    gap: 27px;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 0;
    scrollbar-width: none;
}

.gallery-tabs::-webkit-scrollbar {
    display: none;
}

.gallery-tab {
    position: relative;
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 17px 0 11px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
}

.gallery-tab.active {
    color: #333;
    font-weight: 700;
}

.gallery-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2588ff;
    border-radius: 3px 3px 0 0;
}

.gallery-tab:hover {
    color: #1684ff;
}


/* GALLERY BACKGROUND */

.gallery-content-section {
    background: #f2f2f2;
    padding: 20px 0 55px;
    min-height: 450px;
}

.gallery-panel {
    background: #fff;
    padding: 20px;
    border-radius: 17px;
}

.gallery-panel[hidden] {
    display: none !important;
}

.gallery-panel.active {
    animation: galleryFade .3s ease;
}

@keyframes galleryFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* CATEGORY HEADING */

.gallery-category-heading {
    margin-bottom: 17px;
}

.gallery-category-heading h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 5px;
}

.gallery-category-heading p {
    color: #555;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}


/* PHOTO GRID */

.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.gallery-photo {
    display: block;
    height: 275px;
    overflow: hidden;
    border-radius: 15px;
    background: #eee;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-photo:hover img {
    transform: scale(1.045);
}


/* BOTTOM CTA */

.gallery-bottom {
    text-align: center;
    padding: 65px 20px;
}

.gallery-bottom h2 {
    margin-bottom: 12px;
}

.gallery-bottom p {
    margin-bottom: 22px;
}


/* TABLET */

@media (max-width: 991px) {

    .gallery-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-photo {
        height: 245px;
    }

    .gallery-tabs {
        gap: 22px;
    }

}


/* MOBILE */

@media (max-width: 576px) {

    .gallery-page-header {
        padding-top: 18px;
    }

    .gallery-title h1 {
        font-size: 17px;
    }

    .gallery-back {
        font-size: 25px;
    }

    .gallery-tabs {
        gap: 22px;
    }

    .gallery-tab {
        font-size: 14px;
        padding-top: 15px;
    }

    .gallery-content-section {
        padding: 14px 0 35px;
    }

    .gallery-panel {
        padding: 13px;
        border-radius: 12px;
    }

    .gallery-category-heading h2 {
        font-size: 17px;
    }

    .gallery-category-heading p {
        font-size: 13px;
    }

    .gallery-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-photo {
        height: 245px;
        border-radius: 12px;
    }

}
