@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #D4AF37;
  /* Noble Gold */
  --secondary: #E0E0E0;
  /* Light Text */
  --accent: #B8860B;
  /* Dark Goldenrod for depth */
  --bg-dark: #0F0F0F;
  /* Jet Black */
  --bg-card: #181818;
  /* Dark Grey Card */
  --text-main: #E0E0E0;
  /* Off-white */
  --text-muted: #B0B0B0;
  /* Light Grey */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  /* Headings in Gold */
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
}

/* --- HEADER & NAV --- */
header {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  /* resized for better fit */
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

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

nav a {
  color: var(--text-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-reserve {
  background: var(--primary);
  color: white !important;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  border-bottom: none !important;
}

.btn-reserve:hover {
  background: #FFD700;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- HERO SECTION --- */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/fond.PNG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInDown 1s ease;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  color: #f0f0f0;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.btn-hero {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 15px 40px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-hero:hover {
  background: var(--accent);
  color: #121212;
  /* Dark text on hover */
  font-weight: bold;
}

/* --- SECTIONS GENERAL --- */
section {
  padding: 80px 20px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  display: block;
  font-family: 'Lato', sans-serif;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  color: var(--text-main);
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 20px auto 0;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
}

/* --- DISHES SHOWCASE --- */
.showcase {
  background: #0e0e0e;
  /* Slightly darker than main bg */
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.dish-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  transition: transform 0.3s;
}

.dish-card:hover {
  transform: translateY(-5px);
}

.dish-img {
  height: 250px;
  overflow: hidden;
}

.dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.dish-card:hover .dish-img img {
  transform: scale(1.1);
}

.dish-info {
  padding: 25px;
  text-align: center;
}

.dish-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 15px;
}

.dish-info p {
  color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
  background: #000000;
  color: var(--text-muted);
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- FORMS (Reservation) --- */
form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  background: #2a2a2a;
  border: 1px solid #333;
  padding: 15px;
  color: white;
  font-family: 'Lato', sans-serif;
  border-radius: 6px;
  font-size: 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #FFD700;
  color: #000;
}

/* --- MENU PAGE SPECIFIC --- */
.side-by-side {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.side-by-side img {
  max-width: 400px;
  /* Limit size */
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.side-by-side img:hover {
  transform: scale(1.02);
}


.menu-categories .filter-btn {
  padding: 10px 25px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.menu-categories .filter-btn.active,
.menu-categories .filter-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.menu-item {
  animation: fadeInUp 0.5s ease;
}

.menu-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.menu-card:hover {
  transform: translateX(5px);
}

.menu-card-text h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-main);
}

.menu-card-text .description {
  font-size: 0.9rem;
  margin-top: 5px;
  color: var(--text-muted);
}

.menu-card .price {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0;
  /* Reset global margin */
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* --- RESPONSIVE HAMBURGER --- */
.burger {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* JS will toggle */
  }

  .burger {
    display: block;
  }

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

/* --- MOBILE & RESPONSIVE TWEAKS --- */
@media (max-width: 600px) {
  .reservation-widget {
    padding: 20px;
  }

  .people-grid {
    justify-content: center;
  }

  .date-card {
    min-width: 70px;
    padding: 10px 5px;
  }

  .date-card .day-num {
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* --- NEW RESERVATION WIDGET --- */
.reservation-widget {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.step-container {
  margin-bottom: 30px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.step-icon {
  background: var(--bg-dark);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.9rem;
}

/* Chips for People */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.people-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.people-chip:hover {
  border-color: var(--primary);
}

.people-chip.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  font-weight: bold;
}

/* Date Scroller Custom UI */
.date-scroller {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.date-scroller::-webkit-scrollbar {
  height: 6px;
}

.date-scroller::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.date-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 90px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-main);
  flex-shrink: 0;
}

.date-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.date-card.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.date-card .day-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.date-card .day-num {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

.date-card .month-name {
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.8;
}

/* Time Slots */
.service-section {
  margin-bottom: 20px;
}

.service-section h4 {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.time-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.time-btn:hover {
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
}

.time-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Summary & Submit */
.summary-box {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary);
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: bold;
  display: none;
  /* JS will show */
}

/* Hide original form elements that we replaced with UI but keep functional structure if needed */
.visual-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}