/* ==========================================================================
   DAD & I DINNER — NIGERIA EDITION (10 YEARS OF LEGACY)
   Core Design System, Variables & Global Typography
   ========================================================================== */

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

:root {
  /* Core Brand Colors */
  --purple-raw: 132, 38, 103;     /* #842667 */
  --gold-raw: 244, 192, 42;       /* #f4c02a */
  
  --color-purple: #842667;
  --color-purple-light: #a83885;
  --color-purple-dark: #52153f;
  --color-purple-deep: #2d0b23;
  --color-purple-glow: rgba(132, 38, 103, 0.45);

  --color-gold: #f4c02a;
  --color-gold-light: #ffd768;
  --color-gold-dark: #c49416;
  --color-gold-deep: #8c680a;
  --color-gold-glow: rgba(244, 192, 42, 0.28);

  --gold-gradient: linear-gradient(135deg, #ffd768 0%, #f4c02a 50%, #c49416 100%);
  --purple-gradient: linear-gradient(135deg, #a83885 0%, #842667 55%, #52153f 100%);
  --dark-purple-gradient: linear-gradient(180deg, rgba(82, 21, 63, 0.35) 0%, rgba(10, 7, 9, 0.95) 100%);

  /* DARK THEME (Default Experience) */
  --bg-primary: #090608;
  --bg-secondary: #120c11;
  --bg-tertiary: #1b1219;
  --bg-card: rgba(24, 14, 22, 0.72);
  --bg-card-hover: rgba(38, 20, 34, 0.88);
  --bg-glass: rgba(18, 12, 17, 0.75);
  
  --text-primary: #fbf8f4;
  --text-secondary: #dcd0d8;
  --text-muted: #9f8c98;
  --text-inverse: #090608;

  --border-subtle: rgba(244, 192, 42, 0.16);
  --border-medium: rgba(244, 192, 42, 0.32);
  --border-highlight: rgba(244, 192, 42, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);

  --nav-bg: rgba(9, 6, 8, 0.82);
  --nav-border: rgba(244, 192, 42, 0.12);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 10px 30px rgba(244, 192, 42, 0.18);
  --shadow-purple: 0 12px 35px rgba(132, 38, 103, 0.35);

  --grain-opacity: 0.045;
  --ambient-glow-opacity: 0.55;

  /* Typography Stacks */
  --font-display: 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --font-body: 'Futura', 'Futura-Medium', 'Century Gothic', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max: 1360px;
  --container-narrow: 980px;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* LIGHT THEME ALTERNATIVE */
[data-theme="light"] {
  --bg-primary: #fcf9f4;
  --bg-secondary: #f4ecdf;
  --bg-tertiary: #ebdccb;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);

  --text-primary: #1f0b1a;
  --text-secondary: #573c4d;
  --text-muted: #826877;
  --text-inverse: #fcf9f4;

  --border-subtle: rgba(132, 38, 103, 0.12);
  --border-medium: rgba(132, 38, 103, 0.24);
  --border-highlight: rgba(196, 148, 22, 0.6);
  --border-glass: rgba(132, 38, 103, 0.14);

  --nav-bg: rgba(252, 249, 244, 0.9);
  --nav-border: rgba(132, 38, 103, 0.1);

  --shadow-sm: 0 4px 14px rgba(132, 38, 103, 0.06);
  --shadow-md: 0 12px 28px rgba(132, 38, 103, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(132, 38, 103, 0.14);
  --shadow-gold: 0 10px 25px rgba(196, 148, 22, 0.2);
  --shadow-purple: 0 12px 30px rgba(132, 38, 103, 0.12);

  --grain-opacity: 0.025;
  --ambient-glow-opacity: 0.22;
}

/* Base Resets */
*, *::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;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

/* Film Grain Texture Overlay for tactile luxury feel */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow Lighting */
.ambient-glow-purple {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 38, 103, 0.4) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: var(--ambient-glow-opacity);
  transition: opacity 0.5s ease;
}

.ambient-glow-gold {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 192, 42, 0.28) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: var(--ambient-glow-opacity);
  transition: opacity 0.5s ease;
}

/* Typography Helpers */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.font-body {
  font-family: var(--font-body);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gold {
  color: var(--color-gold);
}

.text-purple {
  color: var(--color-purple);
}

.text-muted {
  color: var(--text-muted);
}

.text-italic {
  font-style: italic;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.7;
}

.eyebrow.no-after::after {
  display: none;
}

.eyebrow.no-decor::before,
.eyebrow.no-decor::after {
  display: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 5vw, 3.5rem);
  padding-right: clamp(1.25rem, 5vw, 3.5rem);
  position: relative;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-spacing {
  padding-top: clamp(5rem, 11vw, 10rem);
  padding-bottom: clamp(5rem, 11vw, 10rem);
  position: relative;
}

.section-spacing-sm {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

/* Divider Lines */
.gold-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
  opacity: 0.35;
  margin: 2rem 0;
}

.gold-line-left {
  height: 1px;
  width: 80px;
  background: var(--color-gold);
  opacity: 0.65;
  margin: 1.5rem 0;
}

/* Buttons & Luxury CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 1.15rem 2.5rem;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #120910;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(244, 192, 42, 0.35);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  background: rgba(244, 192, 42, 0.08);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--purple-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-purple);
  border: 1px solid rgba(244, 192, 42, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(132, 38, 103, 0.45);
  border-color: var(--color-gold);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary:hover .btn-icon-down {
  transform: translateY(4px);
}

/* Custom Cursor (Desktop) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 192, 42, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, transform 0.1s ease-out;
}

body:hover .custom-cursor {
  opacity: 1;
}

/* Selection Color */
::selection {
  background-color: var(--color-purple);
  color: #ffd768;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #3a1a32;
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}
