/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  background: rgba(255,255,255,0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo { height: 60px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #2f4f2f;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover { color: #6bbf59; }

/* ===== HERO ===== */
.hero {
  height: 100vh;
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 10px; }
.slogan { font-size: 1.2rem; margin-bottom: 20px; }

.btn-primary {
  background: #6bbf59;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: #579d48; }

/* ===== MENU ===== */
.menu { padding: 100px 60px; background: #f8f8f8; text-align: center; }
.menu h2 { color: #2f4f2f; margin-bottom: 30px; }
.menu-categories {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 40px;
}
.menu-btn {
  background: #fff;
  border: 2px solid #6bbf59;
  color: #2f4f2f;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}
.menu-btn:hover,
.menu-btn.active { background: #6bbf59; color: white; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}
.menu-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.menu-item:hover { transform: scale(1.02); }

/* ===== À PROPOS ===== */
.apropos { padding: 100px 60px; background: #fff; }
.apropos-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.apropos-text, .apropos-image { flex: 1 1 300px; }
.apropos-image img { border-radius: 15px; }

/* ===== SERVICES ===== */
.services { padding: 100px 60px; background: #f8f8f8; text-align: center; }
.services h2 { color: #2f4f2f; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 30px; }
.service-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s;
}
.service-item:hover { transform: scale(1.02); }
.service-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 60px; background: #fff; text-align: center; }
.socials a { color: #6bbf59; margin: 10px; font-size: 1.5rem; transition: color 0.3s; }
.socials a:hover { color: #2f4f2f; }

/* ===== FOOTER ===== */
footer { background: #2f4f2f; color: white; text-align: center; padding: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { flex-direction: column; padding: 10px 20px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .menu, .services, .apropos, .reservation, .contact { padding: 80px 20px; }
  .apropos-content { flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
}
/* ===== FORMULAIRE RESERVATION ESTHETIQUE ===== */
.reservation {
  padding: 100px 60px;
  background: #f8f8f8;
  text-align: center;
}

.reservation-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #2f4f2f;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: #6bbf59;
  box-shadow: 0 0 0 2px rgba(107,191,89,0.2);
}

.reservation-form textarea {
  resize: none;
  min-height: 100px;
}

.btn-form {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 35px;
}

/* ===== RESPONSIVE FORM ===== */
@media (max-width: 768px) {
  .reservation-form {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}
/* ===== POPUP (SANS TRANSPARENCE) ===== */
.popup {
  display: none;            /* caché par défaut */
  position: fixed;
  inset: 0;
  background: none;         /* ❌ supprime le fond sombre */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 30px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.popup-content h3 {
  color: #6bbf59;
  margin-bottom: 10px;
}
.popup-content {
  animation: popupZoom 0.3s ease;
}

@keyframes popupZoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
