/* ==========================================================================
   SHREEJA FOOD SOLUTIONS — DESIGN SYSTEM & BASE TOKENS (VERSION 3)
   Aesthetic: Refined Editorial Serif, Zero-Gravity Floating Motion, 70% Visual
   Concept: INGREDIENT → FUNCTION → PERFORMANCE → FOOD
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand Identity */
  --color-orange: #F15A24;
  --color-orange-hover: #D84A17;
  --color-orange-glow: rgba(241, 90, 36, 0.32);
  --color-orange-tint: rgba(241, 90, 36, 0.08);

  /* Deep Tones */
  --color-black: #17130F;
  --color-black-deep: #0D0A08;
  --color-black-surface: #1E1914;
  --color-black-card: #241E18;
  --color-black-border: rgba(255, 255, 255, 0.1);

  /* Warm Editorial Cream Tones */
  --color-cream: #F7F3EC;
  --color-cream-tint: #EFE9DE;
  --color-cream-card: #FFFFFF;
  --color-cream-border: rgba(23, 19, 15, 0.08);

  /* Typography Colors */
  --text-dark: #17130F;
  --text-dark-muted: #6E665E;
  --text-dark-subtle: #988F85;
  --text-light: #FFFFFF;
  --text-light-muted: #ABA196;

  /* Typography Families */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-editorial: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Layout Containers */
  --container-max: 1400px;
  --container-wide: 1600px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);

  /* Curves */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  /* Header Specs */
  --header-height: 80px;
  --header-height-scrolled: 68px;
  --z-header: 1000;
  --z-mega: 990;
  --z-modal: 1200;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-cream);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-cream);
}

/* Typography Base */
h1, h2, h3, h4 {
  font-family: var(--font-editorial);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: inherit;
}

p {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Helpers */
.highlight-orange {
  color: var(--color-orange) !important;
}

.eyebrow-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.eyebrow-label-dark {
  color: var(--color-orange);
}

.script-annotation {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  color: #6B6258;
  line-height: 1.2;
}

/* Buttons */
.btn-pill-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--color-orange);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.82rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px var(--color-orange-glow);
}

.btn-pill-orange:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241, 90, 36, 0.45);
}

.btn-pill-orange:active {
  transform: translateY(0);
}

.btn-watch-story {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-black);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-watch-story:hover {
  color: var(--color-orange);
}

.play-circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(23, 19, 15, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: all 0.2s ease;
}

.btn-watch-story:hover .play-circle-icon {
  border-color: var(--color-orange);
  background-color: var(--color-orange);
  color: #FFFFFF;
  transform: scale(1.08);
}

.btn-nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-cream-border);
  background-color: #FFFFFF;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(23, 19, 15, 0.04);
}

.btn-nav-arrow:hover {
  background-color: var(--color-orange);
  color: #FFFFFF;
  border-color: var(--color-orange);
  transform: scale(1.06);
  box-shadow: 0 6px 16px var(--color-orange-glow);
}

/* Zero Gravity Floating Animation Keyframes */
@keyframes zeroGravitySlow {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-6px, -12px, 0) rotate(1.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes zeroGravityDrift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(8px, -14px, 0) rotate(-2deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes zeroGravityFast {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, 8px, 0) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
