/* Reset + base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  color: white;
  background-color: #f4efe8;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;

}



/* Americana (OTF) */
@font-face {
  font-family: 'Americana';
  src: url('../fonts/AirAmericana.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Micro (TrueType) */
@font-face {
  font-family: 'Micro';
  src: url('/assets/fonts/MicroFLF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Micro';
  src: url('../fonts/MicroFLF-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Micro';
  src: url('../fonts/MicroFLF-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Micro';
  src: url('../fonts/MicroFLF-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Rounded';
  src: url('../fonts/Rounded_Elegance.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thyssen';
  src: url('../fonts/Thyssen_J_Italic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}


/* Titres en Americana */
h1, h2, .titre {
  font-family: 'Thyssen', serif;
}

/* Menu en Micro */
nav, .navbar, nav a {
  font-family: 'Rounded', sans-serif;
}





/* --------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: transparent;
  transition:
    background 0.3s ease,
    padding 0.3s ease;
  z-index: 999;
}

/* --- INITIAL STATE --- */
.navbar .logo img {
  height: 150px;
  transition: height 0.3s ease;
}

.navbar .site-title {
  font-size: 3.5rem;
  font-weight: bold;
  transition: font-size 0.3s ease;
}

/* --- SCROLLED STATE --- */
.navbar.scrolled {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
}
.navbar.scrolled .logo img {
  height: 80px;
}
.navbar.scrolled .site-title {
  font-size: 2rem;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nav links */
nav a {
  margin-left: 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
}

/* ===== MENU HAMBURGER + DROPDOWN ===== */
nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown.open .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.dropdown.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.dropdown.open .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.dropdown-menu {
  min-width: 100px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;

}
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  white-space: nowrap;
  text-align: left;
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}
.dropdown-menu li a:hover {
  background: transparent;
}
.dropdown-menu li:hover {
  background: rgba(0, 0, 0, 0.05);
}




/* ----------------------------------
   RESPONSIVE POUR TABLETTES
   ECRANS ≤ 1024px
   ---------------------------------- */
@media only screen and (max-width: 1024px) {
  /* Ajustez la valeur en fonction de la hauteur
   de votre navbar (padding + hauteur du logo) */
  body,
  main,
  .content {
    padding-top: calc(50px + 40px); /* 150px de logo + 20px de padding top/bottom */
    background: #888888;
  }
  .hamburger {
    color: #fff;            /* toujours blanc par défaut */
  }

  /* On peut réduire un peu la taille de la navbar */
  .navbar {
    padding: 12px 20px;
  }

  /* On cache les liens et on n’affiche que le hamburger */
  .navbar nav > a {
    display: none !important;
  }
  .dropdown {
    display: block;
    margin-left: 0;
    margin-right: 20px;
  }
  .dropdown-menu li a {
    font-size: 0.9rem;  /* ou 14px, 0.85em… à ajuster selon vos goûts */
  }

  /* Taille du logo un peu réduite */
  .navbar .logo img {
    height: 80px;
  }
  .navbar.scrolled .logo img {
    height: 60px;
  }
}



@media only screen and (max-width: 576px) {
  body,
  main,
  .content {
    padding-top: calc(50px + 40px);
  }

  .navbar {
    padding: 8px 15px;
    height: auto;
    min-height: 60px;
    display: flex;
    flex-direction: row; /* Force l'alignement horizontal */
    justify-content: space-between; /* This ensures logo and menu are on opposite sides */
    align-items: center; /* Vertically centers items */
    width:100%;
    box-sizing: border-box;
  }

  /* Hide all nav links except dropdown */
  .navbar nav > a {
    display: none !important;
  }

  /* Position dropdown correctly */
  .dropdown {
    margin: 0;
    display: flex;
    align-items: center;

  }

  /* Adjust dropdown menu position */
  .dropdown-menu {
    right: 0;
    left: auto;
    top: 100%; /* Position below the hamburger */
    margin-top: 10px; /* Small gap from hamburger */
    width: auto;
    min-width: 180px;
  }

  /* Logo adjustments */
  .navbar .logo img {
    height: 80px;
  }
  .navbar.scrolled .logo img {
    height: 50px;
  }

  /* Title adjustments */
  .navbar .site-title {
    font-size: 1.2rem;
  }
  .navbar.scrolled .site-title {
    font-size: 1.0rem;
  }
}















/* ========= HERO CONTAINER ========= */
.hero {
  position: relative;
  overflow: hidden;
}

/* ========= IMAGE & WRAPPER ========= */
.hero-bg {
  position: relative;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========= TEXT ON THE IMAGE ========= */
.hero-text {
  position: absolute;

  bottom: 10%;        /* distance du bas : ajuste selon ton goût */
  left: 50%;          /* centre horizontal */
  opacity: 0;
  text-align: center;
  transform: translateX(-50%) translateY(20px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.hero-text.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========= STYLES OF CONTENT ========= */
.hero-text h1 {
  font-size: 5em;
  margin-bottom: 40px;
}
.hero-text p {
  font-size: 1.7em;
  margin-bottom: 10px;
}


/*----------------------------------------
   RESPONSIVE : TABLETTE (<992px)
----------------------------------------*/
@media screen and (max-width: 992px) {
  .hero-text {
    top: 18%;
    left: 4%;
    max-width: 80%;
  }
  .hero-text h1 {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .hero-text p {
    font-size: 1em;
    margin-bottom: 8px;
  }
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .hero-text {
    top: 15%;
    left: 5%;
    transform: translateX(-40px) translateY(-20%);
    max-width: 90%;
    padding: 0 10px;
  }
  .hero-text.visible {
    transform: translateX(0) translateY(-20%);
  }
  .hero-text h1 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .hero-text p {
    font-size: 1em;
    margin-bottom: 6px;
  }
}





/* ================== ABOUT HERO ================== */
.hero-base {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180vh;                                    /* FULL SCREEN */
  /* WE READ THE SPECIFIC CSS VARIABLE FOR THE IMAGE BACKGROUND */
  background: var(--hero-bg) no-repeat center/cover;
  overflow: hidden;
  color: #fff;
}

/* Overlay sombre */
.hero-base::before {
  content: "";
  position: absolute;
  inset: 0;                                             /* top/right/bottom/left = 0 */
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* ====== HERO-TEXT : RESET DES CONFLITS ====== */
.hero-base .hero-text {
  /* Cancel top/left from the generic rule */
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;                                           /* above the overlay */
  text-align: center;
  max-width: 800px;
  padding: 0 60px;                                      /* inside lateral space */
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.2s ease-out,
  transform 1.2s ease-out;
}

.hero-base .hero-text.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ====== TYPOGRAPHIE ====== */
.hero-base .hero-text h1 {
  font-size: 3em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-base .hero-text p {
  font-size: 1.5em;
}



/*----------------------------------------
   RESPONSIVE : TABLETTE (<992px)
----------------------------------------*/
@media screen and (max-width: 992px) {
  .hero-base {
    min-height: 80vh;
    background-position: center top;
  }
  .hero-base .hero-text {
    max-width: 650px;
    padding: 0 40px;
    transform: translateX(-40px);
  }
  .hero-base .hero-text.visible {
    transform: translateX(0);
  }
  .hero-base .hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 18px;
  }
  .hero-base .hero-text p {
    font-size: 1.2em;
  }
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .hero-base {
    min-height: 60vh;
  }
  .hero-base .hero-text {
    max-width: 90%;
    padding: 0 20px;
    transform: translateX(-20px);
  }
  .hero-base .hero-text.visible {
    transform: translateX(0);
  }
  .hero-base .hero-text h1 {
    font-size: 2em;
    margin-bottom: 16px;
  }
  .hero-base .hero-text p {
    font-size: 1em;
  }
}








/* ========= EXPERIENCE SECTION MAIN PAGE ========= */
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  object-fit: cover;
  display: block;
  height: auto;
}

.card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  box-sizing: border-box;
}
.card-text h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2em;
}

/* === make the entire card clickable without link decoration === */
a.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

a.card:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card.fully-booked::after {
  content: "Fully Booked";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  text-align: center;
  pointer-events: none; /* pour que le lien ne soit plus cliquable si souhaité */
}

.card.fully-booked img {
  filter: grayscale(80%) brightness(0.6);
}





/*----------------------------------------
   RESPONSIVE : TABLETTE (<992px)
----------------------------------------*/
@media screen and (max-width: 992px) {
  .card {
    width: calc(50% - 20px);
    margin: 10px;
  }
  .card-text {
    padding: 10px;
  }
  .card-text h3 {
    font-size: 1.1em;
  }
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .card {
    width: 90%;
    margin: 10px auto;
  }
  .card-text {
    padding: 8px;
  }
  .card-text h3 {
    font-size: 1em;
  }
}

/* ==== EN-TÊTE FILTRES ==== */
.experience-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.filter-buttons {
  display: flex;
  gap: 12px;
}

.filter-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.filter-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
  color: #000;
  background: rgba(0, 0, 0, 0.1);
}

/* Hiding not chosen cards */
.hidden {
  display: none !important;
}

/* 1) Flex et overflow-x */
.experience-cards {
  display: flex;
  flex-wrap: nowrap;          /* all the cards on the same line */
  justify-content: center;
  overflow-x: auto;           /* activate horizontal scroll */
  gap: 20px;                  /* same horizontal space between the cards */
  padding: 60px 20px 30px 20px;       /* top 60px / left 20px / bottom 30px / right 20px */
  scroll-behavior: smooth;
  scroll-padding-left: 20px;
  scroll-padding-right: 20px;
}

.experience-cards .card {
  flex: 0 0 auto;             /* no shrink nor grow */
  scroll-snap-align: start;
}

/* When the container overflows, switch to left alignment */
.experience-cards.scrollable {
  justify-content: flex-start;
}

.experience-cards::-webkit-scrollbar {
  height: 6px;
}
.experience-cards::-webkit-scrollbar-track {
  background: transparent;
}
.experience-cards::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.experience-title {
  background-color: #f4efe8;
  color: #000;
  padding: 40px 20px 0 20px;
}

.experience-title h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-left: 40px;
}



/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  /* Empilement des filtres */
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 15px;
  }
  .filter-buttons {
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }
  .filter-btn {
    font-size: 0.95rem;
    padding: 2px 6px;
  }

  /* Cartes d’expérience adaptées */
  .experience-cards {
    gap: 12px;
    padding: 20px 10px 20px 10px;
  }
  .experience-cards .card {
    flex: 0 0 40%;
    max-width: 240px;
    margin: 0 auto;
  }
}


/* === Preview Events sur index.html === */
.events-preview {
  background-color: #f4efe8;   /* same beige background */
  padding: 40px 20px 60px;     /* top/bottom + lateral space */
  margin: 0 auto;              /* center block */
  max-width: none;
}

/* same event grid */
#events-preview .events-grid.preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* same cards as events.html */
#events-preview .event-card {
  background: #fff;
  color: #002d32;
  border-radius: 10px;
  padding: 16px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Date, title, text */
#events-preview .event-date {
  font-weight: bold;
  color: #cc6d3d;
  margin-bottom: 8px;
}
#events-preview .event-card h3 {
  margin: 0 0 6px;
  font-size: 1.1em;
}
#events-preview .event-card p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Centered button */
#events-preview .show-more-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* === Preview Reviews on index.html, without grey boxes === */
.reviews-preview {
  background-color: #f4efe8;   /* same beige as .experience-title */
  box-shadow: none;            /* no shadow  */
  padding: 30px 40px;          /* top/bottom + lateral space */
  margin: 0 auto;
  max-width: none;
}

/* We keep the existing grid but target it with a new ID */
#reviews-cards-preview .reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Centering of the button below the 3 cards */
#reviews-cards-preview .show-more-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* keep the left alignment of the title */
#reviews-preview h2 {
  margin-left: 40px;
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  /* Events Preview */
  .events-preview {
    padding: 20px 10px 40px;
  }
  #events-preview .events-grid.preview {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  #events-preview .event-card {
    padding: 12px 10px;
  }
  #events-preview .event-date {
    margin-bottom: 6px;
  }
  #events-preview .event-card h3 {
    font-size: 1em;
    margin-bottom: 4px;
  }
  #events-preview .event-card p {
    font-size: 0.9em;
    line-height: 1.3;
  }
  #events-preview .show-more-btn {
    margin: 20px auto 0;
  }

  /* Reviews Preview */
  .reviews-preview {
    padding: 20px 15px;
  }
  #reviews-cards-preview .reviews-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  #reviews-cards-preview .show-more-btn {
    margin: 20px auto 0;
  }
  #reviews-preview h2 {
    margin-left: 20px;
    font-size: 1.5em;
  }
}




