/* ========== RESET DE BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ========== CONTAINER ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

/* ========== HEADER ========== */
header {
  background: #000;
  border-bottom: 3px solid #FF1A1A;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 3px 6px rgba(255, 26, 26, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  filter: drop-shadow(0 0 4px #FF1A1A);
}

/* ========== NAVIGATION ========== */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul.open {
  display: block;
  position: absolute;
  right: 0;
  top: 100%;
  background: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(255, 26, 26, 0.4);
  width: 150px;
  padding: 10px 0;
}

nav ul.open li {
  margin: 10px 0;
  text-align: right;
}

nav ul li a {
  color: #FFD700;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  padding: 8px 20px;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 30px;
}

nav ul li a:hover,
nav ul li a:focus {
  background: #FF1A1A;
  color: #fff;
  outline: none;
}

/* ========== BOUTON MENU HAMBURGER ========== */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

#menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: 1px;
}

#menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
}

#menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* ========== HERO SECTION ========== */
.hero {
  background: url('images/devanture.jpg') no-repeat center 29%/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #FF1A1A;
  text-shadow: 0 0 10px #FF1A1A;
  user-select: none;
}

}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* pour assombrir l'image */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.hero-content p {
  font-size: 1.8rem;
  color: #FFD700;
  font-weight: 600;
}

/* ========== SECTIONS TITRES ========== */
section h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFD700;
  border-left: 6px solid #FF1A1A;
  padding-left: 15px;
  letter-spacing: 2px;
  user-select: none;
}

/* ========== À PROPOS ========== */
.about p {
  max-width: 800px;
  font-size: 1.15rem;
  color: #ddd;
  line-height: 1.7;
  margin: auto;
  text-align: center;
  user-select: text;
}

/* ========== MENU ITEMS ========== */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.menu-item {
  background: #1e1e1e;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 26, 26, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
}

.menu-item:hover,
.menu-item:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.7);
  outline: none;
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid #FF1A1A;
  transition: transform 0.3s ease;
}

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

.menu-item h3 {
  color: #FFD700;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 15px 0 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.menu-item p {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 15px;
  padding: 0 10px;
  user-select: text;
}

/* ========== PRIX ========== */
.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FF1A1A;
  margin-top: -10px;
  margin-bottom: 15px;
}

/* ========== INFOS SECTION ========== */
.infos p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  user-select: text;
}

/* ========== CONTACT ========== */
.contact p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 15px;
  text-align: center;
  user-select: text;
}

.map iframe {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.6);
  border: none;
  margin-top: 20px;
  height: 300px;
}

/* ========== FOOTER ========== */
footer {
  background: #000;
  padding: 20px 0;
  text-align: center;
  color: #FFD700;
  font-weight: 600;
  border-top: 3px solid #FF1A1A;
  user-select: none;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 15px;
    top: 65px;
    background: #1a1a1a;
    border-radius: 10px;
    width: 160px;
    box-shadow: 0 5px 15px rgba(255, 26, 26, 0.5);
    padding: 10px 0;
  }

  nav ul.open {
    display: flex;
  }

  #menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .menu-items {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
