/* ===== GALERIE PAGE D'ACCUEIL ===== */
.gallery-advanced-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #f0f0f0;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #b75b7d;
    color: white;
}

.gallery-category {
    display: none;
}

.gallery-category.active {
    display: block;
}

.gallery-advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-advanced-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

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

.gallery-advanced-item:hover img {
    transform: scale(1.05);
}

.gallery-advanced-link {
    display: block;
    cursor: pointer;
}

/* ===== LIGHTBOX PAGE D'ACCUEIL ===== */
#gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#gallery-lightbox.active {
    display: flex;
}

#gallery-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-size: 14px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #b75b7d;
}

/* ===== GALERIE CHAMBRES ===== */
.chambre-gallery {
    position: relative;
    margin-bottom: 20px;
}

.chambre-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.chambre-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.chambre-main-image:hover img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-advanced-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}
.chambre-main-image {
    position: relative;
}

/* ===== GALERIE PAGE D'ACCUEIL - 3 COLONNES ===== */
.gallery-advanced-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #f0f0f0;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #b75b7d;
    color: white;
}

.gallery-category {
    display: none;
}

.gallery-category.active {
    display: block;
}

.gallery-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Responsive : 2 colonnes sur tablette */
@media (max-width: 992px) {
    .gallery-advanced-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .gallery-advanced-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-advanced-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

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

.gallery-advanced-item:hover img {
    transform: scale(1.05);
}

.gallery-advanced-link {
    display: block;
    cursor: pointer;
}