/* ===============================
   RESET & BASE
================================= */

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ===============================
   HEADER
================================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  padding: 18px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

/* ===============================
   PAGE SYSTEM
================================= */

.page {
  display: none;
  min-height: 100vh;
  padding: 100px 20px 120px;
}

.page.active {
  display: block;
}

/* ===============================
   THEMES
================================= */

.dark {
  background: #0f0f0f;
  color: #ffffff;
}

.light {
  background: #f8f8f8;
  color: #111;
}

.neutral {
  background: #f2f2f2;
  color: #111;
}

/* ===============================
   HERO PREMIUM (Accueil)
================================= */

.hero-premium {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('img/photo-pizza.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-premium h1 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-premium p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* ===============================
   BUTTONS
================================= */

.main-btn {
  background: #b71c1c;
  padding: 14px 26px;
  border-radius: 30px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.main-btn:hover {
  transform: scale(1.05);
}

/* ===============================
   MENU GRID
================================= */

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.menu-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.menu-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.menu-card .info {
  padding: 12px;
  font-weight: bold;
}

/* ===============================
   CHEF SECTION
================================= */

.chef-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.chef-image {
  height: 45vh;
  background-size: cover;
  background-position: center;
}

.chef-content {
  padding: 30px 20px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: #b71c1c;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.chef-content h2 {
  font-size: 30px;
  margin: 10px 0;
}

.chef-desc {
  opacity: 0.8;
  font-size: 15px;
  margin-bottom: 20px;
}

.chef-price {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* ===============================
   FIDELITY CARD
================================= */

.card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.progress-bar {
  background: #ddd;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 15px;
}

.progress-fill {
  height: 100%;
  background: #b71c1c;
  width: 0%;
  transition: 0.4s;
}

.reward {
  font-weight: bold;
  color: #b71c1c;
}

/* ===============================
   NAVIGATION
================================= */

.nav-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 14px 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-item {
  font-size: 22px;
  color: #888;
  cursor: pointer;
}

.nav-item.active {
  color: #b71c1c;
}

/* ===============================
   WHATSAPP FLOAT BUTTON
================================= */

.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #b71c1c;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}