/* ==========================================================================
   BASE CSS — Ankyatra Sacred Gold & Royal Indigo Design System
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

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

/* CSS Custom Properties (Theme Colors & Tokens) */
:root {
  /* Sacred Gold & Royal Indigo Numerology Palette */
  --primary: #B45309;           /* Sacred Gold Accent */
  --primary-light: #D97706;     /* Vibrant Amber Gold */
  --primary-dark: #78350F;      /* Deep Gold */
  --gold-glow: #F59E0B;         /* Glowing Gold */
  --gold-metallic: linear-gradient(135deg, #D4AF37 0%, #F59E0B 50%, #B45309 100%);
  
  --secondary: #1E1B4B;         /* Deep Sacred Indigo */
  --secondary-light: #2E1065;   /* Midnight Plum */
  
  --accent: #EA580C;            /* Rich Saffron */
  --accent-light: #F97316;      /* Bright Saffron */
  --accent-2: #E11D48;          /* Warm Coral / Rose */
  --success: #10B981;           /* Emerald Green */
  
  --bg: #FFFFFF;                 /* Pure White */
  --bg-light: #FFFDFA;           /* Warm Alabaster Cream */
  --bg-alt: #FAF7F2;             /* Subtle Warm Tint */
  
  --text: #1F2937;              /* Deep Charcoal */
  --text-secondary: #4B5563;    /* Muted Slate */
  --text-light: #6B7280;        /* Light Text */
  
  --border: #E5E7EB;            /* Border */
  --border-gold: rgba(212, 175, 55, 0.35); /* Subtle Gold Border */

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 27, 75, 0.08);
  --shadow-lg: 0 16px 36px rgba(30, 27, 75, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Radius */
  --radius-sm: 8px; 
  --radius: 14px; 
  --radius-lg: 20px;
  --radius-xl: 28px; 
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 300ms;

  /* Container */
  --container-sm: 640px; 
  --container: 1200px; 
  --container-lg: 1400px;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--secondary);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--accent);
}

/* Container classes */
.container {
  width: 100% !important;
  max-width: var(--container) !important;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box !important;
}

.container-sm {
  width: 100% !important;
  max-width: var(--container-sm) !important;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box !important;
}

.container-lg {
  width: 100% !important;
  max-width: var(--container-lg) !important;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .container, .container-sm, .container-lg {
    padding: 0 16px !important;
  }
}

/* Section spacing */
section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  section { padding: 96px 0; }
}

/* Section header pattern */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  margin-bottom: var(--space-2);
  background: rgba(217, 119, 6, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Utility classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-gold { color: var(--gold-glow); }
.text-accent { color: var(--accent); }

.bg-light { background-color: var(--bg-light); }
.bg-alt { background-color: var(--bg-alt); }
.bg-indigo { background-color: var(--secondary); color: white; }

/* Official Brand Logo Styling */
.brand-logo {
  height: 52px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

@media (min-width: 1024px) {
  .brand-logo { height: 60px; }
}