/* === Preview Gallery on index.html === */
.gallery-preview {
  background-color: #f4efe8;
  box-shadow: none;
  padding: 30px 40px;
  margin: 0 auto;
  max-width: none;
}

#gallery-preview .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* fits thumbnails to grid */
#gallery-preview .gallery-item {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#gallery-preview .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* button centered under the thumbnails */
#gallery-preview .show-more-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* Automatically centers all .show-more-btn */
.show-more-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}


/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .gallery-preview {
    padding: 20px 15px;
  }

  #gallery-preview .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  #gallery-preview .gallery-item {
    /* keep aspect ratio, but ensure full width */
    width: 100%;
  }

  /* Reduce space under buttons */
  #gallery-preview .show-more-btn,
  .show-more-btn {
    margin: 20px auto 0;
  }
}
















/*====== ABOUT US ======== */
.about-hero {
  /* Loading the chosen background image */
  --hero-bg: url('../img/homeBackground.jpeg');
}
/* Main content */
.about-main {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}


/* —————————— 1) GRID LAYOUT —————————— */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "who   offer"
    "why   vision"
    "meet  meet";
  gap: 80px;               /* space between the blocs */
  padding: 40px 20px;
}

/* Placing sections in the grid */
.section-who    { grid-area: who; }
.section-offer  { grid-area: offer; }
.section-why    { grid-area: why; }
.section-vision { grid-area: vision; }
.section-meet   { grid-area: meet; }



