/*
 * Colour palette is inspired by the provided menu brochure: deep reds for key
 * accents and a pale salmon/pink for backgrounds. A subtle dotted pattern
 * behind the content adds texture without distracting from the food.
 */
:root {
  --primary-color: #9b2c31;      /* deep red akin to the logo */
  --primary-dark: #7f2328;       /* darker variant for hover states */
  --secondary-color: #f7c6c8;    /* light salmon background */
  --text-color: #4d2124;         /* dark reddish brown for readable text */
  --whatsapp-green: #25D366;     /* official WhatsApp brand green */
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
  /* create a soft dotted pattern reminiscent of the flyer */
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 8px 8px;
}

header.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
  }
  .nav-menu.open {
    display: flex;
  }
}

/* Section styles */
section {
  padding: 2rem 1rem;
  text-align: center;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
}

.about h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about p {
  max-width: 700px;
  margin: 0 auto;
}

.cta-button {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: var(--primary-dark);
}

/* Section titles */
.menu-section h2,
.sides-section h2,
.order-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Layout for cards */
.menu-items,
.sides-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.menu-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.menu-card h3 {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  line-height: 1.2;
  text-align: center;
}

.menu-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
  text-align: center;
}

.menu-card .price {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Hide the image placeholder when there isn't one */
.menu-card.no-image img {
  display: none;
}

/* Adjust images for the smaller side‑dish cards */
.sides-items .menu-card img {
  width: 140px;
  height: 140px;
}

.order-section p {
  max-width: 600px;
  margin: 0 auto 1rem auto;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
  margin-top: 0.5rem;
}

.whatsapp-button:hover {
  background-color: #1da851;
}

.instagram {
  margin-top: 1rem;
}

.instagram a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.instagram a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Emphasised tagline line beneath the logo in the hero section */
.tagline {
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

/* Prominent logo inside the hero section */
/* Primary logo in the hero section: increased slightly for prominence */
.hero-logo {
  width: 250px;
  max-width: 50%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
