/* =========================
   ChatLHome - style.css
   ========================= */

/* -------- Reset -------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fbfaf7;
  color: #222;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------- Layout global -------- */
.container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
      HEADER + NAVIGATION
   ========================= */
header {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 94%;
  margin: 0 auto;
  gap: 14px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 75px;
  width: auto;
  display: block;
}

/* Navigation desktop */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
nav a.active {
  color: #b86c00;
}

/* Switch langue */
.lang-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.lang-switch a {
  padding: 6px 10px;
  border: 1px solid #b86c00;
  border-radius: 6px;
  font-weight: 600;
  color: #b86c00;
  text-decoration: none;
  background: #fff;
  transition: 0.25s ease;
}
.lang-switch a:hover,
.lang-switch a.active {
  background: #b86c00;
  color: #fff;
}

/* =========================
     MENU HAMBURGER
   ========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* =========================
            HERO
   ========================= */
.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hotel-pour-chat-bienvenue-drogenbos-dormir.png") center/cover no-repeat;
  filter: blur(10px);
  transform: scale(1.05);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero > * {
  position: relative;
  z-index: 2;
}
.hero-box {
  background: rgba(0,0,0,0.35);
  padding: 30px;
  border-radius: 10px;
  color: #fff;
  max-width: 900px;
}
.hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
}
.hero p {
  font-size: 16px;
  margin-bottom: 18px;
}

/* Bouton */
.btn {
  background: #b86c00;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #8c5400; }

/* =========================
          SECTIONS
   ========================= */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  font-size: 26px;
  color: #b86c00;
  margin-bottom: 18px;
}

/* =========================
           CARDS
   ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(18,18,18,0.05);
  overflow: hidden;
  padding-bottom: 16px;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); }
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card h3 { margin: 12px 16px 6px; font-size: 18px; }
.card p  { margin: 0 16px 8px; font-size: 14px; color: #444; }

/* =========================
        FORMULAIRES (â CENTRÉ)
   ========================= */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;                 /* â centre */
  background: #fff;
  padding: 26px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(18,18,18,0.06);
}

/* Titres dans le formulaire */
.form-wrap h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  color: #7a4a00;
}

/* â Chaque ligne = colonne unique (alignement propre) */
.form-row {
  display: block;                 /* â au lieu de flex */
  margin-bottom: 12px;
}

/* Champs */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

select { cursor: pointer; }

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Messages erreurs JS */
.field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #b00020;
}

/* =========================
        IMAGE ZOOM
   ========================= */
.zoomable { cursor: zoom-in; }

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* =========================
            FOOTER
   ========================= */
footer {
  background: #1f1f1f;
  color: #ddd;
  padding: 26px 0;
  margin-top: 40px;
  text-align: center;
}

/* =========================
          RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile menu */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 999;
  }
  nav ul.open { display: flex; }

  nav ul li { border-bottom: 1px solid #eee; }
  nav ul a  { padding: 14px; display: block; width: 100%; }

  .cards { grid-template-columns: 1fr; }
  .logo img { height: 45px; }
}

/* =========================
        HELPERS
   ========================= */
.center { text-align: center; }
.space-after-kookie { margin-bottom: 60px; }
