/* =============================================
   NUTRIVIVA — Health Food Store, Toronto
   Palette:
     --teal:    #1b2f33  (base bg, atmosphere)
     --cream:   #f7f3ee  (foreground, card surfaces)
     --amber:   #d4813d  (accent, CTA, warmth)
   Type: Playfair Display (display) + Inter (body)
   ============================================= */

:root {
  --teal:    #1b2f33;
  --teal-lt: #2a474d;
  --cream:   #f7f3ee;
  --cream-dk: #e8dfd4;
  --amber:   #d4813d;
  --amber-lt: #e0944f;
  --ink:     #1a1a1a;
  --muted:   #5c5c5c;
  --rule:    #d4c9bc;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --max-w: 1200px;
  --radius: 12px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-lg);
  color: var(--teal);
}
@media (min-width: 768px) {
  .section-label { font-size: 2rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.btn--primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn--primary:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 129, 61, 0.35);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn__hint {
  font-weight: 400;
  opacity: 0.7;
}
@media (max-width: 480px) {
  .btn { font-size: 0.95rem; padding: 0.7rem 1.4rem; }
  .btn__hint { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--teal);
}
.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(27,47,51,0.92) 0%,
    rgba(27,47,51,0.75) 50%,
    rgba(27,47,51,0.4) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin: 0 0 var(--space-sm);
}
.hero__title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-lg);
  max-width: 32rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .hero__title { font-size: 5rem; }
  .hero__subtitle { font-size: 1.35rem; }
  .hero__content { padding-bottom: 6rem; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 6.5rem; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--teal-lt);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
}
.trust-bar__item {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.trust-bar__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
@media (max-width: 480px) {
  .trust-bar__inner { gap: var(--space-xs) var(--space-sm); }
  .trust-bar__item { font-size: 0.7rem; }
  .trust-bar__sep { display: none; }
}

/* ===== REVIEWS ===== */
.reviews {
  background: var(--cream);
  padding: var(--space-2xl) var(--space-lg);
}
.reviews__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.reviews__grid {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .reviews__grid { grid-template-columns: 1.5fr 1fr; }
}
.review-card {
  margin: 0;
  padding: var(--space-lg);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(27,47,51,0.06);
  border-left: 4px solid var(--amber);
}
.review-card__stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.review-card__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
}
.review-card__author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  font-style: normal;
}

/* ===== SERVICES ===== */
.services {
  background: var(--teal);
  padding: var(--space-2xl) var(--space-lg);
}
.services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.services .section-label { color: #fff; }
.services__grid {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
.service-card {
  padding: var(--space-lg);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--space-sm);
}
.service-card__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ===== GALLERY ===== */
.gallery {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream);
}
.gallery__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.gallery__grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .gallery__grid img:first-child {
    grid-column: 1 / -1;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
  }
  .gallery__grid img:nth-child(2),
  .gallery__grid img:nth-child(3) {
    border-radius: var(--radius);
    max-height: 280px;
    object-fit: cover;
    width: 100%;
  }
}
@media (max-width: 639px) {
  .gallery__grid img {
    border-radius: var(--radius);
    max-height: 260px;
    object-fit: cover;
    width: 100%;
  }
}

/* ===== INFO (HOURS + LOCATION) ===== */
.info {
  background: var(--teal);
  padding: var(--space-2xl) var(--space-lg);
}
.info__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .info__inner { grid-template-columns: 1fr 1fr; }
}
.info .section-label { color: #fff; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.hours-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-table td {
  padding: var(--space-sm) 0;
}
.hours-table td:first-child {
  font-weight: 500;
  width: 40%;
  color: rgba(255,255,255,0.6);
}
.info__address {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.info__address strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}
.info__address a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}
.info__address a:hover { text-decoration: underline; }
.info__note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-md);
}

/* ===== CONTACT FORM ===== */
.contact {
  background: var(--cream);
  padding: var(--space-2xl) var(--space-lg);
}
.contact__inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  margin: -0.75rem 0 var(--space-lg);
}
.contact-form label {
  display: block;
  margin-bottom: var(--space-md);
}
.contact-form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,129,61,0.15);
}
.contact-form__row {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}
.contact-form .btn {
  margin-top: var(--space-sm);
}
.form-status {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  color: var(--teal);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--teal);
  padding: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.footer__copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer .attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0;
}
.footer .attribution a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer .attribution a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

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