/* ========================================
   CROC TA CRÊPE - STYLE CSS
   ======================================== */

:root {
  --primary: #b37b3e;
  --secondary: #ffb1b1;
  --accent: #fcf3e4;
  --dark: #563e2c;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

body {
  font-family: 'Josefin Sans', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--accent);
  padding-top: 80px; /* Compenser le header fixed */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER - Toujours Transparent */
header {
  background: transparent;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 60px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 0.5rem; }
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 25px;
  background: var(--primary);
  transition: all 0.3s;
}
.nav-links a:hover { background: var(--dark); transform: translateY(-2px); }

.menu-toggle { display: none; background: none; border: none; color: var(--dark); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  header { display: block; }
  .menu-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding: 1rem 0; }
  .nav-links.active { display: flex; }
}

/* HERO */
.hero {
  background: url('../assets/motif.jpg') center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(252, 243, 228, 0.85);
}

.hero .container { 
  position: relative; 
  z-index: 1; 
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.hero-logo {
  max-width: 550px;
  width: 90%;
  height: auto;
  margin: 0 auto 1.5rem auto !important;
  display: block !important;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero p {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 2rem auto !important;
  font-weight: 500;
  background: rgba(255,255,255,0.9);
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-block;
  border: 2px solid var(--primary);
}

/* BOUTONS */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  margin: 0.5rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(179, 123, 62, 0.3);
}
.btn-primary:hover { background: var(--dark); transform: translateY(-3px); }

.btn-rose {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 177, 177, 0.3);
}
.btn-rose:hover { background: #ff9999; transform: translateY(-3px); }

/* SECTIONS */
section { padding: 4rem 0; }
h2 { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.card { background: var(--white); border-radius: 20px; padding: 2rem; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.card p { color: #666; line-height: 1.7; }

/* FOOTER */
footer { background: var(--dark); color: var(--white); padding: 2rem 0; text-align: center; }
footer a { color: var(--secondary); text-decoration: none; }

/* BULLE DE LANGUE */
/* Styles supplémentaires */

/* MENU PAGE */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.menu-item { background: var(--white); border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; }
.menu-item h4 { color: var(--primary); margin-bottom: 0.3rem; }
.menu-item .price { font-size: 1.3rem; font-weight: bold; color: var(--primary); background: var(--accent); padding: 0.5rem 1rem; border-radius: 20px; }

.filter-btn { padding: 10px 25px; border: 2px solid var(--primary); background: transparent; color: var(--primary); border-radius: 25px; cursor: pointer; margin: 0.3rem; transition: all 0.3s; font-weight: 500; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); }

/* MAP & TOURNEE */
#map { height: 400px; border-radius: 15px; margin-top: 2rem; }
.tournee-list { display: grid; gap: 1rem; margin-top: 2rem; }
.tournee-item { background: var(--white); border-radius: 15px; padding: 1.5rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 1.5rem; }
.tournee-day { background: var(--primary); color: var(--white); padding: 1rem; border-radius: 10px; text-align: center; min-width: 80px; font-weight: bold; }

/* GALERIE */
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.galerie-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; cursor: pointer; transition: transform 0.3s; }
.galerie-item img:hover { transform: scale(1.03); }

/* FORMS */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 2px solid #ddd; border-radius: 10px; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

.loading { text-align: center; padding: 3rem; color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { min-height: 60vh; padding: 2rem 1rem; }
  .hero-logo { max-width: 300px; }
  .hero p { font-size: 1.1rem; padding: 0.8rem 1.5rem; }
  .btn { padding: 12px 25px; font-size: 1rem; }
  h2 { font-size: 1.6rem; }
  .language-switcher { bottom: 15px; right: 15px; }
  .language-btn { width: 50px; height: 50px; }
}
