/*
 * INDIANSPICEROUTE — Base Styles
 * Reset, typography, layout utilities, global elements.
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Cinzel:wght@400;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
}

body > * {
  position: relative;
  z-index: 1;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text-secondary); }

.brand-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section {
  padding: 4rem 0;
}
.section--alt {
  background-color: var(--bg-secondary);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background-color: var(--accent-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--accent-secondary);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  background-color: var(--accent-secondary-hover);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}
.btn--outline:hover {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
}

/* ── Section Headings ── */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header__eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
}
.section-header__title {
  margin-bottom: 0.75rem;
}
.section-header__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--india-green));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.section-header__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0.75rem auto 0;
}

/* ── Cards ── */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, background-color 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* ── Veg / Non-veg indicators ── */
.veg-dot, .non-veg-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.veg-dot     { background-color: var(--color-veg); }
.non-veg-dot { background-color: var(--color-non-veg); }

/* ── Price ── */
.price {
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 1rem;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--special {
  background-color: var(--saffron-light);
  color: var(--saffron-dark);
}
[data-theme="dark"] .badge--special {
  background-color: rgba(255, 153, 51, 0.2);
  color: var(--saffron);
}

/* ── Utility ── */
.text-center  { text-align: center; }
.text-accent  { color: var(--accent-primary); }
.text-green   { color: var(--accent-secondary); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