/* ——————— 2) CONTENT SECTION ——————— */
.content-section {
  margin: 0;
  max-width: 900px;
  padding: 60px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}


.content-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

/* —————— 3) TITLE & ACCENTS —————— */
.content-section h2 {
  font-size: 2.4em;
  margin-bottom: 24px;
  letter-spacing: 1px;
  position: relative;
}
.content-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #cc6d3d;
  margin-top: 8px;
  border-radius: 2px;
}

/* ————— 4) PARAGRAPHS & LISTS ————— */
.content-section p {
  font-size: 1.15em;
  line-height: 1.8;
  color: #334444;
  margin-bottom: 24px;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
.content-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}
.content-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #cc6d3d;
  font-size: 1.4em;
  line-height: 1;
}

/* ————— 5) STYLISH BLOCKQUOTE ————— */
.content-section blockquote {
  font-style: italic;
  border-left: 4px solid #cc6d3d;
  padding-left: 16px;
  margin: 32px 0;
  color: #555;
}

/* Responsive: stacking on mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "who"
      "offer"
      "why"
      "vision"
      "meet";
    gap: 40px;
    padding: 20px 10px;
  }

  .content-section {
    padding: 40px 20px;        /* au lieu de 60px 40px */
    max-width: 100%;           /* s’assure qu’elles remplissent bien l’écran */
  }

  /* Titres un peu plus compacts */
  .content-section h2 {
    font-size: 1.8em;          /* au lieu de 2.4em */
    margin-bottom: 16px;       /* légèremen raccourci */
  }

  /* Paragraphes et listes allégés */
  .content-section p {
    font-size: 1em;            /* au lieu de 1.15em */
    line-height: 1.6;          /* plus serré */
    margin-bottom: 16px;
  }
  .content-section ul li {
    font-size: 1em;            /* au lieu de 1.1em */
    line-height: 1.4;
    margin-bottom: 8px;
  }

  /* Hero : texte principal réduit */
  .about-hero .hero-text h1 {
    font-size: 1.6em;          /* adapte la taille du titre */
  }
  .about-hero .hero-text p {
    font-size: 0.9em;
  }

  /* Boutons plus petits et alignés verticalement */
  .cta-buttons {
    flex-direction: column;
    gap: 12px;                 /* moins d’espacement horizontal */
    margin-top: 20px;
  }
  .cta-buttons .btn {
    padding: 10px 18px;        /* au lieu de 14px 28px */
    font-size: 0.95em;
  }
}





