/* Global styles */
/* Import primary and secondary fonts.  Playfair Display brings a refined serif aesthetic for headings
   while Merriweather offers an elegant, readable serif for body copy.  The fallback Poppins remains
   available for legacy elements. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Merriweather:wght@300;400;700&family=Poppins:wght@300;400;600&display=swap');

/* Base typography and page styling.  A luxurious palette of deep greens and soft creams evokes
   Mediterranean elegance. */
body {
  font-family: 'Merriweather', serif;
  margin: 0;
  padding: 0;
  color: #2f2f2f;
  line-height: 1.6;
  /* Apply a soft vertical gradient instead of a flat colour to elevate the design */
  background: linear-gradient(to bottom, #f5f5ef 0%, #ede7d5 100%);
  background-attachment: fixed;
}

/* Link styling: use a muted gold for primary links on a dark background. */
a {
  color: #D4AF37;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & navigation */
header {
  background: #002e1f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* When using a logo image, ensure it scales nicely within the navigation bar. */
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Site logo: larger serif text with gold colour to evoke a hand‑lettered mark. */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #D4AF37;
}

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

/* Nav links adopt the same serif typeface as the logo for cohesion. */
.nav-links li a {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

/* Hover state uses a lighter gold for emphasis. */
.nav-links li a:hover {
  color: #E5C07B;
}

/* Hero section
   Dark overlay keeps text legible while letting the pattern show through.
*/
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

/* Use Playfair Display for hero headlines. */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Primary button styling.  Use rich gold accents on a dark green base to stand out.
   Buttons adopt slightly rounded corners for a refined look. */
.btn,
.add-to-cart {
  display: inline-block;
  background: #D4AF37;
  color: #002e1f;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover,
.add-to-cart:hover {
  background: #E5C07B;
  color: #002e1f;
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #D4AF37;
  margin-bottom: 2rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Columns used for cards adopt a softly tinted background and heavier shadow for depth. */
.column {
  flex: 1 1 300px;
  /* Use a semi‑transparent panel so the page’s gradient peeks through, and add a delicate gold border for a refined look */
  background: rgba(255, 253, 245, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  padding: 1.75rem;
  min-height: 100%;
}

/* Card headings adopt the luxury serif typeface. */
.column h3 {
  margin-top: 0;
  color: #002e1f;
  font-family: 'Playfair Display', serif;
}

/* Footer */
footer {
  background: #002e1f;
  color: #fff;
  padding: 2.5rem 0;
}

footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

footer h4 {
  margin-top: 0;
}

footer a {
  color: #F6AF3E;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: #fff;
}

/* Menu list */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h3 {
  color: #F6AF3E;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 0.5rem;
}

.menu-item span {
  display: inline-block;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .columns {
    flex-direction: column;
  }
}

/* Cart styles */
.add-to-cart {
  margin-left: 0.5rem;
  padding: 0.3rem 0.75rem;
  background-color: #F6AF3E;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.add-to-cart:hover {
  background-color: #e59a2d;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart-table th,
.cart-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.cart-table th {
  background-color: #f7f3e8;
  color: #002e1f;
}

/* CTA buttons in navigation */
.nav-links .cta {
  background-color: #D4AF37;
  color: #002e1f;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-weight: 700;
}

.nav-links .cta:hover {
  background-color: #E5C07B;
  color: #002e1f;
}