:root {
  --primary-green: #4a7c59;
  --dark-green: #355e42;
  --warm-brown: #8d6e63;
  --light-brown: #d7ccc8;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f9f7f6;

  --font-main: "Inter", sans-serif;
  --font-heading: "Playfair Display", serif;

  --radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* Titles */
h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-green);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.subtitle {
  text-transform: uppercase;
  color: var(--warm-brown);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Navigation */
nav {
  background: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-green);
}

.logo span { color: var(--warm-brown); }

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-green); }

.nav-links a .arrow{ display:none; }
.menu-close{ display:none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-dark);
}

.nav-overlay { display: none; }

/* Hero */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url("banner.jpg") center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Button */
.btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0px 0px 0 var(--light-brown);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-5px); }

.service-card i {
  font-size: 2.5rem;
  color: var(--warm-brown);
  margin-bottom: 20px;
}

.service-card p { color: var(--text-light); }

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.menu-category {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--radius);
}

.menu-category h3 {
  border-bottom: 2px solid var(--light-brown);
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* Footer */
.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  text-align: center;
  color: var(--light-brown);
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: #4a7c59;
  padding: 10px 12px;
}

.footer h3:hover { border-color: rgba(255,255,255,0.25); }

.footer p { opacity: 0.92; }

.bottom-bar {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image img { box-shadow: none; }
}

@media (max-width: 768px) {
  .hero { height: 75vh; }
  .hero-content h1 { font-size: 2.5rem; }

  .nav-toggle{
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    cursor: pointer;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 18px;
    padding-top: 16px;
    box-shadow: -10px 0 25px rgba(0,0,0,.12);
    transition: right .3s ease;
    z-index: 2200;
  }

  .nav-links.open { right: 0; }
  .nav-links li { margin: 0; }

  .nav-links a {
    display: block;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .nav-links a:hover { background: rgba(74,124,89,.10); }

  .menu-close{
    display: block;
    margin-bottom: 10px;
  }

  .close-btn{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    cursor: pointer;
    display: grid;
    place-items: center;
  }

  /* ✅ FIX: overlay makblokch click dyal nav links */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 2000;
  }

  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
}

@media (max-width: 480px) {
  h2 { font-size: 2rem; }
  .section { padding: 60px 0; }
}