:root {
  --primary-color: #2D5A27;
  --secondary-color: #1E3D1A;
  --accent-color: #8B9A2E;
  --light-color: #F4F7EC;
  --dark-color: #111F0E;
  --gradient-primary: linear-gradient(135deg, #2D5A27 0%, #8B9A2E 100%);
  --hover-color: #1E3D1A;
  --background-color: #F8FAF3;
  --text-color: #1C2B18;
  --border-color: rgba(139, 154, 46, 0.22);
  --divider-color: rgba(45, 90, 39, 0.12);
  --shadow-color: rgba(45, 90, 39, 0.13);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 1000;
}

.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1rem 0; }

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(8px);
}

/* Feature Cards — numbered index style */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2.2rem 2rem 2rem;
  box-shadow: 0 6px 22px var(--shadow-color);
  border: 2px solid var(--border-color);
  transition: all 0.38s ease;
  position: relative;
  overflow: hidden;
}

.feature-card-number {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 5.5rem;
  font-weight: 900;
  font-family: var(--main-font);
  color: var(--accent-color);
  opacity: 0.1;
  line-height: 1;
  transition: opacity 0.38s ease, transform 0.38s ease;
  user-select: none;
  pointer-events: none;
}

.feature-card:hover .feature-card-number {
  opacity: 0.2;
  transform: scale(1.1) rotate(3deg);
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px var(--shadow-color);
  border-color: var(--primary-color);
  border-left: 5px solid var(--accent-color);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  transition: transform 0.38s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
}

/* Recipe cards (random block) */
.recipe-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 26px var(--shadow-color);
  transition: all 0.38s ease;
  border: 2px solid var(--border-color);
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.recipe-card-header {
  background: var(--gradient-primary);
  padding: 1.6rem 1.8rem 1.2rem;
  position: relative;
}

.recipe-card-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.recipe-card-title {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.recipe-card-body {
  padding: 1.4rem 1.8rem;
}

.recipe-tag {
  display: inline-block;
  background: var(--light-color);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin: 0.2rem 0.2rem 0.2rem 0;
  border: 1px solid var(--border-color);
  font-family: var(--alt-font);
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 18px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 7px 24px var(--shadow-color);
  border: 2px solid var(--border-color);
  border-bottom: 5px solid var(--accent-color);
  position: relative;
  transition: all 0.36s ease;
}

.testimonial::before {
  content: '"';
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--accent-color);
  opacity: 0.12;
  position: absolute;
  top: 0; right: 20px;
  line-height: 1.1;
}

.testimonial:hover {
  transform: translateY(-5px) rotate(0.3deg);
  box-shadow: 0 16px 38px var(--shadow-color);
  border-bottom-color: var(--primary-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 14px;
  padding: 2rem 2.4rem;
  margin: 1.2rem 0;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.36s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 14px 0 0 14px;
  transform: scaleY(0.4);
  transition: transform 0.36s ease;
}

.faq-item:hover::before { transform: scaleY(1); }

.faq-item:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

/* Inputs */
input, textarea {
  transition: all 0.35s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(45, 90, 39, 0.08);
  transform: translateY(-2px);
}

input:hover, textarea:hover { border-color: var(--accent-color); }

/* Buttons */
button, .btn {
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.3);
}

button::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

button:hover::before, .btn:hover::before { width: 300%; height: 300%; }

button:hover, .btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px rgba(45, 90, 39, 0.38);
}

html { scroll-behavior: smooth; }

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--dark-color) 100%);
}

h1, h2, h3 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.07);
  font-family: var(--main-font);
  font-weight: 700;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 18px var(--shadow-color);
}

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 4.5rem 0 1.5rem;
}

header img[alt="logo"],
footer img[alt="logo"] { filter: brightness(0) invert(1); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.85s ease-out; }

/* Pattern: organic leaf-like shapes */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139, 154, 46, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 90, 39, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(139, 154, 46, 0.04) 0%, transparent 50%);
}

.contact-block { width: 80%; margin: 0 auto; }

/* Nutrient tag pill for recipe cards */
.nutrient-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-color);
  font-family: var(--alt-font);
  margin-bottom: 0.3rem;
}

.nutrient-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.3rem; }
  .container { padding: 0 1.5rem; }
  .contact-block { width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .feature-card-number { font-size: 4rem; }
  .contact-block { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: high) {
  :root {
    --text-color: #000;
    --background-color: #fff;
    --border-color: #000;
    --primary-color: #000;
    --secondary-color: #000;
  }
}