/* ============================================================
   THEME: Ancaster Pizza — Ancaster, Hamilton, Ontario
   Brand palette taken from the restaurant's own logo mark
   (solid brand red #db302d — 94% of the logo's saturated pixels
   sit on a single hue), paired with warm crust gold and a warm
   off-white. Swap this file to re-skin the entire site.
   DO NOT add layout, grid, flexbox, or spacing here.
   ONLY define CSS custom property tokens and decorative values.
   ============================================================ */

/* Load this theme's fonts in the HTML <head> — NOT via @import */
/* Fonts: Cormorant Garamond (display serif) + Outfit (body sans) */

:root {
  /* ===== BRAND COLORS ===== */
  --gs-primary:       #db302d;                    /* Ancaster Pizza red — primary brand (4.7:1 on white) */
  --gs-primary-dark:  #b0201d;                    /* Deeper red (hover, panels) */
  --gs-primary-deep:  #7d1310;                    /* Deepest red (footer bar) */
  --gs-primary-light: rgba(219, 48, 45, 0.08);    /* Red tint (icon circles, fills) */

  /* ===== ACCENT ===== */
  --gs-accent:        #e8342e;                    /* Bright signal red — primary CTA */
  --gs-accent-bright: #ff6b61;                    /* Bright red-coral (on dark surfaces) */
  --gs-accent-dark:   #a81f1a;                    /* Deep red (hover, text on light) */
  --gs-accent-light:  rgba(232, 52, 46, 0.13);    /* Red tint */

  /* ===== UI COLORS ===== */
  --gs-dark:         #241b1a;     /* Ink: headings */
  --gs-text:         #473938;     /* Body text */
  --gs-text-light:   #776866;     /* Muted/secondary text */
  --gs-white:        #ffffff;
  --gs-bg:           #fdf7f4;     /* Warm off-white page background */
  --gs-bg-alt:       #f6e9e4;     /* Deeper warm tint (alt sections) */
  --gs-cream:        #ffffff;     /* Card surfaces */
  --gs-border:       rgba(36, 27, 26, 0.12);      /* Hairline borders */
  --gs-border-light: rgba(36, 27, 26, 0.07);      /* Very subtle borders */
  --gs-border-gold:  rgba(232, 52, 46, 0.38);     /* Red hairlines */

  /* ===== ON-DARK COLORS ===== */
  --gs-dark-text:       #ead7d4;                  /* Body text on deep red */
  --gs-dark-text-soft:  #c9aca8;                  /* Muted text on deep red */
  --gs-dark-heading:    #fff5f2;                  /* Headings on deep red */
  --gs-dark-border:     rgba(246, 200, 119, 0.22);/* Gold hairline on deep red */

  /* ===== SHADOWS ===== */
  --gs-shadow:       0 2px 6px rgba(70, 20, 18, 0.05), 0 14px 34px rgba(70, 20, 18, 0.09);
  --gs-shadow-hover: 0 4px 10px rgba(70, 20, 18, 0.07), 0 24px 54px rgba(70, 20, 18, 0.16);
  --gs-shadow-gold:  0 10px 30px rgba(232, 52, 46, 0.28);

  /* ===== TYPOGRAPHY ===== */
  --gs-font-heading:    'Cormorant Garamond', 'Times New Roman', serif;
  --gs-font-body:       'Outfit', 'Segoe UI', sans-serif;
  --gs-heading-style:   normal;
  --gs-heading-weight:  600;

  /* ===== HERO ===== */
  --gs-hero-overlay: linear-gradient(
      180deg,
      rgba(38, 8, 7, 0.62) 0%,
      rgba(38, 8, 7, 0.44) 45%,
      rgba(38, 8, 7, 0.72) 100%
    );

  /* ===== TEXTURE ===== */
  /* Fine film grain, layered over heroes and dark panels */
  --gs-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");

  /* ===== LAYOUT ===== */
  --max-width: 1200px;

  /* ===== NAVBAR ===== */
  --gs-nav-height:        85px;
  --gs-nav-height-mobile: 72px;
  --gs-nav-bg:            rgba(45, 12, 11, 0.94);
  --gs-nav-open-bg:       #2d0c0b;

  /* ===== BUTTONS ===== */
  --gs-btn-radius: 3px;

  /* ===== FOOTER ===== */
  --gs-footer-bg:     #2d0c0b;
  --gs-footer-bar-bg: #1e0706;
  --gs-footer-text:   #c9aca8;

  /* ===== BRAND GLOW ===== */
  --gs-glow:      rgba(219, 48, 45, 0.4);
  --gs-glow-dark: rgba(219, 48, 45, 0.5);
  --gs-glow-soft: rgba(219, 48, 45, 0.3);

  /* ===== DECORATIVE ===== */
  --gs-star-color:          #e8342e;
  --gs-faq-section-bg:      #f6e9e4;
  --gs-faq-container-bg:    #ffffff;

  /* ===== BACKWARD COMPATIBILITY ===== */
  /* Old variable names still referenced by legacy selectors */
  --primary-color:        #db302d;
  --primary-color-light:  #fdf7f4;
  --primary-color-dark:   #b0201d;
  --text-dark:            #241b1a;
  --text-light:           #776866;
  --white:                #ffffff;
  --main-color:           #e8a33d;
  --bg-shade:             #f6e9e4;

  /* ===== LEGACY ALIASES (defined so they never resolve to nothing) ===== */
  --primary:        #db302d;
  --primaryLight:   #f36a67;
  --secondary:      #e8a33d;
  --secondaryLight: #f6c877;
}
