/* Google Fonts — must be @import FIRST before any other CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital@1&display=swap');

/* ════════════════════════════════════════════════════
   EZ2FLY — Design Tokens & Base Reset
   tokens.css  |  All pages import this first
════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────
   BARA-BARA FONT
   Extracted from the original EOT into WOFF2/WOFF/TTF.
   This is the actual BaraBara font (internal name: BARABARA-FINAL).
   Fallback: Bebas Neue (Google Fonts, loaded above).
────────────────────────────────────────────────── */
@font-face {
  font-family: 'BaraBara';
  src: url('../fonts/BaraBara.eot');
  src: url('../fonts/BaraBara.eot?#iefix')  format('embedded-opentype'),
       url('../fonts/BaraBara.woff2')        format('woff2'),
       url('../fonts/BaraBara.woff')         format('woff'),
       url('../fonts/BaraBara.ttf')          format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ──────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
────────────────────────────────────────────────── */
:root {
  /* ── Brand Colors ── */
  --ocean:     #0B1D35;
  --deep:      #0D2847;
  --navy:      #163660;
  --teal:      #0E7490;
  --teal-lt:   #22D3EE;
  --gold:      #C9913D;
  --gold-lt:   #E8B96A;
  --gold-pale: #F5DFA0;
  --sunset:    #E07B45;
  --coral:     #F4845F;
  --cream:     #FBF6EE;
  --sand:      #F0E6D3;
  --white:     #FFFFFF;
  --green:     #1A5C4A;
  --green-lt:  #2D9B78;
  --ink:       #101828;
  --muted:     #6B7B96;
  --border:    rgba(0, 0, 0, 0.08);

  /* ── Typography ── */
  --font-bara:    'BaraBara', 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-display: 'BaraBara', 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  /* ── Spacing Scale ── */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

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

  /* ── Shadows ── */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.14);
  --shadow-gold:0 8px 28px rgba(201,145,61,0.35);

  /* ── Transitions ── */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   0.2s;
  --dur-mid:    0.35s;
  --dur-slow:   0.65s;

  /* ── Layout ── */
  --max-w: 1380px;
  --nav-h: 68px;
}

/* ──────────────────────────────────────────────────
   RESET
────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ocean); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ──────────────────────────────────────────────────
   ACCESSIBILITY
────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ──────────────────────────────────────────────────
   UTILITIES
────────────────────────────────────────────────── */
.container     { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
.section-pad   { padding: var(--space-2xl) 0; }
.section-pad-sm{ padding: var(--space-xl) 0; }

/* Section heading system */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.8rem;
}
.eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sunset));
  border-radius: 1px;
}

.sec-title {
  font-family: var(--font-bara);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 0.95;
  color: var(--ink); letter-spacing: 0.02em; text-transform: uppercase;
}
.sec-title em   { color: var(--gold); font-style: normal; }
.sec-title.light{ color: var(--white); }
.sec-title .accent { color: var(--gold-lt); }

.gold-line {
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sunset));
  margin: 1.1rem 0 1.5rem; border-radius: 1px;
}

/* Reveal animations */
.reveal, .reveal-l, .reveal-r, .reveal-up {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal   { transform: translateY(24px); }
.reveal-l { transform: translateX(-28px); }
.reveal-r { transform: translateX(28px); }
.reveal-up{ transform: translateY(40px); }
.reveal.in, .reveal-l.in, .reveal-r.in, .reveal-up.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--r-sm); transition: all var(--dur-mid) var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: var(--ocean); box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(201,145,61,0.45); }

.btn-dark { background: var(--ocean); color: var(--white); }
.btn-dark:hover { background: var(--navy); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); }

.btn-outline-dark {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn-outline-dark:hover { background: var(--ocean); color: var(--white); border-color: var(--ocean); }

.btn-ghost-gold {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-ghost-gold:hover { background: var(--gold); color: var(--ocean); }

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--gold-lt), var(--sunset));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Float CTA */
.float-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 700;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: var(--ocean); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(201,145,61,0.48);
  opacity: 0; transform: translateY(20px);
  pointer-events: none; transition: all 0.4s var(--ease);
}
.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover   { transform: translateY(-4px) scale(1.1); }

/* Weave texture */
.weave-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 14px),
    repeating-linear-gradient(-60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 14px);
  background-size: 18px 18px;
  opacity: 0.04;
}
.dot-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.025;
}

/* Page hero shared */
.page-hero {
  position: relative; background: var(--ocean);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,29,53,0.55), rgba(11,29,53,0.92));
  z-index: 1;
}
.page-hero-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-bara);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem); color: var(--white);
  letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 0.94; margin-bottom: 1rem;
}
.page-hero-title em { color: var(--gold-lt); font-style: normal; }
.page-hero-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.55);
  max-width: 500px; margin: 0 auto; line-height: 1.9;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 1.5rem;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: var(--gold-lt); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.3; }

/* ──────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
────────────────────────────────────────────────── */
@media (max-width: 1100px) { .container { padding: 0 2rem; } }
@media (max-width: 768px)  { .container { padding: 0 1.25rem; } .section-pad { padding: 4rem 0; } }
@media (max-width: 480px)  { .container { padding: 0 1rem; } }
