
/* === VARIABLES === */
:root {
    --bg-color: #fcf8f2;
    --bg-alt: #f5ede1;
    --text-color: #2c1b10;
    --title-color: #3b2512;
    --accent-color: #a26a2c; 
    --accent-soft: #ead5b2;
    --border-color: #d6c4a9;
    --radius: 14px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  /* === BASE === */
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.75;
    font-size: 1rem;
    overflow-x: hidden;
  }
  
  /* === STRUCTURE === */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section:nth-child(even) {
    background-color: var(--bg-alt);
  }
  
  /* === TYPOGRAPHIE === */
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--title-color);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  h1 {
    font-size: 3rem;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 40px;
    letter-spacing: 1px;
  }
  
  h2 {
    font-size: 2.2rem;
    background-color: var(--accent-soft);
    padding: 16px 24px;
    border-left: 6px solid var(--accent-color);
    border-radius: var(--radius);
    margin-top: 60px;
    margin-bottom: 24px;
  }
  
  h3 {
    font-size: 1.6rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 16px;
    margin-bottom: 16px;
  }
  
  h4 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 6px;
    color: #5e4934;
  }
  
  /* === BOUTONS === */
  .button {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .button-primary {
    background-color: var(--accent-color);
    color: #fff;
  }
  
  .button-primary:hover {
    background-color: #8d561d;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  
  .button-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
  }
  
  .button-secondary:hover {
    background-color: var(--accent-soft);
    transform: scale(1.02);
  }
  
  /* === CARTES === */
  .card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
  }
  
  /* === ICONES MONOCHROMES === */
  .icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    vertical-align: middle;
    margin-right: 8px;
  }
  
  /* === LISTES === */
  ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  ul li::marker {
    color: var(--accent-color);
  }
  
  /* === NAVIGATION / MENU (exemple) === */
  #dropdownNavbar {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }
  
  .group:hover #dropdownNavbar,
  .group:focus-within #dropdownNavbar {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    .container {
      padding: 24px 16px;
    }
    .section {
      padding: 40px 0;
    }
  }
  /* FOOTER */

  .footer {
    background-color: var(--bg-alt);
    color: var(--text-color);
    padding: 40px 20px 30px;
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
  }
  
  .footer .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-main,
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
    margin-bottom: 16px;
  }
  
  .footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  
  .footer a:hover {
    color: var(--accent-color);
  }
  
  .footer-divider {
    width: 60%;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px auto;
  }
  
  .footer-credit {
    font-size: 0.8rem;
    color: #7a6b5b;
    margin-top: 10px;
  }
  
  /* Responsive mobile */
  @media (max-width: 640px) {
    .footer {
      padding: 30px 16px 20px;
      font-size: 0.85rem;
    }
  
    .footer-main,
    .footer-legal {
      gap: 10px 14px;
    }
  
    .footer-credit {
      font-size: 0.75rem;
    }
  }
  

/* === VARIABLES DE STYLE === */
:root {
  --bg-color: #f7f5f0;
  --text-color: #2b1f12;
  --accent-color: #8c704f;
  --card-height: 360px;
}

/* === HEADER === */
.blog-header {
  padding: 60px 20px 10px;
  background: var(--bg-color);
  text-align: center;
}

.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

.blog-header p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 1rem;
}

/* === SWIPER CONTAINER WITH PERSPECTIVE === */
.swiper {
  padding-bottom: 40px;
  perspective: 1200px; /* Crée une perspective 3D */
  transform-style: preserve-3d; /* Permet aux éléments enfants de se déplacer en 3D */
}

/* === SWIPER SLIDE WITH 3D EFFECT === */
.swiper-slide {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  height: var(--card-height);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.5s ease, box-shadow 0.3s ease; /* Transition fluide pour 3D et ombre */
  transform-style: preserve-3d; /* Maintient la perspective */
}

/* === ZOOM EFFECT FOR IMAGE === */
.swiper-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* === TEXT EFFECT AND ANIMATION === */
.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* === TITLE AND READ MORE EFFECT === */
.card-content h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: bold;
  transition: transform 0.3s ease-in-out;
}

.card-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.read-more {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.3s ease;
}

/* === ADDING 3D EFFECT ON HOVER === */
.swiper-slide:hover {
  transform: rotateY(15deg) translateZ(20px); /* Effet 3D: rotation et translation */
  box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* Ombre plus marquée */
}

/* === IMAGE ZOOM ON HOVER === */
.swiper-slide:hover img {
  transform: scale(1.1); /* Zoom sur l'image */
}

/* === SWIPER BUTTONS === */
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-color);
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  .swiper-slide {
      height: 300px;
  }

  .card-content h3 {
      font-size: 1rem;
  }

  .card-content p {
      font-size: 0.85rem;
  }
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#map {
  height: 600px !important;
  min-height: 600px !important;
  display: block !important;
  z-index: 0;
}

.leaflet-container {
  height: 100%;
  width: 100%;
}

/* Sélecteur spécifique pour la sidebar admin */
aside.sidebar h3 {
  color: #fff !important;
}

/* Et pour tous les liens de la sidebar */
aside.sidebar nav a {
  color: #fff !important;
}

.entete {
  background-color: #f6f6d8;
}

.bgnavprinc{
  background-color: #7c4a03;
}

.btnsup{
    background-color: #7c4a03;
}

a{
  color:rgb(28, 146, 81);
}

.trait-icone {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem; /* équivalent à mb-3 */
}