/* ============================================================
   REMINISCENCE 3.0 — Global Design System (main.css)
   ============================================================ */

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Navy palette */
  --navy-950: #02080f;
  --navy-900: #050d1a;
  --navy-800: #0a1628;
  --navy-700: #0d1f3c;
  --navy-600: #112447;
  --navy-500: #1a3258;

  /* Gold palette */
  --gold-200: #faefc5;
  --gold-300: #f0d98a;
  --gold-400: #e8c97a;
  --gold-500: #c9a84c;
  --gold-600: #a07830;
  --gold-700: #7a5820;

  /* Text */
  --text-primary: #e8edf8;
  --text-secondary: #94a3b8;
  --text-muted:   #64748b;
  --white:        #ffffff;

  /* Glass */
  --glass-bg:           rgba(255,255,255,0.04);
  --glass-bg-hover:     rgba(255,255,255,0.08);
  --glass-border:       rgba(201,168,76,0.18);
  --glass-border-hover: rgba(201,168,76,0.55);
  --glass-blur:         blur(20px);

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:       0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:       0 24px 64px rgba(0,0,0,0.55);
  --shadow-gold:     0 0 30px rgba(201,168,76,0.12);
  --shadow-gold-h:   0 8px 40px rgba(201,168,76,0.28);

  /* Spacing */
  --section-py:     100px;
  --container-max:  1280px;
  --container-px:   24px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Transitions */
  --t-fast:   0.18s ease;
  --t-base:   0.3s ease;
  --t-slow:   0.5s ease;
  --t-spring: 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--navy-800);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open,
body.menu-open { overflow: hidden; }

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--navy-900); }
::-webkit-scrollbar-thumb      { background: var(--gold-600); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover{ background: var(--gold-500); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(201,168,76,0.28); color: var(--white); }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── Section wrapper ──────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

/* ── Section Header ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-title span {
  background: linear-gradient(130deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn-lg { padding: 16px 40px; font-size: 0.95rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(201,168,76,0.32);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  opacity: 0;
  transition: opacity var(--t-base);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(201,168,76,0.48);
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary span,
.btn-primary i { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(201,168,76,0.08);
  transform: translateY(-3px);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 80px; --container-px: 20px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .section-header { margin-bottom: 48px; }
  .btn-lg { padding: 14px 32px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  :root { --section-py: 52px; --container-px: 16px; }
}
