@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:           #3D3F6E;
  --navy-dark:      #2A2C52;
  --navy-light:     #5558A0;
  --cornflower:     #6B7BC4;
  --periwinkle:     #C5C8E8;
  --periwinkle-mid: #A8ACDA;
  --near-black:     #1A1B2E;
  --white:          #FFFFFF;
  --off-white:      #F7F8FC;
  --light-bg:       #EEF0F9;
  --mid-gray:       #6B6D8A;
  --light-border:   #D8DBF0;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --nav-height:     90px;
  --transition:     all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--near-black);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(197, 200, 232, 0.97);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; z-index: 1000;
  border-bottom: 1px solid rgba(61,63,110,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 60px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text span:first-child { font-family: var(--font-display); font-size: 17px; color: var(--navy); font-weight: 700; }
.nav-logo-text span:last-child { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--navy-light); font-weight: 500; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; transition: var(--transition); position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--cornflower); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--navy-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { background: var(--navy) !important; color: var(--white) !important; padding: 8px 20px; border-radius: 3px; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.15em !important; border: 1px solid var(--cornflower) !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--navy-dark) !important; }
.nav-cta::after { display: none !important; }

/* ── HERO ── */
.hero { min-height: 100vh; padding-top: var(--nav-height); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--near-black); z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 60%, rgba(107,123,196,0.2) 0%, transparent 50%), radial-gradient(ellipse at 85% 15%, rgba(197,200,232,0.07) 0%, transparent 45%), radial-gradient(ellipse at 50% 100%, rgba(61,63,110,0.3) 0%, transparent 50%); }

.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(107,123,196,0.15); border: 1px solid rgba(107,123,196,0.35); color: var(--periwinkle); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 14px; border-radius: 3px; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); color: var(--white); line-height: 1.1; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--cornflower); }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary { background: var(--navy); color: var(--white); padding: 14px 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 3px; border: 1px solid var(--cornflower); cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: rgba(255,255,255,0.75); padding: 14px 32px; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(197,200,232,0.3); border-radius: 3px; cursor: pointer; transition: var(--transition); display: inline-block; }
.btn-secondary:hover { border-color: rgba(197,200,232,0.7); color: var(--white); }

/* ── STAT CARDS ── */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-card { background: rgba(107,123,196,0.1); border: 1px solid rgba(107,123,196,0.2); padding: 28px 24px; transition: background 0.2s; }
.stat-card:hover { background: rgba(107,123,196,0.17); }
.stat-card:first-child  { border-radius: 4px 0 0 0; }
.stat-card:nth-child(2) { border-radius: 0 4px 0 0; }
.stat-card:nth-child(3) { border-radius: 0 0 0 4px; }
.stat-card:last-child   { border-radius: 0 0 4px 0; }
.stat-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--cornflower); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

/* ── SECTIONS ── */
.section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cornflower); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.2; color: var(--near-black); margin-bottom: 20px; }
.section-subtitle { font-size: 16px; color: var(--mid-gray); line-height: 1.8; max-width: 580px; margin-bottom: 52px; }

/* ── DEAL CARDS ── */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.deal-card { background: var(--white); border: 1px solid var(--light-border); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; position: relative; border-radius: 4px; }
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61,63,110,0.12); }
.deal-card-image { height: 200px; background: var(--near-black); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.deal-card-image-bg { position: absolute; inset: 0; font-size: 120px; display: flex; align-items: center; justify-content: center; opacity: 0.15; }
.deal-tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.deal-card-body { padding: 24px; }
.deal-route { font-size: 20px; font-weight: 600; color: var(--near-black); margin-bottom: 6px; }
.deal-meta { font-size: 13px; color: var(--mid-gray); margin-bottom: 16px; }
.deal-price-row { display: flex; align-items: flex-end; justify-content: space-between; }
.deal-price { display: flex; flex-direction: column; }
.deal-was { font-size: 12px; color: var(--mid-gray); text-decoration: line-through; }
.deal-now { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; }
.deal-now sup { font-size: 14px; vertical-align: super; }
.deal-savings { background: rgba(61,63,110,0.08); color: var(--navy); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 2px; }

/* ── DIVIDER ── */
.divider-section { background: var(--near-black); padding: 40px 40px; text-align: center; position: relative; overflow: hidden; }
.divider-section::before { content: '✈'; position: absolute; font-size: 300px; opacity: 0.03; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.divider-section h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: var(--white); margin-bottom: 16px; }
.divider-section p { color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 32px; font-size: 16px; }

/* ── FOOTER ── */
footer { background: var(--near-black); color: rgba(255,255,255,0.45); padding: 60px 40px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(107,123,196,0.15); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-top: 16px; color: rgba(255,255,255,0.35); }
.footer-col h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.3); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.2); }

/* ── PAGE HERO ── */
.page-hero { padding-top: var(--nav-height); background: var(--near-black); padding-bottom: 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(107,123,196,0.15) 0%, transparent 55%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 40px 0; }
.page-hero-inner .section-label { color: var(--periwinkle-mid); }
.page-hero-inner .section-title  { color: var(--white); }
.page-hero-inner .section-subtitle { color: rgba(255,255,255,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 20px; }
}
@media (max-width: 600px) {
  .hero-content { padding: 48px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* Animate into X when open */
.nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #C5C8E8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    gap: 0;
    padding: 0;
    list-style: none;
  }
  .nav.nav-open .nav-links { max-height: 400px; }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    color: var(--navy) !important;
    font-size: 14px !important;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(61,63,110,0.1);
  }
  .nav-links a::after { display: none !important; }
  .nav-cta {
    display: block;
    margin: 8px 20px 16px;
    padding: 12px 20px !important;
    padding-left: 20px !important;
    text-align: left;
    border-bottom: none !important;
    border-radius: 6px;
  }
  .nav-links a.nav-cta {
    color: #FFFFFF !important;
  }
}
