/* ============================================================
   Digital Luminosity Brand — styles.css
   CSS Variables, Reset, Typography, Layout
   ============================================================ */

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

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary:        #080808;
  --bg-secondary:      #101010;
  --bg-surface:        #161616;
  --bg-elevated:       #1e1e1e;

  --gold-light:        #F5D78E;
  --gold-mid:          #D4AF37;
  --gold-deep:         #A07820;
  --gold-gradient:     linear-gradient(135deg, #F5D78E 0%, #D4AF37 50%, #A07820 100%);
  --gold-glow:         rgba(212, 175, 55, 0.35);

  --text-primary:      #F5F0E8;
  --text-secondary:    #C8BEA8;
  --text-muted:        #7A7060;
  --text-gold:         #D4AF37;

  --border-subtle:     rgba(212, 175, 55, 0.15);
  --border-gold:       rgba(212, 175, 55, 0.4);

  --accent-pink:       #E060A0;
  --accent-pink-glow:  rgba(224, 96, 160, 0.3);

  /* Typography */
  --font-display:      'Great Vibes', cursive;
  --font-heading:      'Cormorant Garamond', serif;
  --font-body:         'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Layout */
  --max-width:         1200px;
  --nav-height:        80px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 100px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;

  /* Shadows */
  --shadow-gold:       0 0 40px rgba(212, 175, 55, 0.2);
  --shadow-card:       0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-deep:       0 8px 64px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--text-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

ul, ol {
  list-style: none;
}

/* ── Typography Scale ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 600; font-family: var(--font-body); }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.display-script {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-header p {
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }

/* ── Divider ────────────────────────────────────────────────── */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-gradient);
  margin: var(--space-md) auto;
  border: none;
}

/* ── Responsive Breakpoints ─────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-xl:  3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }
}
