/* ============================================
   EASY HEALTH FOOD STORE
   Palette: Deep Forest #1B3A2B (base/hero/footer)
            Warm Off-White #F5F0E8 (content bg)
            Amber-Gold #D4893A (accent — CTA, highlights)
   Type: Playfair Display (display) + Nunito (body)
   ============================================ */

:root {
  /* palette */
  --green: #1B3A2B;
  --green-light: #2A5A3F;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D4;
  --gold: #D4893A;
  --gold-light: #E8A84C;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #7A7A7A;
  --white: #FFFFFF;

  /* spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  /* type */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----- UTILITY ----- */
.section-label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 137, 58, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--full { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--green);
}
.hero__panel--text {
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-lg);
  color: var(--white);
}
.hero__inner {
  max-width: 520px;
}
.hero__badge {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-md);
}
.hero__title {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
  color: var(--white);
}
.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-xl);
  max-width: 42ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.hero__panel--image {
  overflow: hidden;
  max-height: 50vh;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   REVIEWS WALL
   ============================================ */
.reviews {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream);
}
.reviews__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.reviews__grid {
  display: grid;
  gap: var(--space-lg);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  margin: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.review-card__stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}
.review-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 var(--space-md);
  quotes: none;
}
.review-card__attribution {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
}
.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.services__grid {
  display: grid;
  gap: var(--space-lg);
}
.service-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
}
.service-card__icon {
  color: var(--green);
  margin-bottom: var(--space-md);
}
.service-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--green);
}
.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream);
}
.gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gallery__grid {
  display: grid;
  gap: var(--space-md);
}
.gallery__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}
.gallery__img:hover {
  transform: scale(1.02);
}

/* ============================================
   VISIT / HOURS / CONTACT FORM
   ============================================ */
.visit {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--green);
  color: var(--white);
}
.visit__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-2xl);
}
.visit__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.visit__address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.visit__address strong {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--white);
}
.visit__phone a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.2s;
}
.visit__phone a:hover {
  color: var(--gold-light);
}
.visit__hours-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: var(--gold);
}
.hours-table {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hours-table td:first-child {
  font-weight: 600;
  width: 110px;
}
.hours-table__closed {
  color: rgba(255,255,255,0.4);
}
.visit__form {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.visit__form-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 var(--space-lg);
  color: var(--white);
}
.form-field {
  display: block;
  margin-bottom: var(--space-md);
}
.form-field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: rgba(255,255,255,0.7);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.form-status {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}
.footer__copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer .attribution {
  font-size: 0.75rem;
  margin: 0;
}
.footer .attribution a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer .attribution a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   RESPONSIVE — TABLET+
   ============================================ */
@media (min-width: 640px) {
  .hero__title {
    font-size: 3.8rem;
  }
  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews__grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .visit__form {
    padding: var(--space-xl);
  }
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    min-height: 100vh;
  }
  .hero__panel {
    flex: 1;
    min-height: 100vh;
  }
  .hero__panel--text {
    padding: var(--space-2xl);
  }
  .hero__panel--image {
    max-height: none;
  }
  .hero__title {
    font-size: 4.5rem;
  }
  .hero__subtitle {
    font-size: 1.2rem;
  }
  .reviews__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .reviews__grid .review-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .gallery__img {
    height: 340px;
  }
  .visit__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
