/*
Theme Name: FlySmart Assistance
Theme URI: https://flysmartassistance.example.com/
Author: FlySmart Assistance
Author URI: https://flysmartassistance.example.com/
Description: A clean, modern, single-page WordPress theme for FlySmart Assistance — a flight booking assistance service. Call-focused, mobile-first, and lightweight. All sections are editable from Appearance → Customize.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flysmart
Tags: one-page, travel, business, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  --color-bg: #ffffff;
  --color-fg: #0f1d2e;
  --color-muted: #5b6b80;
  --color-border: #e3e8ef;
  --color-secondary: #f1f5f9;

  --color-primary: #1473d6;        /* Sky blue */
  --color-primary-glow: #38b6ff;
  --color-primary-foreground: #ffffff;

  --color-accent: #f5821f;         /* Sunset orange */
  --color-accent-2: #ef5a2e;
  --color-accent-foreground: #ffffff;

  --gradient-sky: linear-gradient(135deg, #1473d6, #38b6ff);
  --gradient-sunset: linear-gradient(135deg, #f5821f, #ef5a2e);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(15,29,46,0.55), rgba(20,40,70,0.35));

  --shadow-card: 0 4px 20px -4px rgba(15,29,46,0.08);
  --shadow-elegant: 0 20px 60px -20px rgba(20,115,214,0.30);
  --shadow-cta: 0 10px 30px -8px rgba(245,130,31,0.50);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-glow); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 110px 0; } }

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta {
  background: var(--gradient-sunset);
  color: var(--color-accent-foreground);
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover { color: var(--color-accent-foreground); opacity: .96; }
.btn-glass {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn-xl { height: 58px; padding: 0 32px; font-size: 1.05rem; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn-xl svg { width: 22px; height: 22px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(227,232,239,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--color-fg); }
.brand:hover { color: var(--color-fg); }
.brand .brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-sky);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
  color: #fff;
}
.brand .brand-mark svg { width: 20px; height: 20px; transform: rotate(-45deg); }
.brand .brand-accent { color: var(--color-primary); }
.brand img { max-height: 40px; width: auto; }

.primary-menu { display: none; gap: 32px; }
@media (min-width: 900px) { .primary-menu { display: flex; } }
.primary-menu ul { display: flex; gap: 32px; }
.primary-menu a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: .95rem;
}
.primary-menu a:hover, .primary-menu .current-menu-item a { color: var(--color-fg); }

.header-cta .btn { height: 42px; padding: 0 18px; font-size: .9rem; }
.header-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-sunset); color: #fff; box-shadow: var(--shadow-cta); }
.header-cta-icon svg { width: 18px; height: 18px; }
@media (min-width: 600px) { .header-cta-icon { display: none; } }
.header-cta-full { display: none; }
@media (min-width: 600px) { .header-cta-full { display: inline-flex; } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  color: #fff;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: var(--gradient-hero-overlay); }
.hero-inner { position: relative; z-index: 2; padding: 80px 0; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 500; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 .grad { background: linear-gradient(90deg, #fff, var(--color-primary-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
@media (min-width: 600px) { .hero-actions { flex-direction: row; } }
.hero-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.hero-phone:hover { color: #fff; }
.hero-phone .ring { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.hero-phone .ring svg { width: 18px; height: 18px; }
.hero-phone .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.hero-phone .num { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }

/* =========================================================
   Cards / Grids
   ========================================================= */
.bg-soft { background: rgba(241,245,249,.55); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.icon-tile {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-sky);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #fff;
}
.icon-tile svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* Reasons (round icon) */
.reason { text-align: center; }
.reason .icon-round {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20,115,214,.1);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.reason .icon-round svg { width: 26px; height: 26px; }

/* Airlines */
.airline-pill {
  height: 80px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: rgba(15,29,46,.85);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-align: center; padding: 0 12px;
}
.airline-pill:hover { color: var(--color-primary); border-color: rgba(20,115,214,.4); }

/* How it works */
.step .step-num {
  font-size: 3rem; font-weight: 800; line-height: 1;
  background: var(--gradient-sky);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}

/* =========================================================
   Strong CTA
   ========================================================= */
.strong-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--gradient-sky);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .strong-cta { padding: 90px 40px; } }
.strong-cta h2 { color: #fff; }
.strong-cta p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 28px; font-size: 1.1rem; }
.strong-cta::before, .strong-cta::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  filter: blur(80px); opacity: .55; z-index: 0;
}
.strong-cta::before { background: rgba(255,255,255,.18); top: -80px; right: -80px; }
.strong-cta::after  { background: rgba(245,130,31,.45); bottom: -80px; left: -80px; }
.strong-cta > * { position: relative; z-index: 1; }

/* =========================================================
   Disclaimer
   ========================================================= */
.disclaimer-box {
  max-width: 760px; margin: 0 auto;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(241,245,249,.6);
  border: 1px solid var(--color-border);
  text-align: center; color: var(--color-muted); font-size: .92rem;
}
.disclaimer-box strong { color: var(--color-fg); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-fg);
  color: rgba(255,255,255,.85);
  padding: 64px 0 24px;
}
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-grid a { color: rgba(255,255,255,.7); }
.footer-grid a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--color-primary-glow); }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
  justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.6);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* =========================================================
   Mobile Sticky Call
   ========================================================= */
.sticky-call {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border-radius: 999px;
  background: var(--gradient-sunset); color: #fff; font-weight: 700;
  box-shadow: var(--shadow-cta); text-decoration: none;
}
.sticky-call svg { width: 20px; height: 20px; }
.sticky-call:hover { color: #fff; }
@media (min-width: 900px) { .sticky-call { display: none; } }

/* WP core helpers */
.screen-reader-text { position:absolute !important; clip:rect(1px,1px,1px,1px); height:1px; width:1px; overflow:hidden; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
