/* ============================================
   Mill Creek Produce — Styles
   ============================================ */

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

:root {
  --green-900: #0B3D0B;
  --green-800: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #4CAF50;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;
  --off-white: #F7F8F5;
  --cream:     #FAFBF8;
  --neutral-900: #1A1A1A;
  --neutral-700: #3D3D3D;
  --neutral-500: #6B6B6B;
  --neutral-300: #B0B0B0;
  --neutral-100: #EAEAEA;
  --white: #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--neutral-700);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--neutral-900);
  line-height: 1.25;
}

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

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--green-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-800);
}
.logo:hover { color: var(--green-700); }

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* NAV */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-list a {
  color: var(--neutral-700);
  font-size: 0.938rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-list a:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.nav-cta {
  background: var(--green-800) !important;
  color: var(--white) !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--green-700) !important;
  color: var(--white) !important;
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-100);
    box-shadow: var(--shadow-md);
    padding: 16px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .nav-list a {
    padding: 12px 14px;
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 8px;
  }
}

/* ============================================
   HERO — split: dark green left / image right
   ============================================ */
.hero {
  background: var(--green-900);
  padding: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
}

.hero-content {
  padding: 64px 48px 64px 0;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(200,230,201,0.3);
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

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

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--green-600);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 48px 24px;
    text-align: center;
  }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image {
    min-height: 320px;
    order: -1;
  }
  .hero-image-wrapper { min-height: 320px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}
.btn-outline-dark:hover {
  background: var(--green-800);
  color: var(--white);
}

.btn-full { width: 100%; }

/* ============================================
   SECTION EYEBROW & HEADERS
   ============================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 56px;
}

.text-center { text-align: center; }

.section-subtitle {
  font-size: 1.063rem;
  color: var(--neutral-500);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 96px 0;
  background: var(--white);
}

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

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content p {
  font-size: 1.063rem;
  line-height: 1.75;
  color: var(--neutral-500);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.check-icon {
  color: var(--green-600);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image img { height: 280px; }
  .about-list { grid-template-columns: 1fr; }
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 96px 0;
  background: var(--off-white);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

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

.product-card-body h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.938rem;
  color: var(--neutral-500);
  line-height: 1.65;
}

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

/* ============================================
   WHY US
   ============================================ */
.why-us {
  padding: 96px 0;
  background: var(--green-900);
}

.why-us .section-eyebrow { color: var(--green-100); }
.why-us .section-subtitle { color: rgba(255,255,255,0.6); }

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

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-100);
}

.feature-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 96px 0;
  background: var(--white);
}

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

.visit-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.visit-address {
  font-style: normal;
  font-size: 1.063rem;
  line-height: 1.7;
  color: var(--neutral-700);
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green-600);
}

.visit-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.visit-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-800);
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.visit-contact-item:hover { color: var(--green-600); }

.visit-hours h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.938rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}
.visit-map iframe {
  width: 100%;
  height: 480px;
  display: block;
}

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map iframe { height: 320px; }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 80px 0;
  background: var(--green-800);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.063rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 96px 0;
  background: var(--off-white);
}

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

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  font-size: 1.063rem;
  color: var(--neutral-500);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.938rem;
  color: var(--neutral-700);
}
.contact-detail a {
  color: var(--green-700);
}
.contact-detail a:hover { color: var(--green-600); }
.contact-detail svg {
  color: var(--green-600);
  flex-shrink: 0;
}

/* FORM */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--neutral-100);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  color: var(--neutral-900);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-300);
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  color: var(--green-800);
  font-size: 0.938rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-brand p {
  font-size: 0.938rem;
  margin-top: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.938rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.938rem;
  line-height: 1.7;
  margin-bottom: 4px;
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
