:root {
  --color-main: #ffffff;          /* Warm beige */
  --color-neutral: #ffffff;       /* Cream */
  --color-minor: #ffffff;         /* Deep cocoa */
  --color-accent: #4E6940;        /* Matcha green */
  --color-accent-light: #5D7750;  /* Light matcha */
  --glass: rgba(255, 255, 255);
}

/* RESET + BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Georgia', serif;
  background-color:  #fff;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 64px 0; text-align: center; }

h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
  padding-bottom: 20px;
  color: black;
}
.subtitle { color: #ffffff; margin-bottom: 24px; }

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #000;
  background-color: white;
  
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}

.hero .hero-content h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: 8px;
  color: #000000;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
  background-color: white;
}

.hero-sub {
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: #000000;
}

.custom-btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-neutral);
  padding: 14px 38px;
  border-radius: 40px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(78,105,64,0.25);
}



/* BUTTONS */
.custom-btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-neutral);
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .25s ease;
}
.custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(78,105,64,0.18);
}
.custom-btn.outline {
  background: transparent;
  color: var(--color-minor);
  border: 2px solid rgba(46,35,30,0.06);
}

/* MENU SECTION */
.category { margin: 36px 0 12px; text-align: left; }
.category-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-minor);
  padding-left: 4px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* CARD */
.menu-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), var(--color-main));
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(46,35,30,0.06);
  border: 1px solid rgba(46,35,30,0.04);
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(46,35,30,0.12);
}
.menu-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 6px solid rgba(255,255,255,0.9);
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.menu-card h4 {
  font-family: "Playfair Display", serif;
  margin: 6px 0;
}
.menu-card .desc {
  color: #5a5651;
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-style: italic;
}
.menu-card .price {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* QUANTITY SELECTOR */
.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-neutral);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(78,105,64,0.12);
}
.qty-btn:active { transform: translateY(1px); }
.quantity-selector input {
  width: 56px;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid rgba(46,35,30,0.06);
  padding: 8px 6px;
  background: transparent;
  font-family: inherit;
}

/* ORDER ACTIONS */
.order-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

/* FOOTER */
.footer {
  background: var(--color-minor);
  color: rgba(0, 0, 0, 0.219);
  padding: 22px 0;
  text-align: center;
  margin-top: 40px;
}

/* FADE EFFECT */
.fade { opacity: 0; transform: translateY(20px); transition: .8s ease-in-out; }
.fade.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 720px) {
  .menu-card img { width: 120px; height: 120px; }
  .hero-logo { width: 90px; }
  .hero { height: 60vh; min-height: 360px; }
}

/* RESPONSIVE DESIGN IMPROVEMENTS */

/* Tablet view */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }

  h2 {
    font-size: 2rem;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .menu-card img {
    width: 140px;
    height: 140px;
  }

  .hero h1 {
    font-size: clamp(36px, 7vw, 72px);
  }

  .hero-sub {
    font-size: 0.9rem;
  }
}

/* Mobile view */
@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero {
    height: 80vh;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
  }

  .hero-logo {
    width: 80px;
    top: 16px;
    left: 16px;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }

  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .custom-btn {
    padding: 10px 26px;
    font-size: 0.9rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .menu-card {
    padding: 18px;
  }

  .menu-card img {
    width: 100%;
    height: auto;
    max-width: 280px;
  }

  .menu-card .desc {
    font-size: 0.9rem;
  }

  .order-actions {
    flex-direction: column;
    align-items: center;
  }

  .custom-btn,
  .custom-btn.outline {
    width: 90%;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero-sub {
    font-size: 0.75rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .menu-card {
    border-radius: 12px;
    padding: 14px;
  }

  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .quantity-selector input {
    width: 48px;
  }

  .footer {
    font-size: 0.85rem;
    padding: 16px 0;
  }
}
