.gallery-hero {
    background: #4B2D73;
    padding: 60px 0 50px;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 42px;
    font-family: Poppins-Light;
    color: #fff;
    margin-bottom: 10px;
}

.gallery-subtitle {
    font-size: 16px;
    color: #d4c8e8;
    font-family: Poppins-Regular;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-section {
    padding: 50px 0 30px;
    background: #faf9fc;
}

.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    background: #fff;
    border: 2px solid #4B2D73;
    color: #4B2D73;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: Poppins-Medium;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover {
    background: #EDE8F5;
}

.gallery-filter-btn.active {
    background: #4B2D73;
    color: #fff;
    border-color: #4B2D73;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.gallery-item.gallery-hidden {
    display: none;
}

.gallery-item.gallery-visible {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item a {
    display: block;
    position: relative;
    height: 260px;
    overflow: hidden;
}

.gallery-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover a img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 45, 115, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(75, 45, 115, 0.45);
}

.gallery-item:hover .gallery-item-overlay i {
    opacity: 1;
    transform: scale(1);
}

.gallery-item-label {
    display: block;
    padding: 10px 15px;
    background: #fff;
    color: #4B2D73;
    font-family: Poppins-Medium;
    font-size: 14px;
    text-align: center;
}

.gallery-item:not(:has(.gallery-item-label)) a {
    height: 260px;
}

.gallery-count-bar {
    text-align: center;
    padding: 30px 0 10px;
    color: #888;
    font-family: Poppins-Regular;
    font-size: 14px;
}

.gallery-cta {
    background: linear-gradient(135deg, #4B2D73 0%, #6b4a94 100%);
    padding: 70px 0;
}

.gallery-cta h2 {
    font-size: 34px;
    font-family: Poppins-Light;
    color: #fff;
    margin-bottom: 15px;
}

.gallery-cta p {
    font-size: 16px;
    color: #d4c8e8;
    font-family: Poppins-Regular;
    max-width: 550px;
    margin: 0 auto 30px;
}

.btn-book-now {
    display: inline-block;
    background: #fff;
    color: #4B2D73;
    padding: 14px 40px;
    border-radius: 30px;
    font-family: Poppins-Medium;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn-book-now:hover {
    background: transparent;
    color: #fff;
}

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

@media (max-width: 991px) {
    .gallery-hero {
        padding: 40px 0 35px;
    }
    .gallery-hero h1 {
        font-size: 32px;
    }
    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-item a {
        height: 220px;
    }
    .gallery-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .gallery-hero {
        padding: 30px 0 25px;
    }
    .gallery-hero h1 {
        font-size: 26px;
    }
    .gallery-subtitle {
        font-size: 14px;
    }
    .gallery-filter-bar {
        gap: 6px;
    }
    .gallery-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item a {
        height: 160px;
    }
    .gallery-item-label {
        font-size: 12px;
        padding: 8px 10px;
    }
    .gallery-cta {
        padding: 50px 0;
    }
    .gallery-cta h2 {
        font-size: 24px;
    }
    .gallery-cta p {
        font-size: 14px;
    }
}
