/* Restaurant & Italian Kitchen Industry Template | Elliott's AI | Preset: restaurant-v1 */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Montserrat:wght@400;500;600&display=swap');

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #FFF8F0;
  --bg-alt:       #FFF1E3;
  --dark:         #3D2B1F;
  --text:         #3D2B1F;
  --text-muted:   #7A6558;
  --accent:       #8B2635;
  --accent-hover: #6F1E2A;
  --terracotta:   #C4513D;
  --cream:        #FFF8F0;
  --border:       #E8D8C8;
  --white:        #FFFFFF;

  /* The fixed nav's height at rest: 24px padding, top and bottom, around a
     ~44px row. The hero clears it by this, so the two cannot drift apart. */
  --nav-h: 92px;

  /* Typography */
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --space-xs:     8px;
  --space-sm:     16px;
  --space-md:     24px;
  --space-lg:     48px;
  --space-xl:     80px;
  --space-2xl:    120px;

  /* Dark section text */
  --dark-text: #F0F0F5;
  --dark-text-muted: rgba(240, 240, 245, 0.6);
  --dark-border: rgba(255, 255, 255, 0.08);

  /* Layout */
  --max-width:    1200px;
  --max-w:        1160px;
  --content-w:    720px;
  --page-pad:     clamp(20px, 5vw, 80px);

  /* Radius */
  --radius:       8px;
  --radius-sm:    6px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-btn:   6px;

  /* Easing */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base ─────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Element Resets ───────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
