/* ============================================
   The Produce Stand — Editorial Style
   Emerald Green + Cream Palette
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FAF7F2;
  --cream-dark: #F3EDE4;
  --emerald-deep: #064E3B;
  --emerald-mid: #065F46;
  --emerald-light: #059669;
  --emerald-pale: #D1FAE5;
  --emerald-muted: #A7F3D0;
  --text-dark: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-light: #6b6b6b;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--emerald-deep);
}

/* --- Section Labels --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-light);
}

.section-label-light {
  color: var(--emerald-muted);
}

.section-label-light::before {
  background: var(--emerald-muted);
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--emerald-light);
}

.section-title-light {
  color: var(--white);
}

.section-title-light em {
  color: var(--emerald-muted);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.35s ease;
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
  color: var(--emerald-deep);
}

.nav-logo-icon {
  color: var(--white);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-logo-icon {
  color: var(--emerald-deep);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-light);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--white);
}

.nav.scrolled .nav-link {
  color: var(--text-mid);
}

.nav.scrolled .nav-link:hover {
  color: var(--emerald-deep);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--emerald-deep);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--emerald-mid);
  transform: translateY(-1px);
}

.nav.scrolled .nav-cta {
  color: var(--white) !important;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav.scrolled .menu-toggle {
  color: var(--emerald-deep);
}

/* Mobile Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--emerald-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.menu-overlay-link {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cream);
  transition: color 0.25s ease;
}

.menu-overlay-link:hover {
  color: var(--emerald-muted);
}

.menu-overlay-cta {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--emerald-light);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.82) 0%,
    rgba(6, 78, 59, 0.65) 50%,
    rgba(6, 78, 59, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-muted);
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--emerald-muted);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Info Bar --- */
.info-bar {
  background: var(--emerald-deep);
  padding: 0;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  padding: 0;
}

.info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
}

.info-icon {
  color: var(--emerald-muted);
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.info-value {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.info-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6, 78, 59, 0.15);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(6, 78, 59, 0.2);
  border: 4px solid var(--cream);
}

.about-image-accent img {
  width: 260px;
  height: 200px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--emerald-deep);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-dark);
}

.stat-number {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1;
}

.stat-percent {
  font-size: 1.25rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--cream-dark);
}

/* --- Products --- */
.products {
  padding: 120px 0;
  background: var(--cream-dark);
}

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

.products-header .section-subtitle {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6, 78, 59, 0.06);
  transition: all 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(6, 78, 59, 0.12);
}

.product-card-image {
  overflow: hidden;
  height: 240px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 28px;
}

.product-card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--emerald-deep);
}

.product-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.products-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 48px;
  background: var(--emerald-deep);
  border-radius: 16px;
}

.products-cta-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.products-cta .btn-primary {
  background: var(--white);
  color: var(--emerald-deep);
}

.products-cta .btn-primary:hover {
  background: var(--emerald-pale);
}

/* --- Community --- */
.community {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 78, 59, 0.92) 0%,
    rgba(6, 78, 59, 0.88) 100%
  );
}

.community .container {
  position: relative;
  z-index: 1;
}

.community-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.community-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.value-icon {
  color: var(--emerald-muted);
  margin-bottom: 20px;
}

.value-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* --- Visit --- */
.visit {
  padding: 120px 0;
  background: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--emerald-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-deep);
  flex-shrink: 0;
}

.visit-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.visit-detail-value {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.visit-link {
  color: var(--emerald-light);
  font-weight: 500;
  transition: color 0.25s ease;
}

.visit-link:hover {
  color: var(--emerald-deep);
}

.visit-map {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.1);
}

/* --- Contact Form --- */
.visit-form-wrap {
  position: relative;
}

.visit-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 16px 64px rgba(6, 78, 59, 0.1);
}

.visit-form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.visit-form-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--emerald-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--emerald-pale);
  border-radius: 10px;
  color: var(--emerald-deep);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-success svg {
  color: var(--emerald-light);
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--emerald-deep);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.footer-contact-link:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding: 100px 24px 80px;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .info-bar-inner {
    flex-direction: column;
  }

  .info-item {
    padding: 20px 24px;
    width: 100%;
  }

  .info-divider {
    width: 100%;
    height: 1px;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-image-accent {
    right: 0;
    bottom: -24px;
  }

  .about-badge {
    left: 0;
    top: -16px;
  }

  .products {
    padding: 80px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .community {
    padding: 80px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .visit {
    padding: 80px 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visit-form-card {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 90px 16px 60px;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .products-cta {
    flex-direction: column;
  }
}