/* Call to action buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.btn {
  background: #cc6d3d;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover {
  background: #b35b32;
}

.cta-buttons .btn {
  background: linear-gradient(45deg, #cc6d3d, #e0925b);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition:
    background-position 0.5s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background-size: 200% 200%;
  background-position: 0 0;
}
.cta-buttons .btn:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

















.logo-link,
.logo-link:hover,
.logo-link:visited {
  text-decoration: none;
  color: inherit;
}

/* Disables the link style on the logo */
a.logo {
  text-decoration: none; /* no underlying */
  color: inherit;        /* keep the same color as the parent */
}

a.logo:hover,
a.logo:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
  cursor: pointer;       /* keep the hand cursor */
}











/* ======= CONTACT US ======*/
.contact-hero {
  --hero-bg: url('../img/gallery/photo21.jpeg');
}
/* ———————— CONTACT PAGE GRID ———————— */
/* —————— 1) GRID SIMPLIFIÉE —————— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 40px;               /* spaces between the boxes */
  padding: 60px 20px;
}

/* 1.1) General & Booking full width */
.section-general,
.section-booking {
  grid-column: 1 / -1;     /* occupies 2 columns */
}

.section-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* —————— 2) BOX SIZE AND SPACING —————— */
.content-section {
  margin: 0;
  padding: 50px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* micro-hover more subtil */
.content-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* —————— 3) TYPOGRAPHIE ET ACCENTS —————— */
.content-section h2 {
  font-size: 2em;
  margin-bottom: 16px;
  position: relative;
}
.content-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #cc6d3d;
  margin-top: 6px;
  border-radius: 2px;
}


.content-section p,
.content-section ul {
  margin-bottom: 20px;
  line-height: 1.6;
}
.content-section ul li {
  padding-left: 24px;
}
.content-section ul li::before {
  left: 0;
  font-size: 1.2em;
}

