:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --light-grey: #f9f9f9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--black);
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.burger {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100svh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)), url('img/hero.jpg') center/cover no-repeat;
    background-color: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 100px 6% 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-content p {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-main {
    background: var(--gold);
    color: var(--white);
    padding: 16px 38px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font-size: 1rem;
}

.btn-main:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Sections */
.section {
    padding: 80px 8%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.bg-light {
    background: var(--light-grey);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
    scroll-snap-align: start;
    flex: 0 0 78%;
}

.gallery-item:hover {
    filter: brightness(0.8);
    transform: scale(1.02);
}

/* Footer */
footer {
    background: var(--black);
    color: white;
    padding: 40px 8%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

.highlight {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Barre de réservation fixe (mobile uniquement) */
.mobile-book-bar {
    display: none;
}

/* ============ Responsive : mobile & tablette ============ */
@media (max-width: 768px) {
    nav { padding: 14px 6%; }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100dvh;
        top: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 72%;
        max-width: 320px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        box-shadow: -2px 0 20px rgba(0,0,0,0.15);
        gap: 10px;
        z-index: 999;
    }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a {
        display: block;
        padding: 16px;
        font-size: 1.1rem;
    }
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
        margin: -10px;
    }
    .burger div {
        width: 25px;
        height: 3px;
        background-color: var(--black);
        margin: 5px;
        transition: 0.3s;
    }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    /* Sections : on resserre les marges verticales, trop d'espace vide = trop de scroll sur mobile */
    .section {
        padding: 50px 6% 60px;
    }
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }

    /* Cartes : moins de padding, on garde la lisibilité sans gaspiller l'écran */
    .card {
        padding: 26px 22px;
        border-radius: 16px;
    }
    .services-grid {
        gap: 18px;
    }

    /* Galerie : swipe horizontal au lieu d'une grille figée, plus naturel au doigt */
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-item {
        height: 220px;
    }
    .gallery-grid::-webkit-scrollbar { height: 4px; }
    .gallery-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

    /* Footer : on empile proprement au lieu du space-between qui écrase sur petit écran */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Le bouton WhatsApp rond devient redondant avec la barre de réservation en bas : on le cache sur mobile */
    .whatsapp-float {
        display: none;
    }

    /* Barre de réservation fixe : LE point de conversion principal sur mobile */
    .mobile-book-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--white);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        padding: 10px 12px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        gap: 10px;
    }
    .mb-call {
        flex: 0 0 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--light-grey);
        color: var(--black);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        text-decoration: none;
        border: 1px solid #e5e5e5;
    }
    .mb-book {
        flex: 1;
        height: 52px;
        border-radius: 50px;
        background: #25D366;
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
    }

    /* On laisse de la place en bas pour que la barre fixe ne cache pas le footer */
    footer { padding-bottom: 90px; }
}

@media (max-width: 380px) {
    .hero-content h1 { font-size: 1.7rem; }
    .mb-book { font-size: 0.85rem; }
}
