/* BASE */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fffaf5;
  color: #333;
}

/* HEADER STICKY */
header {
  position: sticky;
  top: 0;
  background-color: #304b66;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
}

/* Conteneurs gauche et droite sans largeur fixe pour plus de flexibilité */
.left-side {
  display: flex;
  align-items: center;
  max-width: 250px; /* limite la taille max du menu */
  flex-shrink: 1; /* permet de rétrécir si besoin */
  /* overflow: hidden;  empêche le débordement */
}

/* Logo */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: white;
  white-space: nowrap; /* évite le retour à la ligne */
}

/* Titre centré en absolute pour rester centré */
.center-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap; /* pas de retour à la ligne */
}

/* Style manuscrit L & L */
.logo-script {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8em;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-left: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #fcb60f;
}

/* INTRO */
.intro {
  text-align: center;
  padding: 3rem 1rem;
}

.intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #304b66;
  margin-bottom: 1rem;
}

.intro p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: #fcb60f;
  color: #304b66;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #e2a507;
  transform: scale(1.05);
}

/* GALERIE */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.plat {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  border: 2px solid #fcb60f;
}

.plat:hover {
  transform: scale(1.03);
}

.plat img {
  width: 100%;
  height: auto;
  display: block;
}

.plat p {
  padding: 1rem;
  font-style: italic;
  color: #304b66;
  text-align: center;
}

/* FOOTER */
footer {
  background-color: #304b66;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
}

.socials {
  margin-top: 0.5rem;
}

.socials a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.socials a:hover {
  color: #fcb60f;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .intro h1 {
    font-size: 1.8rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

/* FORMULAIRE */
.form-section {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

label {
  margin-bottom: 0.5rem;
  color: #304b66;
  font-weight: bold;
}

input,
select,
textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #fcb60f;
  box-shadow: 0 0 4px #fcb60f88;
}

.contact-info-form {
  max-width: 900px;
  margin: 2rem auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.contact-info, .contact-form {
  flex: 1 1 400px;
}

.contact-info h2,
.map-section h2 {
  color: #304b66;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #444;
}

.contact-info i {
  color: #fcb60f;
  margin-right: 0.5rem;
}

.map-section {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  padding: 0 1rem;
}

.map-container {
  border: 3px solid #304b66;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px #fcb60f55;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-weight: 600;
  color: #304b66;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #fcb60f;
  box-shadow: 0 0 6px #fcb60f99;
}

.btn {
  background-color: #304b66;
  color: #fcb60f;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #fcb60f;
  color: #304b66;
}

.about-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f9f9f9;
}

.about-section h2 {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: 900px;
  padding: 0 40px;
  margin-left: auto;
  margin-right: auto;
  color: #304b66;
}

.about-text {
  padding-left: 40px;
  padding-right: 40px;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.6;
  font-size: 1.1em;
}

/* MENU BURGER CSS-ONLY */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Icône burger */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: scale(1.1);
}

/* Menu mobile */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  nav.menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #304b66;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-bottom: 2px solid #fcb60f;
    padding: 1.5rem 0;
  }

  #menu-toggle:checked + .menu-icon + nav.menu {
    display: flex;
  }

  nav.menu ul {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  nav.menu li {
    width: 100%;
    text-align: center;
  }

  nav.menu a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
  }

  nav.menu a:hover {
    background-color: #fcb60f;
    color: #304b66;
  }
}