/* —————— 4) RESPONSIVE —————— */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 30px 10px;
    gap: 30px;
  }
  /* no more full-width on mobile */
  .section-general,
  .section-booking {
    grid-column: auto;
  }
}


/* ======= BLOGS ====== */
.blogs-hero {
  --hero-bg: url('../img/homeBackground.jpeg');
}

.reviews-main {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

/* Content section wrapper */
.blogs-main .content-section {
  max-width: 1400px;
  width: 100%;
  margin: 40px auto;
  padding: 60px 20px;
}

/* Container des cartes : colonne verticale, centrée, espacement */
.blogs-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
}

/* Chaque carte s’étend largement mais reste limitée */
.blogs-card {
  width: 100%;
  max-width: 800px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  box-sizing: border-box;
}

/* Titre cliquable avec flèche */
.blogs-name {
  cursor: pointer;
  position: relative;
  padding-right: 24px;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #4a4a4a;
}

.blogs-name::after {
  content: '▸';
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Texte masqué par défaut, mais occupe toute la largeur du contenu */
.blogs-text {
  display: none;
  width: 100%;
  margin-top: 12px;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

/* Au clic : on déploie le texte et on fait pivoter la flèche */
.blogs-card.expanded .blogs-text {
  display: block;
}

.blogs-card.expanded .blogs-name::after {
  transform: rotate(90deg);
}

/*----------------------------------------
   RESPONSIVE : TABLETTE (<992px)
----------------------------------------*/
@media screen and (max-width: 992px) {
  .reviews-main .content-section {
    padding: 50px 20px;
  }
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .reviews-main .content-section {
    padding: 40px 10px;
  }

  .blogs-cards {
    gap: 16px;
  }

  .blogs-card {
    padding: 16px;
  }

  .blogs-name {
    font-size: 1.1em;
  }

  .blogs-text {
    font-size: 0.95em;
    line-height: 1.4;
  }
}







/* === REVIEWS PAGE === */
.reviews-hero {
  --hero-bg: url('../img/homeBackground.jpeg');
}



/* Stars */
.review-stars {
  font-size: 1.1em;
  color: #cc6d3d;   /* Same color as the button */
}

/* === Reviews Page – Layout des cartes === */
.reviews-main .reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* === Review Card Styling === */
.review-card {
  background: #ffffff;
  color: #002d32;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-card .reviewer-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
}

.review-stars {
  margin-bottom: 12px; /* espace sous les étoiles */
}

.review-text {
  font-size: 1em;
  line-height: 1.6;
  color: #334444;
}

/* === Tablette (≤ 992px) === */
@media screen and (max-width: 992px) {
  .reviews-main .reviews-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === Smartphone (≤ 576px) === */
@media screen and (max-width: 576px) {
  .reviews-main .reviews-cards {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .review-card {
    max-width: 90%;
    margin: 0 auto;
    padding: 16px;
  }
  .review-card .reviewer-name {
    font-size: 1.1em;
  }
  .review-text {
    font-size: 0.95em;
  }
}
















/* === GALLERY PAGE === */
.gallery-hero {

  --hero-bg: url('../img/homeBackground.jpeg');
}


.gallery-main {
  background-color: #f4efe8;
  padding: 60px 20px 80px;
}


.gallery-section {
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-section h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-left: 40px;
  color: #002d32;
}


/* === Masonry-style Gallery === */
.gallery-grid {
  column-count: 3;
  column-gap: 16px;
  margin: 30px 40px 0;
}

/* Each item becomes an inline block in the column */
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid; /* avoid image breakage between columns */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-anim,
.section-in-left,
.section-in-right {
  opacity: 1 !important;         /* rend visible */
  transform: none !important;    /* pas de décalage */
  transition: none !important;   /* plus d’animation */
}
/* The image keeps its natural ratio*/
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hover effect always active */
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}



/* == Responsivity == */
/* 2 columns under 1024px */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}
/* 1 column under 600px */
@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
    display: flex;
    flex-direction: column;
  }

  .section-anim,
  .section-in-left,
  .section-in-right {
    opacity: 1 !important;         /* rend visible */
    transform: none !important;    /* pas de décalage */
    transition: none !important;   /* plus d’animation */
  }
}















/* === Page Events === */
.events-hero {
  /* on charge l’image spécifique via une variable CSS */
  --hero-bg: url('../img/homeBackground.jpeg');
}

.events-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;               /* espace entre les deux blocs */
  max-width: 1400px;       /* même largeur max que les autres sections */
  margin: 0 auto;          /* centre la grille dans la page */
  padding: 40px 20px 60px; /* respirations interne */
}

