/* ==========================================================================
   BASE / FOUNDATION
   CSS Variables, Reset, Typography
   ========================================================================== */

:root {
  /* -- Font size base: 62.5% -> 1rem = 10px -- */
  font-size: 62.5%;

  /* ---------- Colors: Brand ---------- */
  --color-navy-dark: #1b144a;      /* main section background (dark) */
  --color-navy-darker: #140e3b;    /* alternate section background (darker) */
  --color-navy-deepest: #110c33;   /* footer bottom / copyright bar */

  --color-gold: #c5ab84;           /* primary accent (buttons, borders, links) */
  --color-gold-light: #dac8ac;     /* accent hover border */
  --color-gold-soft: #c4ac85;      /* divider lines */
  --color-gold-dark: #6b4b1b;      /* text on gold background */
  --color-gold-muted: #aa8856;     /* secondary divider line */

  --color-cream: #f4efe9;          /* body text on dark background */
  --color-cream-soft: #c5c2d8;     /* secondary text on dark background */

  --color-white: #ffffff;
  --color-black: #000000;

  --color-text-body: #4a4949;      /* default body text on light background */
  --color-text-muted: #757575;

  /* ---------- Colors: Semantic (surfaces & text roles) ---------- */
  --color-surface-primary: var(--color-navy-dark);
  --color-surface-secondary: var(--color-navy-darker);
  --color-surface-light: var(--color-white);

  --color-text-on-dark: var(--color-cream);
  --color-text-on-dark-muted: var(--color-cream-soft);
  --color-text-on-light: var(--color-text-body);

  --color-accent: var(--color-gold);
  --color-accent-hover: var(--color-gold-light);

  --color-border-divider: var(--color-gold-soft);

  /* ---------- Typography ---------- */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Lato", sans-serif;

  --fs-hero-title: 6rem;      /* 60px */
  --fs-hero-subtitle: 3.6rem; /* 36px */
  --fs-hero-text: 1.8rem;     /* 18px */

  --fs-h2: 2.8rem;            /* 28px - section titles */
  --fs-h3: 2.4rem;            /* 24px - intro titles */
  --fs-h4: 2rem;              /* 20px */
  --fs-body: 1.6rem;          /* 16px */
  --fs-small: 1.4rem;         /* 14px */
  --fs-xsmall: 1.3rem;        /* 13px */

  /* ---------- Spacing ---------- */
  --space-xs: 0.8rem;
  --space-sm: 1.6rem;
  --space-md: 2.4rem;
  --space-lg: 4rem;
  --space-xl: 6.4rem;
  --space-2xl: 9.6rem;

  --section-padding-y: var(--space-xl);
  --container-max-width: 120rem;
  --container-padding-x: var(--space-sm);

  /* ---------- Misc ---------- */
  --transition-base: 0.3s ease;
  --shadow-soft: 0 0.2rem 1rem rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-on-light);
  background-color: var(--color-surface-light);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: var(--fs-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

.section {
  padding-block: var(--section-padding-y);
}

.section--dark {
  background-color: var(--color-surface-primary);
  color: var(--color-text-on-dark-muted);
}

.section--darker {
  background-color: var(--color-surface-secondary);
  color: var(--color-white);
}

.section--light {
  background-color: var(--color-surface-light);
}

.section-title {
  text-align: center;
  color: var(--color-gold-soft);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section-divider {
  display: block;
  width: 6rem;
  height: 0.4rem;
  background-color: var(--color-gold-soft);
  margin: 0 auto var(--space-lg);
}

.section-divider--left {
  margin: var(--space-sm) 0 var(--space-md);
  width: 8rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0.2rem solid var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-navy-dark);
  text-transform: uppercase;
  font-size: var(--fs-small);
  letter-spacing: 0.1rem;
  padding: 0.8rem 2rem;
  transition: var(--transition-base);
}

.btn:hover {
  color: var(--color-navy-dark);
  background-color: var(--color-gold);
  border-color: var(--color-gold-light);
  font-weight: 700;
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-gold);
}

.btn--outline-light:hover {
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
}
