/* ===========================
   Global Variables & Reset
   =========================== */
:root {
  --primary-color: #4f4844; /* Dark coffee shade */
  --accent-color: #ee8542; /* Orange accent */
  --background-color: #ffffff;
  --section-bg: #f9f6f2; /* Creamy beige */
  --heading-font: "Bebas Neue", sans-serif;
  --body-font: "Source Serif Pro", serif;
}

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

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--background-color);
  color: var(--primary-color);
}

/* ===========================
   Header & Navigation
   =========================== */
/* header {
  background: var(--primary-color);
  padding: 1rem 2rem;
}

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

.logo {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
} */

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  text-align: center;
}

.hero-img {
  width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #d96a1f;
}

/* ===========================
   Booking Section
   =========================== */
.booking {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  background: var(--section-bg);
  max-width: 1200px; /* capped width */
  margin: 0 auto; /* centered */
}

.booking-left,
.booking-right {
  flex: 1;
}

.booking-left h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
}

/* ===========================
   About Section
   =========================== */
.about {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px; /* capped width */
  margin: 0 auto;
  align-items: center;
}

.about-left,
.about-right {
  flex: 1; /* equal split */
}

.about-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

.about-right h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-right p {
  line-height: 1.8;
}

/* ===========================
   Menu Categories
   =========================== */
.menu-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  padding: 4rem 2rem;
  background: var(--section-bg);
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  text-align: center;
  flex: 1 1 280px;
  max-width: 350px;
}

.menu-card img {
  width: 100%; /* smaller */
  margin: 0 auto 1rem;
  display: block;
  border-radius: 8px;
}

.menu-card h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* ===========================
   Menu Details
   =========================== */
.menu-details {
  padding: 4rem 2rem;
  max-width: 1200px; /* capped width */
  margin: 0 auto;
}

.menu-details h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem; /* tighter spacing */
}

.item-name {
  font-weight: 600;
}

.item-price {
  color: var(--accent-color);
  font-weight: 600;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
  padding: 4rem 2rem;
  background: var(--section-bg);
  text-align: center;
}

.testimonials h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-slider {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.testimonial {
  display: none;
  font-style: italic;
  line-height: 1.6;
}

.testimonial.active {
  display: block;
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===========================
   Gallery
   =========================== */
.gallery {
  padding: 4rem 2rem;
  max-width: 1200px; /* capped width */
  margin: 0 auto;
}

.gallery h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  justify-content: center;
  gap: 1rem;
}

.gallery-grid img {
  width: 100%; /* smaller */
  margin: 0 auto;
  border-radius: 8px;
  display: block;
}

/* ===========================
   Contact
   =========================== */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto 0;
}

input,
textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 0.7rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #d96a1f;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* ===========================
   Responsive Media Queries
   =========================== */
@media (max-width: 1024px) {
  .hero-img {
    height: 100%;
    object-fit: cover;
  }
  .about,
  .booking {
    flex-direction: column;
    text-align: center;
  }
  /* .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  } */
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .menu-details .menu-item {
    flex-direction: column;
    gap: 0.3rem;
  }
  /* .gallery-grid {
    grid-template-columns: 1fr;
  } */
}

header {
  background: var(--primary-color);
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: #fff;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* ===========================
   Responsive Behavior
   =========================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary-color);
    flex-direction: column;
    width: 220px;
    padding: 1rem;
    gap: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 999;
  }

  .logo {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}