/* Grille d’événements */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* Carte événement */
.event-card {
  background: #fff;
  color: #002d32;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Date */
.event-date {
  font-weight: bold;
  margin-bottom: 12px;
  color: #cc6d3d;
}

/* Titre & description */
.event-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.2em;
}
.event-card p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

/* Hover léger */
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Uniformisation des sections */
.content-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 20px;
}
.content-section h2 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #002d32;
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  /* Empilement en une seule colonne */
  .events-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 10px 40px;
  }

  /* Grille de mini-cartes en colonne */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  /* Ajustement des cartes */
  .event-card {
    padding: 16px 12px;
  }
  .event-card h3 {
    font-size: 1.1em;
  }
  .event-card p {
    font-size: 0.95em;
    line-height: 1.4;
  }

  /* Sections generiques */
  .content-section {
    padding: 20px 10px;
  }
  .content-section h2 {
    font-size: 1.8em;
    margin-bottom: 16px;
  }
}












/* === Page Produit: Wellness & Mindfulness Retreat === */
.productMindfullness-hero {
   --hero-bg: url('../img/package/wellness&mindullRetreat.png');
 }

.productBalanced-hero {
  --hero-bg: url('../img/package/balancedFitness.png');
}


.productBioHacking-hero {
  --hero-bg: url('../img/package/mentalResistance&Biohacking.png');
}

.productTeamBuilding-hero {
  --hero-bg: url('../img/package/teamBuilding.png');
}

.productContentCreator-hero {
  --hero-bg: url('../img/package/contentCreator.png');
}

.productSustainability-hero {
  --hero-bg: url('../img/package/sustainability.png');
}

.productArtCulture-hero {
  --hero-bg: url('../img/package/artCultureHeritage.png');
}

.productFamily-hero {
  --hero-bg: url('../img/package/FamilyFriendlyCulturalHoliday.png ');
}

.productFitnessExtreme-hero {
  --hero-bg: url('../img/package/extremFitness.png');
}
.productEliteAdventures-hero {
  --hero-bg: url('../img/package/eliteAdventures.png');
}























/* Conteneur principal */
.product-main {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 20px 80px;
  background-color: #f4efe8;  /* même beige que vos content-sections */
  color: #002d32;
}

/* Info & pricing */
.product-info {
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
  font-size:1rem;
}
.product-info p {
  font-size: 1.25em;
  line-height: 1.6;
  margin: 20px 0;
  color: #002d32;
}
.pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}
.price-tag {
  font-size: 2em;
  font-weight: bold;
  color: #cc6d3d;
}

/* Itinéraire */
.product-schedule .schedule-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
}
.schedule-list li {
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #fff;
  color: #002d32;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  font-size: 1.2em;    /* augmentez jusqu’à la taille souhaitée */
  line-height: 1.6;    /* pour plus de lisibilité */
}
.schedule-list li strong {
  color: #cc6d3d;
}

/* Galerie produit (aperçu) */
.product-gallery .preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 20px auto 0;
}
.product-gallery .gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-gallery .gallery-item img {
  width:100%;
  height:100%;
  object-fit: cover;
}

/* Comments produit (réutilise vos review-card) */
.product-comments {
  max-width: 900px;
  margin: 0 auto;
}
.product-comments .reviews-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Titres de section plus gros sur la page produit */
.product-main h2 {
  font-size: 2.4em;   /* ou la valeur qui vous convient (2em, 2.5em...) */
  margin-bottom: 0.6em;
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  /* Conteneur principal : moins d’espacement */
  .product-main {
    padding: 20px 10px 40px;
    gap: 40px;
  }

  /* Info & pricing : texte plus petit, empilement */
  .product-info {
    max-width: 90%;
    padding: 0 10px;
  }
  .product-info p {
    font-size: 1em;
  }
  .pricing {
    flex-direction: column;
    gap: 10px;
  }
  .price-tag {
    font-size: 1.6em;
  }

  /* Itinéraire : items plus compacts */
  .product-schedule .schedule-list {
    padding: 0;
  }
  .schedule-list li {
    padding: 10px 14px;
    font-size: 1em;
    line-height: 1.4;
  }

  /* Galerie produit : une colonne */
  .product-gallery .preview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Comments produit : une colonne */
  .product-comments .reviews-cards {
    grid-template-columns: 1fr;
  }

  /* Titres de section plus petits */
  .product-main h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }
}

/* ====== FITNESS PACKAGES ======= */
/* ——— Sélecteur de difficulté ——— */
.difficulty-selector {
  display: flex;
  gap: 10px;
  align-items: center;
}

.difficulty-option {
  display: inline-block;
  font-size:1.3rem;
}

.difficulty-option input {
  display: none;
}

