:root {
  --primary-color: #2c3e50;
  --primary: #3498db;
  --secondary-color: #ecf0f1;
  --secondary: #fbbf24;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --accent-color: #ff7e5f;
  --text-color: #333;
  --light-text: #f8f9fa;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 999;
  color: rgb(49, 47, 47);
  background-color: var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/*#header.scrolled {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: var(--shadow);
}*/

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 800px;
  margin: auto;
  padding: 5px;
}

.logo {
  max-width: 40px;
  animation: upDown 2s ease-in-out infinite;
  }

a {
  text-decoration: none;
  color: inherit;
  display: flex;
  padding: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--light);
}

nav a::after {
  background-color: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  color: var(--dark);
  border: 2px solid var(--light);
}

.btn-primary:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: var(--primary);
  color: var(--light);
}

.btn-outline:hover {
  transform: translateY(-4px);
  color: white;
  filter: blur(0.5px);
}

.li {
  align-items: center;
}





/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

 

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

/* Bouton hamburger */
.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

/* Menu Desktop */
#nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  /* Le header reste visible — rien à cacher ici */

  /* Le menu se cache */
  #nav-menu ul {
    display: none; /* caché par défaut en mobile */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 180px;
  }

  /* Affiche le bouton hamburger en mobile */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  /* Menu ouvert */
  #nav-menu ul.open {
    display: flex;
  }
}

.form-container {
  width: 100%;
  max-width: 800px;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 150px;
}

.form-layout {
  display: flex;
  gap: 2rem;
}

.form-fields {
  flex: 1;
}

.opening-hours {
  flex: 0 0 300px;
  background-color: var(--secondary-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.opening-hours {
  
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
}


.opening-hours h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.opening-hours ul {
  list-style: none;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
}

.opening-hours li:last-child {
  border-bottom: none;
}
.form-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: #3a5a8f;
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/*Bouton Whatsapp*/
.opening-hours {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  max-height: 330px;
  width: 100%;
  margin-top: 100px;
}





.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 25px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .form-layout {
    flex-direction: column;
  }

  .opening-hours {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .form-container {
    padding: 1.5rem;
  }
}
