/*
Theme Name: Flightsons Travel Portal
Theme URI: https://flightsons.example
Author: Flightsons
Description: A private-label travel booking theme built for the Flightsons Booking Pro plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: flightsons-travel-portal
*/

:root {
  --ftp-bg: #f4f7fb;
  --ftp-card: #ffffff;
  --ftp-ink: #111827;
  --ftp-muted: #64748b;
  --ftp-line: #d8e0ea;
  --ftp-blue: #1769e0;
  --ftp-navy: #061a2b;
  --ftp-green: #087460;
  --ftp-orange: #d95d25;
  --ftp-shadow: 0 18px 50px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ftp-bg);
  color: var(--ftp-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ftp-shell {
  min-height: 100vh;
}

.ftp-sitebar {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid rgba(216, 224, 234, .88);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  backdrop-filter: blur(18px);
}

body.admin-bar .ftp-sitebar {
  top: 32px;
}

.ftp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ftp-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--ftp-blue);
  color: #fff;
  font-weight: 950;
}

.ftp-brand strong,
.ftp-brand span {
  display: block;
}

.ftp-brand strong {
  font-size: 18px;
}

.ftp-brand span {
  color: var(--ftp-muted);
  font-size: 12px;
  font-weight: 750;
}

.ftp-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 9px;
  padding: 4px;
  background: #eef3f8;
}

.ftp-menu a {
  border-radius: 7px;
  padding: 9px 13px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.ftp-menu a:hover {
  background: #fff;
  color: var(--ftp-blue);
}

.ftp-phone {
  display: inline-flex;
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--ftp-navy);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.ftp-main {
  min-height: 72vh;
}

.ftp-hero {
  position: relative;
  overflow: hidden;
  padding: 56px clamp(18px, 5vw, 68px) 30px;
  background:
    linear-gradient(90deg, rgba(6, 26, 43, .94), rgba(6, 26, 43, .60)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=84") center/cover;
  color: #fff;
}

.ftp-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ftp-kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 7px 11px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
}

.ftp-hero h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.ftp-hero p {
  max-width: 680px;
  margin: 0;
  color: #dce8f4;
  font-size: 18px;
}

.ftp-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ftp-stat-row span {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .08);
  color: #e8f2ff;
  font-weight: 850;
  font-size: 13px;
}

.ftp-booking-wrap {
  position: relative;
  z-index: 10;
  margin-top: -20px;
}

.flightsons-portal #flightsons-pro .fs-topbar {
  display: none;
}

.flightsons-portal #flightsons-pro .fs-app {
  padding-top: 0;
}

.ftp-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.ftp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ftp-section h2 {
  margin: 0;
  color: var(--ftp-navy);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.ftp-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--ftp-muted);
}

.ftp-feature-grid,
.ftp-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ftp-card {
  border: 1px solid var(--ftp-line);
  border-radius: 10px;
  padding: 22px;
  background: var(--ftp-card);
  box-shadow: var(--ftp-shadow);
}

.ftp-card span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eaf4ff;
  color: var(--ftp-blue);
  font-size: 12px;
  font-weight: 950;
}

.ftp-card h3 {
  margin: 0 0 8px;
  color: var(--ftp-navy);
  font-size: 20px;
  line-height: 1.15;
}

.ftp-card p {
  margin: 0;
  color: var(--ftp-muted);
}

.ftp-route-card {
  display: grid;
  gap: 12px;
}

.ftp-route-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ftp-navy);
  font-size: 22px;
  font-weight: 950;
}

.ftp-route-card a {
  display: inline-flex;
  width: max-content;
  border-radius: 7px;
  padding: 9px 12px;
  background: var(--ftp-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.ftp-footer {
  padding: 28px clamp(18px, 5vw, 68px);
  background: var(--ftp-navy);
  color: #dbeafe;
}

.ftp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ftp-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

.ftp-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.ftp-page-card {
  border: 1px solid var(--ftp-line);
  border-radius: 10px;
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  box-shadow: var(--ftp-shadow);
}

@media (max-width: 880px) {
  body.admin-bar .ftp-sitebar {
    top: 46px;
  }

  .ftp-sitebar,
  .ftp-section-head,
  .ftp-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ftp-menu,
  .ftp-phone {
    width: 100%;
  }

  .ftp-menu {
    justify-content: space-between;
  }

  .ftp-phone {
    justify-content: center;
  }

  .ftp-hero {
    padding-top: 34px;
  }

  .ftp-feature-grid,
  .ftp-route-grid {
    grid-template-columns: 1fr;
  }
}