.difficulty-option span {
  display: inline-block;
  border: 2px solid #cc6d3d;
  border-radius: 4px;
  padding: 6px 12px;
  color: #cc6d3d;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.difficulty-option input:checked + span {
  background-color: #cc6d3d;
  color: #fff;
}

/*----------------------------------------
   RESPONSIVE : MOBILE (<576px)
----------------------------------------*/
@media screen and (max-width: 576px) {
  .difficulty-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .difficulty-option span {
    padding: 4px 10px;
    font-size: 0.9rem;
    text-align: center;
  }
}



/* — Texte qui apparaît sous le prix selon le niveau sélectionné — */
.level-title{
  font-size:2rem;
  padding: 10px;
  margin-left:-80px;
}

.level-description {
  text-align: left;
  margin: 0 auto;
  font-size:1.1rem;
}
.level-description__item {
  display: none;
  font-size: 1.2em;
  line-height: 1.4;
  color: #334444;
  padding: 0 10px;
}
.level-description__item.active {
  display: block;
}

.level-goal{
  margin-bottom: 15px;
}


/* Décaler les puces sous “Expectations” */
.expectations-list {
  /* espace avant la première puce */
  padding-left: 3rem;
  /* ou, selon le rendu que vous préférez :
  margin-left: 1.5rem;
  */
  /* facultatif : si vous voulez que le texte de chaque li soit aligné sous la puce */

}

/* et si besoin, ajustez la position de la puce elle-même */
.expectations-list {
  list-style-position: outside;
}












/* ======== ANIMATIONS ========*/
/* état initial : invisible et légèrement “décalé” */
.section-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* état final : visible et à sa place */
.section-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* slide-in depuis la gauche */
.section-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.section-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* slide-in depuis la droite */
.section-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.section-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Entrée animée (avec homePageAnimation.js) */
.section-anim { opacity: 0; transform: translateY(40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.section-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s ease-out, transform 1s ease-out; }
.section-in-right { opacity: 0; transform: translateX(40px); transition: opacity 1.2s ease-out, transform 1.2s ease-out; }
.section-anim.visible,
.section-in-left.visible,
.section-in-right.visible {
  opacity: 1; transform: translate(0);
}










/* ==== SIGN UP ===== */
/* conteneur du formulaire centré et responsive */
.signup-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Titre */
.signup-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0b3d36;
  position: relative;
}
.signup-container h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #cd6b32;
  margin-top: 6px;
}

/* Styles généraux du form */
.signup-container form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
.signup-container form input,
.signup-container form button {
  font-family: 'Tinos', serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Champ full-width sur les deux colonnes */
.signup-container form input:nth-last-child(3),
.signup-container form input:nth-last-child(2),
.signup-container form input:nth-last-child(1) {
  grid-column: 1 / -1;
}

/* Bouton sur deux colonnes */
.signup-container form .btn {
  grid-column: 1 / -1;
  background: #cd6b32;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.signup-container form .btn:hover {
  background: #b35a28;
}

/* Message d’erreur/succès */
#message {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Responsive tablettes */
@media (max-width: 768px) {
  .signup-container {
    margin: 40px 20px;
    padding: 30px;
  }
  .signup-container form {
    grid-template-columns: 1fr;
  }
}

/* Responsive smartphones */
@media (max-width: 480px) {
  .signup-container {
    margin: 20px 10px;
    padding: 20px;
  }
  .signup-container h2 {
    font-size: 1.5rem;
  }
  .signup-container form input,
  .signup-container form button {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}


/* ========= Auth pages (signup + login) ========= */
.auth-page {
  /* on s’assure que la navbar reste visible et foncée */
}
.auth-page .navbar {
  position: fixed;      /* garde la navbar en haut si ce n’est pas déjà le cas */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);  /* fond sombre semi-transparent */
  backdrop-filter: blur(8px);      /* effet de flou derrière la navbar */
  z-index: 1000;
  transition: background 0.3s;
}

/* décale tout le contenu sous la navbar fixe */
.auth-page main {
  margin-top: 300px;   /* ajustez selon la hauteur réelle de votre navbar */
  padding-bottom: 40px;
}

/* sur mobile/tablette, on réduit la marge */
@media (max-width: 768px) {
  .auth-page main {
    margin-top: 100px;
  }
}








/* ===== login page ====== */
/* ================================================
   Conteneur du form login (même style que signup)
   ================================================ */
.login-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Titre */
.login-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0b3d36;
  position: relative;
}
.login-container h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #cd6b32;
  margin-top: 6px;
}

/* Mise en grille du form */
.login-container form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}

/* Inputs & bouton */
.login-container form input,
.login-container form button {
  font-family: 'Tinos', serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}


