/* ================================================================
   ExploreEden – flight.css (Redesign)
   Tokens match index.css exactly
   ================================================================ */

:root {
  --teal-dark: #122a2a;
  --teal-mid: #1e5f5f;
  --teal-accent: #377e80;
  --teal-light: #59bdb1;
  --cream: #edeee8;
  --cream-dark: #d9dad3;
  --text-dark: #122a2a;
  --text-mid: #2b3535;
  --text-muted: #5a6b6b;
  --white: #fafafa;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text-mid);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
}

/* ================================================================
   NAVBAR  (exact match to index.css)
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.5px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--cream);
  color: var(--teal-accent);
}
.nav-links a.active {
  font-weight: 600;
}
.nav-auth {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-register,
.btn-login {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-register {
  border: 1.5px solid var(--teal-accent);
  color: var(--teal-accent);
  background: transparent;
}
.btn-register:hover {
  background: var(--teal-accent);
  color: var(--white);
}
.btn-login {
  background: var(--teal-dark);
  color: var(--white);
}
.btn-login:hover {
  background: var(--teal-accent);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  padding: 16px 24px 24px;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-menu a:hover {
  background: var(--cream);
  color: var(--teal-accent);
}
@media (max-width: 960px) {
  .nav-links,
  .nav-auth {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-container {
    gap: 0;
  }
}

/* ================================================================
   HERO
   ================================================================ */
.flight-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
}
.flight-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 50%,
      rgba(89, 189, 177, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0b1f1f 0%, #122a2a 40%, #1e5f5f 100%);
}
.flight-hero-bg::after {
  content: "✈";
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}
.flight-hero-inner {
  position: relative;
  text-align: center;
  max-width: 860px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(89, 189, 177, 0.12);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(89, 189, 177, 0.25);
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}

/* Search Panel */
.search-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.trip-tabs {
  display: flex;
  border-bottom: 1px solid var(--cream-dark);
}
.trip-tab {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.trip-tab:hover {
  color: var(--teal-accent);
}
.trip-tab.active {
  color: var(--teal-dark);
  font-weight: 600;
  border-bottom-color: var(--teal-accent);
}
.search-fields {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 20px 20px 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.field-group {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field-group label i {
  margin-right: 5px;
  color: var(--teal-accent);
}
.field-group input {
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  background: var(--cream);
  transition: border-color 0.2s;
}
.field-group input:focus {
  border-color: var(--teal-accent);
  background: var(--white);
}
.swap-btn {
  align-self: flex-end;
  width: 40px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  color: var(--teal-accent);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.swap-btn:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}
.search-btn {
  align-self: flex-end;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 0 28px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.search-btn:hover {
  background: var(--teal-accent);
}

/* ================================================================
   QUICK LINKS BAR
   ================================================================ */
.quick-links-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.quick-link i {
  color: var(--teal-accent);
}
.quick-link:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-accent);
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.section-header {
  text-align: center;
  padding: 60px 24px 32px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* ================================================================
   ROUTES GRID
   ================================================================ */
.routes-section {
  padding-bottom: 72px;
}
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.route-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.route-card-media {
  position: relative;
  overflow: hidden;
}
.route-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
}
.route-card:hover .route-card-media img {
  transform: scale(1.07);
}
.route-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 42, 42, 0.7) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.route-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.route-card-body {
  padding: 18px 20px 20px;
}
.route-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.route-path span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.route-dest {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-dark) !important;
}
.route-arrow {
  color: var(--teal-accent) !important;
  font-size: 18px;
}
.route-via {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.route-via i {
  margin-right: 5px;
  color: var(--teal-accent);
}
.btn-route {
  width: 100%;
  background: var(--cream);
  color: var(--teal-dark);
  border: 1.5px solid var(--cream-dark);
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-route:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

/* ================================================================
   WHY SECTION
   ================================================================ */
.why-section {
  background: var(--white);
  padding-bottom: 72px;
}
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.why-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}
.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   TRUST BANNER
   ================================================================ */
.trust-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 36px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.trust-item:last-child {
  border-right: none;
}
.trust-item i {
  font-size: 24px;
  color: var(--teal-light);
}
.trust-item span {
  font-size: 15px;
  font-weight: 600;
}

/* ================================================================
   FOOTER  (exact match to index.css)
   ================================================================ */
.site-footer {
  background: #0b1f1f;
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
}
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--teal-accent);
  border-color: var(--teal-accent);
  color: var(--white);
}
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-group a:hover {
  color: var(--teal-light);
}
.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-newsletter > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form button {
  padding: 11px 18px;
  background: var(--teal-accent);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .fa-heart {
  color: #e74c3c;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--teal-light);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .routes-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none;
    padding: 12px 24px;
  }
  .why-card {
    max-width: 100%;
    flex-basis: 100%;
  }
  .search-fields {
    flex-direction: column;
  }
  .swap-btn,
  .search-btn {
    width: 100%;
    height: 44px;
  }
}
@media (max-width: 680px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }
  .quick-link {
    padding: 12px 16px;
    font-size: 13px;
  }
}
