.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #b89146;
    border-color: #b89146;
}

.page-link {
    position: relative;
    display: block;
    color: #b89146;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Ensure consistent dimensions for the image container */
.deluxe__two-item-image {
    position: relative;
    overflow: hidden; /* Hide any overflowing parts of the image */
    width: 100%; /* Full width of the parent container */
    height: 200px; /* Fixed height for all images */
}

/* Style the image to cover the container */
.deluxe__two-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
    object-position: center; /* Centers the image within the container */
}

/* Ensure consistent dimensions for the image containers */
.img__full_show {
    position: relative;
    overflow: hidden; /* Hide any overflowing parts of the image */
    width: 100%; /* Full width of the parent container */
    height: 300px; /* Fixed height for all images */
}

/* Style the images to cover the container */
.img__full_show img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
    object-position: center; /* Centers the image within the container */
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*TAB BUTTON*/
/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f1f1f1;
    /*border: none;*/
    cursor: pointer;
    font-size: 16px;
    color: #000;
    transition: background-color 0.3s ease;
    border: 1px solid #897347;
    border-radius: 15px;
    min-width: 150px;
}

.tab-button.active {
    background-color: #897347;
    color: white;
}

.tab-button:hover {
    background-color: #ddd;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/*TAB BUTTON*/

/* ─── Galerie chambre / salle (Swiper) ──────────────────────────
   Slider plein-largeur dans l'onglet Détails de /rooms/{id} et
   /meeting-rooms/{id}. Ratio 16/10, transitions fluides, contrôles
   navigation visibles au hover, badge zoom permanent en bas-droite. */
.room-gallery-slider {
    width: 100%; aspect-ratio: 16/10;
    background: #f6f1e6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 28px 0 24px;
    box-shadow: 0 6px 24px rgba(14, 19, 23, 0.08);
}
.room-gallery-slider .swiper-slide {
    width: 100%; height: 100%;
}
.room-gallery-slider .swiper-slide a.img-popup {
    display: block; width: 100%; height: 100%;
    position: relative; cursor: zoom-in;
}
.room-gallery-slider .swiper-slide img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s ease;
}
.room-gallery-slider .swiper-slide:hover img { transform: scale(1.02); }
.room-gallery-slider__zoom {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(255, 255, 255, 0.92); color: #B89146;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-size: 14px;
}
.room-gallery-slider .swiper-slide:hover .room-gallery-slider__zoom {
    background: #B89146; color: #fff; transform: scale(1.08);
}
/* Boutons prev/next : minimaux, premium hotel. Petits cercles dorés
   semi-transparents, fade-in au hover du slider. Le chevron est fin
   (font-weight 400) pour rester discret — les boutons doivent
   accompagner le visuel, pas le concurrencer. */
.room-gallery-slider__nav {
    position: absolute; top: 50%;
    transform: translateY(-50%) translateX(0);
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(14, 19, 23, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 10; opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease,
                border-color 0.2s ease, transform 0.25s ease;
    font-size: 12px;
    line-height: 1;
}
.room-gallery-slider__nav i { font-size: 13px; font-weight: 300; }
.room-gallery-slider:hover .room-gallery-slider__nav { opacity: 1; }
.room-gallery-slider__nav:hover {
    background: #B89146;
    border-color: #B89146;
    color: #fff;
}
.room-gallery-slider__nav:active { transform: translateY(-50%) scale(0.94); }
.room-gallery-slider__nav--prev { left: 10px; }
.room-gallery-slider__nav--next { right: 10px; }
.room-gallery-slider__nav.swiper-button-disabled {
    opacity: 0.25 !important; cursor: not-allowed;
}

/* Pagination dots — barre fine en bas-centre, pastille dorée pour l'active. */
.room-gallery-slider__pagination {
    position: absolute; bottom: 12px; left: 50%;
    transform: translateX(-50%); z-index: 10;
    display: flex; gap: 5px;
}
.room-gallery-slider__pagination .swiper-pagination-bullet {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1; transition: background 0.2s, transform 0.2s, width 0.2s;
    cursor: pointer; display: inline-block;
}
.room-gallery-slider__pagination .swiper-pagination-bullet-active {
    background: #B89146; width: 18px; border-radius: 3px;
}
@media (max-width: 600px) {
    .room-gallery-slider { aspect-ratio: 4/3; }
    .room-gallery-slider__nav { width: 30px; height: 30px; }
    .room-gallery-slider__nav i { font-size: 11px; }
}

/* Sur les écrans tactiles ou de petite largeur, `:hover` ne se
   déclenche pas → on rend les contrôles du slider toujours visibles
   pour que l'utilisateur puisse naviguer au pouce. On combine
   `hover:none` (vrai test capability) avec un fallback largeur pour
   la simulation Chrome redimensionnée. */
@media (hover: none), (max-width: 768px) {
    .room-gallery-slider__nav { opacity: 1 !important; }
    .room-gallery-slider__zoom { opacity: 1 !important; }
}

/* ─── Cartes « Nos chambres de suites » sur la home ───────────────
   Overlay « Voir les détails » qui apparaît au survol : icône œil
   dorée centrée + label sous l'icône. Image légèrement zoomée pour
   amplifier le feedback visuel. */
.deluxe__area-item-image {
    position: relative; overflow: hidden; cursor: pointer;
}
.deluxe__area-item-image .img__full {
    transition: transform 0.6s ease;
}
.deluxe__area-item:hover .deluxe__area-item-image .img__full {
    transform: scale(1.06);
}
.deluxe__area-item-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px;
    background: rgba(14, 19, 23, 0.55);
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.deluxe__area-item:hover .deluxe__area-item-overlay,
.deluxe__area-item-overlay:focus-visible {
    opacity: 1;
}
.deluxe__area-item-overlay-eye {
    width: 64px; height: 64px; border-radius: 50%;
    background: #B89146; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(184, 145, 70, 0.4);
    transform: scale(0.85);
    transition: transform 0.3s ease;
}
.deluxe__area-item:hover .deluxe__area-item-overlay-eye {
    transform: scale(1);
}
/* Le label « VOIR LES DÉTAILS » est gardé pour les lecteurs d'écran
   uniquement (visually-hidden) — l'icône oeil suffit visuellement et
   évite de surcharger l'overlay. */
.deluxe__area-item-overlay-label {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.deluxe__area-item-overlay:hover { color: #fff; }

/* Touch devices ou écrans étroits : pas de hover → le badge oeil doit
   être visible en permanence (sinon la fonction « voir détails » est
   non découvrable). On garde un look discret en coin haut-droit. */
@media (hover: none), (max-width: 768px) {
    .deluxe__area-item-overlay {
        opacity: 1;
        background: transparent;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        padding: 12px;
        pointer-events: auto;
    }
    .deluxe__area-item-overlay-eye {
        width: 40px; height: 40px; font-size: 16px;
        background: rgba(184, 145, 70, 0.9);
        transform: scale(1);
    }
    .deluxe__area-item-overlay-label { display: none; }
}
