@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary-green: #324B31;
  --bg-cream: #F7F3E9;
  --accent-terracotta: #B25F44;
  --fresh-green: #7CB041;
  --tomato-red: #E55041;
  
  --text-dark: #1A1A1A;
  --text-light: #F7F3E9;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(50, 75, 49, 0.3);
}

.btn-primary:hover {
  background-color: #243823;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50, 75, 49, 0.4);
}

.btn-accent {
  background-color: var(--accent-terracotta);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(178, 95, 68, 0.3);
}

.btn-accent:hover {
  background-color: #924b33;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 95, 68, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--text-light);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
}

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

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-green);
  transition: var(--transition);
}

.cart-btn:hover {
  color: var(--accent-terracotta);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-terracotta);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 176, 65, 0.15) 0%, rgba(247, 243, 233, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--accent-terracotta);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #4a4a4a;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  object-fit: cover;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Section styling */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header p {
  color: var(--accent-terracotta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-img-container {
  position: relative;
  padding-top: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
  background-color: var(--bg-cream);
}

.menu-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.menu-card:hover .menu-img-container img {
  transform: scale(1.05);
}

.menu-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.menu-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  flex-grow: 1;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.menu-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Forms */
.form-container {
  max-width: 480px;
  margin: 120px auto 80px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-green);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E2E8F0;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #F8FAFC;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(50, 75, 49, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 64px 0 32px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1); /* Make logo white */
}

.footer h4 {
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav-links {
    display: none; /* Add mobile menu later if needed */
  }
}
