/* ==========================================================================
   Gateway Limousine & Car Services — Design Tokens & Base Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/albertusnovathin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/albertusnovalight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/albertusnova.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/albertusnova_bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/albertusnovablack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color tokens */
  --ink: #1C1A16;
  --parchment: #F6F2EA;
  --parchment-dim: #EFE9DD;
  --runway: #26433A;
  --runway-light: #35594E;
  --runway-dark: #1A2F28;
  --brass: #B08A45;
  --brass-light: #C9A868;
  --brass-dim: #E8DCC3;
  --rust: #9C4A2E;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Albertus Nova', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 3rem;     /* 48px */
  --space-6: 4rem;     /* 64px */
  --space-7: 6rem;     /* 96px */
  --space-8: 8rem;     /* 128px */

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28, 26, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 26, 22, 0.10);
  --shadow-lg: 0 16px 48px rgba(28, 26, 22, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  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, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-family: var(--font-display); letter-spacing: 0.01em; font-size: clamp(2.75rem, 5.5vw, 4.75rem); font-weight: 700; }
h2 { font-family: var(--font-body); font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-family: var(--font-body); font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--runway);
  font-weight: 700;
}

.mono-num {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.18) 55%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 550ms var(--ease);
  z-index: 1;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--runway);
  color: var(--parchment);
}

.btn-primary:hover {
  background: var(--runway-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-brass {
  background: var(--brass);
  color: var(--white);
}

.btn-brass:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176, 138, 69, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--runway);
  border: 1.5px solid var(--runway);
}

.btn-outline:hover {
  background: var(--runway);
  color: var(--parchment);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ==========================================================================
   Utility
   ========================================================================== */

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

@media (max-width: 768px) {
  .section {
    padding-block: var(--space-5);
  }
}

.bg-runway {
  background: var(--runway);
  color: var(--parchment);
}

.bg-runway-dark {
  background: var(--runway-dark);
  color: var(--parchment);
}

.bg-dim {
  background: var(--parchment-dim);
}

.text-brass { color: var(--brass); }
.text-runway { color: var(--runway); }

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
