/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: background 0.3s ease-in-out; /* Animation fluide */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out; /* Animation fluide */
}

/* Effet hover sur les liens */
.navbar a:hover {
    color: #7b9842; /* vert clair au survol */
    transform: scale(1.1); /* Légèrement agrandi */
}

/* Bouton menu burger */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Menu burger en mode mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar-links {
        position: absolute;
        top: 135px; /* Ajusté pour éviter le chevauchement */
        right: 0;
        background: #566f59;
        width: 100%;
        text-align: center;
        display: none;
        padding: 10px 0;
    }

    .navbar-links.active {
        display: block; /* Affiche le menu quand actif */
    }

    .navbar-links a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        transition: background 0.3s ease-in-out;
    }

    /* Effet hover sur les liens du menu burger */
    .navbar-links a:hover {
        background: rgba(255, 215, 0, 0.2); /* Légère teinte dorée */
    }
}

/* Effet de scroll sur la navbar */
.scrolled {
    background: #1a4217!important; /* Fait apparaître une couleur foncée au scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Effet sur les boutons */
.btn {
    padding: 1rem 2rem;
    margin: 0 1rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0099ff;
    border-color: #0099ff;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)),
                url('picture1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}


/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Effet parallax */
.parallax {
    background: url('parallax-bg.jpg') fixed center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Correction du logo */
.logo img {
transform: none !important;
    transition: none !important;
    max-height: 80px; /* Ajuste la hauteur du logo */
    width: auto; /* Garde les proportions */
}
.logo {
    display: inline-block; /* Empêche tout héritage de flexbox */
}
.navbar a.logo:hover {
    transform: none !important;
}

/* Correction de la position */
.scroll-down {
    position: absolute;
    bottom: 50px; /* Remonte la flèche */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Met la flèche au premier plan */
}

/* Style de la flèche */
.scroll-down span {
    width: 25px;
    height: 25px;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
}

/* Animation rebondissante */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateY(15px) rotate(-45deg);
    }
}

/* Apparition douce */
.scroll-down {
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out;
}
.scroll-down:hover {
    opacity: 1;
}

/* Ajout de position relative sur .hero */
.hero {
    position: relative;
}



/* Section */
.section {
    scroll-margin-top: 145px; /* Ajuste cette valeur selon la hauteur du header */
    margin: 20px 30px; /* Espacement vertical et horizontal entre les sections */
    padding: 50px; /* Espacement interne */
    background: rgba(255, 255, 255, 0.9); /* Fond semi-transparent */
    border-radius: 10px; /* Bords arrondis */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre discrète */
}

.avis-card {
    font-size: 1.4rem;  /* Augmente la taille du texte */
    font-weight: bold;
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}



/* Bandeau information - changement de propriétaire */
.bandeau-info {
  background: #b48e0a; /* orange doré */
  color: #111827;      /* texte sombre lisible */
  text-align: center;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1.1rem;
  position: sticky;
  top: 0;
  z-index: 9999;
}
