* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}

/* ===== NAVBAR PREMIUM ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 25px rgba(0,0,0,0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 100px;
    object-fit: contain;
}

.logo {
    height: 80px;
}

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

.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;

    display: flex;
    align-items: center;
    gap: 8px;

    position: relative;
    padding: 6px 0;

    transition: 0.3s ease;
}

.nav-links a span {
    font-size: 24px;
    letter-spacing: 0.6px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #b08968;
}

/* Ajoute ceci à ton CSS, dans la section concernant les media queries */
.nav-links.active {
    display: flex;  /* Afficher les éléments de la nav */
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    z-index: 999;
}

.btn-reserver {
    background: linear-gradient(135deg, #b08968, #8f6a4e);
    color: white;

    padding: 10px 20px;
    border-radius: 8px;

    font-weight: 500;
    letter-spacing: 0.5px;

    transition: 0.3s ease;
}

.btn-reserver:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 15px;
    margin-top: 10px;
    width: 100%;
    background: #c89b3c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
}

/* ===== HERO AMÉLIORÉ ===== */
.hero {
    height: 90vh;
    background: url("/images/malouiniere.jpg") center/cover no-repeat;
  
    background-position: center 80%;

    position: relative;

    display: flex;
    flex-direction: column;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.2),
        rgba(0,0,0,0)
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    margin-top: auto;
    margin-bottom: auto;
    padding-left: 80px;
    color: white;
}

.hero-small {
    letter-spacing: 2px;
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 52px;
    font-family: "Playfair Display", serif;
    margin-bottom: 15px;
}

.hero-content p {
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
}

.btn-primary {
    display: inline-block;
    background: #b08968;
    color: white;
    padding: 14px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #8f6a4e;
}



@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(200, 155, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 155, 60, 0);
    }
}


#modal {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    justify-content:center;
    align-items:center;
}

.section {
    padding: 55px 60px;
    text-align: center;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 50px;
}

.section p {
    font-size: 19px;
}

.light {
    background: #eee8e1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 5px 6px 20px 1px #a9a9a9;
    transition: all 0.3s ease;
}

.card:hover {
    transform: scale(105%);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

#services {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.services {
    flex: 1;
    list-style: none;
    font-size: 20px;
}

.services li {
    font-size: 16px;
    margin: 15px 0;
}

.section .container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c89b3c;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: #c89b3c;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #b08832;
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 20px;
    }
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    .navbar {
        padding: 12px 20px;
    }

    .logo img {
        height: 60px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        padding: 20px;
        display: none; /* base pour menu burger */
    }

    /* ===== HERO ===== */
    .hero {
        height: 75vh;
    }

    .hero-content {
        padding: 20px;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* ===== SECTIONS ===== */
    .section {
        padding: 40px 20px;
    }

    .section h2 {
        font-size: 26px;
    }

    .section p {
        font-size: 16px;
    }

    /* ===== SERVICES ===== */
    #services {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* ===== CARDS ===== */
    .cards {
        grid-template-columns: 1fr;
    }

    /* ===== CONTACT ===== */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* ===== BOUTONS ===== */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }


    /* ===== mobile bouton reserver ===== */
/* Style pour le bouton "Réserver maintenant" sur mobile */
.cta-fixed {
    display: none; /* Par défaut, le bouton est caché */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: black; /* Couleur du bouton */
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cta-fixed a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 14px;
    border-radius: 10px;
    background-color: black; /* Couleur du fond du bouton */
    transition: background-color 0.3s ease;
}

.cta-fixed a:hover {
    background-color: #b08968; /* Effet hover pour changer la couleur */
}

/* Afficher le bouton seulement sur mobile */
@media (max-width: 768px) {
    .cta-fixed {
        display: block; /* Le bouton devient visible sur mobile */
    }
}

.track {
  touch-action: pan-y;
}
    
}
