html {
  scroll-behavior: smooth;
}

/* VIDEO FIXE EN FOND */
.hero-video-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.hero-video-fixed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CONTENU PAR-DESSUS */
.hero-content-on-video {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  max-width: 700px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.hero-content .btn {
margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #78a778;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
}

.hero .btn:hover {
   background-color: #78a778;         /* vert Jardin-Rêve au hover */
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 8vh; /* remonte la flèche plus haut dans l'écran */
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: bounce 1.6s infinite;
  pointer-events: none; /* évite qu'elle bloque les clics */
}

.arrow-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

/* Animation douce */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

.hero-fallback {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* === INTRODUCTION === */
.intro {
  position: relative;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.65); /* Fond plus opaque pour lisibilité */
  text-align: center;
}

.intro .container {
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
  font-size: 1.1rem;
  color: #fdfdfd;
}
/* === Citation d’introduction === */
.intro-quote {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #f7f7f7;
  text-align: center;
  margin: 3rem auto 2rem;
  max-width: 900px;
  line-height: 1.6;
  position: relative;
}

.intro-quote::before,
.intro-quote::after {
  content: "❝";
  color: #e5803d; /* orange signature */
  font-size: 2rem;
  position: relative;
  top: 6px;
  margin: 0 6px;
  opacity: 0.8;
}

.intro-quote::after {
  content: "❞";
}
/* === GALERIE === */

.galerie {
  background-color: rgba(40, 40, 40, 0.85); /* blanc presque opaque */
  color: #fdfdfd; /* texte clair pour contraster */
   padding: 60px 20px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(40, 40, 40, 0.9));

}

.section-title {
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  position: relative;
}

.filters {
  text-align: center;
  margin-bottom: 30px;
}

.filters button {
  background: none;
  border: 2px solid #8cc63f;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  border-radius: 20px;
  color: #8cc63f;
  font-weight: bold;
  transition: all 0.3s ease;
}

.filters button.active,
.filters button:hover {
  background-color: #8cc63f;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px 60px;
  max-width: 1200px;
  margin: auto;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative; /* nécessaire pour z-index */
  z-index: 1; /* valeur de base */
}

.grid-item:hover {
  transform: scale(1.73);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10; /* passe au-dessus des autres */
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.caption {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 15px;
  position: absolute;
  bottom: 0;
  width: 100%;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.grid-item:hover img {
  transform: scale(1.0);
}

.grid-item:hover .caption {
  opacity: 1;
}

  
/* === RESEAUX === */
 .reseaux {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
  
  color: #2b2b2b;
}

.reseaux h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.reseaux p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reseaux-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.reseaux-list li a {
  font-weight: 600;
  text-decoration: none;
  color: #2a5d3f;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.reseaux-list li a:hover {
  border-color: #2a5d3f;
}


/* === VISITE 3D === */
.visite-3d {
  text-align: center;
  padding: 60px 20px;  
background-color: rgba(255, 255, 255, 0.85); /* blanc avec légère transparence */

   color: #333;
}

.visite-3d h2 {
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.viewer iframe {
  width: 90%;
  height: 500px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === CALL TO ACTION === */
.cta {
  background-color: #3a5230;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-content .btn {
  background-color: #8cc63f;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.cta-content .btn:hover {
  background-color: #6fa12c;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #ffffffcc; /* blanc doux si fond sombre */
  font-style: italic;
}
/* ==================== ----------------------MENU NAVIGATION ------------------------------==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(161, 158, 158, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
}

/* MENU PRINCIPAL */
.menu {
    display: flex;
    gap: 20px;
}

/* Liens du menu */
.menu a {
    color: white;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ==================== MENU MOBILE ==================== */
.menu-toggle {
    display: none; /* Caché en version desktop */
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Masquer le menu principal en mode mobile par défaut */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(161, 158, 158, 0.95); /* Même couleur que la navbar */
        text-align: center;
        padding: 10px 0;
    }

    /* Afficher le menu mobile lorsqu'il est actif */
    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block; /* Rendre visible l'icône hamburger */
    }
}

}