/* 2) Autoriser la grille à rapetisser correctement les items */
/*    (évite que les inputs restent trop larges à cause du placeholder) */
.login-container form input {
  min-width: 0;
}


/* Bouton full-width sous les champs */
.login-container form .btn {
  grid-column: 1 / -1;
  background: #cd6b32;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.login-container form .btn:hover {
  background: #b35a28;
}

/* Message d’erreur / succès */
#message {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ===================================
   Responsive tablettes (≤768px)
   =================================== */
@media (max-width: 768px) {
  .login-container {
    margin: 40px 20px;
    padding: 30px;
  }
  .login-container form {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Responsive mobiles (≤480px)
   =================================== */
@media (max-width: 480px) {
  .login-container {
    margin: 20px 10px;
    padding: 20px;
  }
  .login-container h2 {
    font-size: 1.5rem;
  }
  .login-container form input,
  .login-container form button {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}











/* ==== DASHBOARD  ===== */
/* dashboard.css */

/* Conteneur principal */
.dashboard-container {
  max-width: 1200px;
  margin: 120px auto 40px;
  padding: 0 20px;
}

/* Titre de bienvenue */
.welcome h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #002d32;
}

/* Sections Voyages */
.trips-section {
  margin-top: 40px;
}
.trips-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #cc6d3d;
}

/* Grille de cartes de voyages */
.trips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}

/* Carte individuelle */
.trip-card {
  background: #fff;
  color: #002d32;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Dates du voyage */
.trip-dates {
  font-weight: bold;
  color: #4a4a4a;
  margin-bottom: 8px;
}

/* ---------------------------------------- */
/* Media Queries pour tablettes et mobiles */
/* ---------------------------------------- */

/* Tablette (portrait) et petits écrans de bureau */
@media (max-width: 992px) {
  .dashboard-container {
    margin: 100px auto 30px;
    padding: 0 16px;
  }

  .welcome h1 {
    font-size: 1.8rem;
  }

  .trips-section h2 {
    font-size: 1.6rem;
  }

  .trips-list {
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 16px;
  }

  .trip-card {
    padding: 16px;
  }
}

/* Tablette (paysage) et plus petits tablettes */
@media (max-width: 768px) {
  .dashboard-container {
    margin: 80px auto 25px;
    padding: 0 12px;
  }

  .welcome h1 {
    font-size: 1.6rem;
  }

  .trips-section h2 {
    font-size: 1.4rem;
  }

  .trips-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Smartphones */
@media (max-width: 576px) {
  .dashboard-container {
    margin: 60px auto 20px;
    padding: 0 10px;
  }

  .welcome h1 {
    font-size: 1.4rem;
    text-align: center;
  }

  .trips-section h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .trips-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .trip-card {
    padding: 14px;
  }


}


/* ────────────────────────────────────────── */
/* Styles uniquement sur la page Dashboard   */
/* ────────────────────────────────────────── */
body.dashboard-page {
  /* Votre dégradé permanent */
  background: linear-gradient(
    135deg,
    #f6d365 0%,
    #fda085 50%,
    #a1c4fd 100%
  ) fixed;
  margin: 0;            /* supprime toute marge par défaut du body */
  min-height: 100vh;
}

body.dashboard-page header .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.6) !important;  /* force le semi-transparent */
  backdrop-filter: blur(6px);
  z-index: 1000;
}

body.dashboard-page .dashboard-container {
  /* on pousse le contenu VERS LE BAS via du padding (pas de blanc !) */
  padding-top: 160px;
  background: transparent;  /* bien transparent pour voir le dégradé */
}

/* si votre h1 a une marge par défaut, on la supprime pour coller au padding */
body.dashboard-page .dashboard-container .welcome h1 {
  margin-top: 0;
}

/* —————————————— */
/* Responsivité     */
/* —————————————— */
@media (max-width: 992px) {
  body.dashboard-page .dashboard-container {
    padding-top: 140px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 768px) {
  body.dashboard-page .dashboard-container {
    padding-top: 120px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 576px) {
  body.dashboard-page .dashboard-container {
    padding-top: 100px;
    padding-left: 10px;
    padding-right: 10px;
  }
  body.dashboard-page header .navbar {
    padding: 10px;
  }
}



/* OTHERS CHANGE*/


/* Modal for image zoom */
#imageModal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none; /* Hidden by default */
}

#imageModal .nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  transform: translateY(-50%);
}

#imageModal .prev {
  left: 20px;
}

#imageModal .next {
  right: 20px;
}

#imageModal.active {
  display: flex; /* Show modal when active */
}

#imageModal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px #fff;
}

#imageModal .close {
  position: fixed;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
#imageModal video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px #fff;
}

.gallery-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  overflow: hidden;
}

.gallery-item img,
.gallery-item video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
