/* ============================================
   Happy Family Market LLC — Styles
   Warm, welcoming, community grocery aesthetic
   Fonts: Nunito (body) + Merriweather (display) + Caveat (accent)
   ============================================ */

/* --- Variables --- */
:root {
  --bg: #fefcf7;
  --bg-warm: #faf5ec;
  --bg-green: #f0f7f2;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f4;
  --bg-dark: #1b3a2d;
  --bg-dark-mid: #244636;
  --border: #e5ddd0;
  --border-light: #ede8df;
  --border-green: #b7e4c7;

  /* Greens */
  --green-900: #1b3a2d;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-500: #74c69d;
  --green-400: #95d5b2;
  --green-300: #b7e4c7;
  --green-200: #d8f3dc;
  --green-100: #edf7f0;

  /* Warm accents */
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --orange: #e07b4a;
  --terracotta: #c1694f;
  --cream: #fefcf7;
  --cream-dark: #f0ebe3;

  /* Text */
  --text: #2c3e2d;
  --text-mid: #5a6b5c;
  --text-light: #7d8e7f;
  --text-faint: #a3b1a5;
  --text-on-dark: #e8f0ea;
  --text-on-dark-mid: #b5c9b9;

  /* Fonts */
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.1);
  --shadow-green: 0 4px 20px rgba(45,106,79,0.12);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-700); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--green-900); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.section-label {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--green-700);
  display: block;
  margin-bottom: 0.5rem;
}
.italic-accent { font-style: italic; color: var(--green-700); }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  color: var(--text-mid);
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--green-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--green-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: var(--green-100);
  color: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
}
.site-nav.scrolled {
  background: rgba(254,252,247,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.65rem 0;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
}
.brand-accent { color: var(--green-700); }
.nav-logo { flex-shrink: 0; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-800); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.8rem !important;
}
.nav-links a.nav-cta {
  color: #fff;
}
.nav-links a.nav-cta:hover {
  color: #fff;
}
.nav-links a.nav-cta::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 32px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(254,252,247,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--green-800); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,106,79,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}
.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224,123,74,0.04) 0%, transparent 70%);
  top: 40%;
  left: 30%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-content { position: relative; z-index: 2; }
.hero-tagline {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--green-700);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.2s;
}
.hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.4s;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.6s;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.8s;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.6s;
}
.hero-visual .basket-body {
  fill: rgba(45,106,79,0.06);
}
.hero-visual .basket-outline {
  fill: none;
  stroke: var(--green-700);
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawStroke 2s ease forwards;
  animation-delay: 0.8s;
}
.hero-visual .basket-handle {
  fill: none;
  stroke: var(--green-800);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawStroke 1.5s ease forwards;
  animation-delay: 1.2s;
}
.hero-visual .basket-line {
  stroke: var(--green-600);
  stroke-width: 0.8;
  opacity: 0.3;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: gentleBounce 2s ease infinite;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--green-800);
  position: relative;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-on-dark);
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--green-400);
}
.trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-on-dark-mid);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 6rem 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-image-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--border);
}
.about-image-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}
.image-caption {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.about-content { }
.about-content p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: 1rem;
}
.about-content p:first-of-type { margin-top: 1.5rem; }
.about-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.signature-name {
  font-family: var(--font-hand);
  font-size: 1.75rem;
  color: var(--green-800);
  display: block;
}
.signature-title {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  display: block;
}

/* ============================================
   DEPARTMENTS
   ============================================ */
.departments {
  padding: 6rem 0;
  background: var(--bg-green);
  position: relative;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-green);
}
.dept-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.dept-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.dept-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.dept-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--green-200);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
}

/* ============================================
   SPECIALS / WHY US
   ============================================ */
.specials {
  padding: 6rem 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-200);
  line-height: 1;
  margin-bottom: 1rem;
}
.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.feature-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Highlight Banner */
.highlight-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  border-radius: var(--radius);
  color: #fff;
}
.highlight-content h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.highlight-content p {
  color: var(--text-on-dark-mid);
  font-size: 0.95rem;
}
.highlight-banner .btn-primary {
  background: #fff;
  color: var(--green-800);
  flex-shrink: 0;
}
.highlight-banner .btn-primary:hover {
  background: var(--green-100);
  color: var(--green-700);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-warm);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-200);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green-900);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   VISIT / HOURS & LOCATION
   ============================================ */
.visit {
  padding: 6rem 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.visit-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: 1rem;
  max-width: 440px;
}
.hours-card {
  margin-top: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.hours-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.hours-list { display: flex; flex-direction: column; gap: 0.75rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-row span { font-size: 0.95rem; color: var(--text-mid); }
.hours-time {
  font-weight: 700;
  color: var(--green-800) !important;
}
.hours-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}
.location-card {
  margin-top: 1.25rem;
}
.location-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.location-row svg {
  flex-shrink: 0;
  color: var(--green-700);
  margin-top: 2px;
}
.location-row strong {
  display: block;
  color: var(--green-900);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.location-row span {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Map placeholder */
.visit-map { }
.map-placeholder {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 400px;
  text-align: center;
}
.map-placeholder svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}
.map-placeholder p {
  font-weight: 700;
  color: var(--green-800);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.map-note {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 280px;
  line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 6rem 0;
  background: var(--bg-green);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-headline { margin-bottom: 1rem; }
.contact-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 440px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.contact-row svg {
  flex-shrink: 0;
  color: var(--green-700);
  margin-top: 2px;
}
.contact-row strong {
  display: block;
  color: var(--green-900);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}
.contact-row span {
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237d8e7f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--green-900);
  color: var(--text-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-accent { color: var(--green-400); }
.footer-brand .nav-logo circle { fill: rgba(255,255,255,0.1); }
.footer-brand .nav-logo path { stroke: var(--green-400); }
.footer-brand .nav-logo circle:nth-child(n+3) { fill: var(--green-400); opacity: 0.5; }
.footer-brand-text {
  color: var(--text-on-dark-mid);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-mid);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  color: var(--text-on-dark-mid);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-on-dark-mid);
  opacity: 0.7;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-on-dark-mid);
  opacity: 0.7;
  transition: all var(--transition);
}
.footer-legal a:hover { opacity: 1; color: #fff; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.dept-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.dept-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.dept-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.dept-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.dept-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}
@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-tagline, .hero h1, .hero-desc, .hero-buttons { opacity: 1; }
  .hero-visual svg { opacity: 1; }
  .hero-visual .basket-outline,
  .hero-visual .basket-handle { stroke-dashoffset: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-area { order: -1; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .highlight-banner { flex-direction: column; text-align: center; padding: 2rem; }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  h1 { font-size: 2rem; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-scroll-hint { display: none; }
  .dept-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; }
  .trust-items { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Small (<=480px) */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 6rem 0 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost { width: 100%; justify-content: center; }
  .trust-items { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem; }
  .highlight-banner { padding: 1.5rem; }
  .about, .departments, .specials, .testimonials, .visit, .contact { padding: 4rem 0; }
}
