/* =========================================================
   Raj Banana Leaf Farm — stylesheet
   Theme: fresh farm green + banana yellow, clean & earthy
   ========================================================= */

:root {
  --green-900: #1b3a21;
  --green-700: #2f6b3a;
  --green-600: #3b8049;
  --green-500: #4a9d5b;
  --green-100: #e6f2e8;
  --banana: #f4c430;
  --banana-dark: #e0ad1e;
  --cream: #fbfaf3;
  --ink: #23301f;
  --muted: #5e6b59;
  --white: #ffffff;
  --line: #e4e9de;
  --shadow: 0 10px 30px rgba(27, 58, 33, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 58, 33, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.4em;
  font-weight: 600;
}

p { margin: 0 0 1rem; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-600);
  margin: 0 0 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--green-700);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-600);
}
.btn-ghost:hover {
  background: var(--green-100);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 243, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green-900);
}
.brand-mark {
  font-size: 1.6rem;
  background: var(--banana);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Fraunces", serif; font-size: 1.1rem; }
.brand-text small { color: var(--muted); font-size: 0.72rem; }

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.nav a { font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--green-700); }
.nav .nav-cta {
  background: var(--green-700);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--green-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, #fffef8 0%, var(--cream) 100%);
  padding: 72px 0 84px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4rem 0 2rem; }

.hero-art { display: grid; place-items: center; }
.hero-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--green-100); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-text p { color: var(--muted); font-size: 1.05rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.values li {
  border-left: 4px solid var(--banana);
  display: flex;
  gap: 1rem;
  background: var(--white);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.values h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.values p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Cards (products) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-500);
  border-radius: var(--radius-sm);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.location.is-main { border-left-color: var(--banana); }
.location h3 { font-size: 1.1rem; }
.location address { font-style: normal; color: var(--muted); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-info li { display: flex; flex-direction: column; }
.ci-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(74, 157, 91, 0.18);
}
.form-note { font-size: 0.9rem; margin: 0.6rem 0 0; min-height: 1.2em; }
.form-note.ok { color: var(--green-700); }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #d7e5d9;
  padding: 40px 0;
  margin-top: 0;
}
.footer-inner { text-align: center; display: grid; gap: 0.5rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  color: var(--white);
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
}
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 1.2rem; }
.footer-reg { font-size: 0.85rem; color: #aec4b2; margin: 0; }
.footer-copy { font-size: 0.85rem; color: #8fab95; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-photo { max-width: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .locations { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 24px 1rem;
  }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 0.9rem 0; }
  .nav .nav-cta { text-align: center; margin-top: 0.6rem; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.card-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: var(--green-600);
  margin: 0 0 0.7rem;
}
