/* ================= COULEURS ================= */

:root {
    --vert-fonce: #181D19;
    --vert-moyen: #353D37;
    --vert-intermediaire: #2a312c;
    --beige: #F5CD92;
    --beige-clair: #FFF8ED;
    --blanc: #ffffff;
    --transparent: rgba(0, 0, 0, 0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #FFF8ED;
}

/* ================= ANIMATION FADE IN ================= */


@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= SCROLL REVEAL ================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================= NAVBAR PILULE ================= */

.navbar-custom.nav-chambres {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    height: 65px;
    background-color: #181D19;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 9999;
    overflow: visible !important;
}

.nav-chambres .nav-left { display: flex; align-items: center; height: 100%; position: relative; overflow: visible !important; }

.nav-chambres .logo {
    height: 120px !important;
    width: auto;
    object-fit: contain;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: block !important;
    cursor: pointer;
}

.nav-chambres .nav-links { margin-left: 170px; display: flex; gap: 35px; list-style: none; padding: 0; margin-bottom: 0; }
.nav-chambres .nav-links a { color: var(--blanc); text-decoration: none; font-size: 15px; transition: color 0.3s; }
.nav-chambres .nav-links a:hover { color: var(--beige); }

.logo-link { display: flex; align-items: center; text-decoration: none; transition: opacity 0.3s ease; }
.logo-link:hover { opacity: 0.8; }

.mt-nav { margin-top: 0 !important; padding-top: 110px; }

/* ================= BOUTON RÉSERVER ================= */

.btn-reserver {
    background-color: var(--vert-moyen);
    padding: 10px 24px;
    border-radius: 30px;
    color: var(--beige);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.btn-reserver:hover { background-color: var(--beige); color: var(--vert-fonce); }

/* ================= FOOTER ================= */

.footer { background: linear-gradient(90deg, #2e332f, #4a5149); color: white; }
.footer-gallery { display: grid; grid-template-columns: repeat(5, 1fr); }
.footer-gallery img { width: 100%; height: 200px; object-fit: cover; }
.footer-content { display: flex; justify-content: space-around; align-items: flex-start; padding: 50px 10% 60px 10%; }
.footer-logo img { width: 180px; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column h3 { font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; color: var(--beige); }
.footer-column a { text-decoration: none; color: white; font-size: 14px; }
.footer-column p { font-size: 14px; }
.footer-column a:hover { color: #F5CD92; }

/* ================= DÉTAIL CHAMBRE ================= */

.chambre-container-detail { max-width: 1200px; margin: 10px auto; padding: 0 20px; }
.chambre-header { margin-bottom: 15px; }
.chambre-header h1 { font-family: 'Marcellus', serif; font-size: 42px; letter-spacing: 2px; margin-bottom: 5px; }
.chambre-header p { font-size: 14px; opacity: 0.7; }

/* ================= NAVIGATION ENTRE CHAMBRES ================= */

.autres-chambres {
    background: var(--vert-fonce);
    border-radius: 30px;
    padding: 40px;
    margin: 60px 0 40px 0;
    text-align: center;
    max-width: 900px;     
    margin-left: auto;    
    margin-right: auto;  
    width: 100%;
}

.autres-chambres h3 {
    font-family: 'Marcellus', serif;
    color: var(--beige);
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.autres-chambres-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.autre-chambre-card {
    background: #FFFAF1;
    border-radius: 20px;
    padding: 15px;
    width: 200px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.autre-chambre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    color: inherit;
}

.autre-chambre-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
}

.autre-chambre-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--vert-fonce);
    display: block;
}

.autre-chambre-card small {
    font-size: 11px;
    color: #666;
}

/* ================= GALERIE PHOTOS ================= */

.chambre-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
    gap: 15px;
    margin-bottom: 50px;
}

.chambre-gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.img-large { grid-column: 1 / 3; grid-row: 1 / 3; }
.img-small-4 { position: relative; }

.btn-voir-tout {
    position: absolute;
    bottom: 20px; right: 20px;
    background: var(--blanc);
    color: var(--vert-fonce);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    z-index: 5;
}
.btn-voir-tout:hover { background: var(--beige); }

/* ================= INFOS + CARTE ================= */

.chambre-bottom-layout { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.chambre-info-text { flex: 1.5; }
.chambre-info-text h2 { font-family: 'Marcellus', serif; font-size: 32px; margin-bottom: 20px; }
.chambre-info-text p { line-height: 1.7; font-size: 15px; }
.link-suite { color: var(--vert-fonce); font-weight: 600; font-size: 13px; text-decoration: underline; display: inline-block; margin-top: 10px; cursor: pointer; }

.chambre-booking-card {
    flex: 1;
    background: rgb(255, 252, 246);
    border-radius: 35px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #F0E6D8;
}

.chambre-booking-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 25px; line-height: 1.4; }
.card-content p { font-size: 14px; margin-bottom: 15px; }
.card-content ul { list-style: none; padding: 0; margin-bottom: 25px; }
.card-content li { font-size: 14px; margin-bottom: 10px; padding-left: 15px; position: relative; }
.card-content li::before { content: "•"; position: absolute; left: 0; }

hr { border: 0; border-top: 1px solid #EEE; margin: 20px 0; }
.price-row { margin-bottom: 25px; }
.price { display: block; font-size: 18px; font-weight: 700; margin-top: 5px; }

.btn-reserver-final {
    width: 100%;
    background: #1D231F;
    color: var(--beige);
    border: none;
    padding: 16px;
    border-radius: 35px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    text-align: center;
    text-decoration: none;
}
.btn-reserver-final:hover { background: #000; transform: translateY(-2px); }

/* ================= TEXTE DÉROULANT ================= */

.text-extra { display: none; }
.text-container.expanded .text-extra { display: block; }
.text-container p { margin-bottom: 15px; }

/* ================= MODAL CARROUSEL ================= */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 900px;
    background: transparent;
}

.slide { display: none; width: 100%; height: 600px; object-fit: contain; border-radius: 15px; }

.close-modal { position: absolute; top: 30px; right: 40px; color: white; font-size: 50px; cursor: pointer; }

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 25px;
    transition: 0.6s ease;
    text-decoration: none;
    user-select: none;
}
.prev { left: -60px; }
.next { right: -60px; }
.prev:hover, .next:hover { color: var(--beige); }

/* ================= MENU MOBILE (caché desktop) ================= */

.menu-mobile { display: none; }

/* =================================================================
   RESPONSIVE — TABLETTES (max-width: 1024px)
================================================================= */
@media screen and (max-width: 1024px) {

    .chambre-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 10px; margin-bottom: 30px; }
    .img-large { grid-column: 1 / 3; height: 163px; }
    .chambre-gallery-grid img { height: 160px; border-radius: 18px; }
    .chambre-bottom-layout { gap: 30px; }

    .autres-chambres-grid { gap: 15px; flex-wrap: nowrap;}
    .autre-chambre-card { width: 160px; }
}

/* =================================================================
   RESPONSIVE — MOBILES (max-width: 768px)
================================================================= */
@media screen and (max-width: 768px) {

    .navbar-custom { display: none !important; }

    .menu-mobile {
        display: block;
        position: fixed;
        top: 15px; left: 15px; right: 15px;
        z-index: 10001;
    }

    .mobile-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(24, 29, 25, 0.97);
        padding: 0 20px;
        border-radius: 50px;
        height: 60px;
        overflow: hidden;
    }

    .mobile-bar .logo {
        height: 100px !important;
        width: auto !important;
        object-fit: contain !important;
        position: static !important;
        transform: none !important;
    }

    .mobile-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px; height: 19px;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
    }
    .mobile-burger span { display: block; width: 100%; height: 2px; background-color: #ffffff; border-radius: 2px; }

    .mobile-nav {
        display: none;
        flex-direction: column;
        background-color: #181D19;
        border-radius: 15px;
        margin-top: 10px;
        overflow: hidden;
        border: 1px solid #353D37;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a { color: #ffffff !important; padding: 14px 20px; font-size: 16px; text-decoration: none !important; border-bottom: 1px solid #2a312c; }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-nav a:hover { background-color: #F5CD92; color: #181D19 !important; }
    .menu-mobile .dropdown { display: none !important; }

    .mt-nav { margin-top: 0 !important; padding-top: 80px; }

    .chambre-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 8px; margin-bottom: 30px; }
    .img-large { grid-column: 1 / 3; height: 150px; }
    .chambre-gallery-grid img { height: 130px; border-radius: 12px; }

    .chambre-bottom-layout { flex-direction: column; gap: 25px; }
    .chambre-header h1 { font-size: 28px; }

    .autres-chambres { padding: 25px 15px; }
    .autres-chambres h3 { font-size: 22px; margin-bottom: 20px; }
    .autres-chambres-grid { gap: 12px; flex-wrap: nowrap;}
    .autre-chambre-card { width: 140px; }
    .autre-chambre-card img { height: 90px; }
    .autre-chambre-card span { font-size: 12px; }

    .footer-gallery { grid-template-columns: repeat(5, 1fr) !important; height: 80px; }
    .footer-gallery img { height: 80px; }
    .footer-content { flex-direction: row !important; justify-content: space-between; padding: 20px 4%; flex-wrap: nowrap; gap: 10px; }
    .footer-logo img { width: 100px; }
    .footer-column h3 { font-size: 10px; margin-bottom: 5px; }
    .footer-column a, .footer-column p { font-size: 9px; line-height: 1.3; }
}

/* =================================================================
   RESPONSIVE — PETITS MOBILES (max-width: 480px)
================================================================= */
@media screen and (max-width: 480px) {

    .chambre-header h1 { font-size: 24px; }
    .chambre-gallery-grid img { height: 110px; }
    .img-large { height: 110px; }
    .chambre-booking-card { padding: 25px; border-radius: 25px; }

    .autre-chambre-card { width: 120px; }
    .autre-chambre-card img { height: 80px; }
    .autres-chambres-grid { gap: 6px; flex-wrap: nowrap;}

    .footer-gallery { grid-template-columns: repeat(5, 1fr) !important; height: 60px; }
    .footer-gallery img { height: 60px; }
    .footer-logo img { width: 100px; }
    .footer-column h3 { font-size: 8px; margin-bottom: 4px; }
    .footer-column a, .footer-column p { font-size: 8px; line-height: 1.2; }
}