/*
Theme Name: Adventure Balloon
Theme URI: https://adventureballoon.com
Author: Adventure Balloon
Author URI: https://adventureballoon.com
Description: Custom theme for Adventure Balloon — Luxor hot air balloon rides. Includes hero animations, package showcase, booking integration with the Adventure Balloon Booking plugin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adventure-balloon
Tags: travel, tourism, booking, custom-colors, custom-menu, featured-images
*/

/* ───────── Design tokens ───────── */
:root {
  --blue-900: #0F2C4A;
  --blue-800: #143A66;
  --blue-700: #1B5A99;
  --blue-500: #2E7CBF;
  --blue-300: #5DA8DC;
  --blue-100: #C7E1F2;

  --sun-700: #C85A1F;
  --sun-600: #E87825;
  --sun-500: #F39C2D;
  --sun-300: #F8C772;
  --sun-100: #FCE7BE;

  --sand-50:  #FBF7F0;
  --sand-100: #F4E8D5;
  --sand-200: #E9D6B4;
  --sand-300: #D8BC8A;

  --ink:      #0F1B2D;
  --ink-soft: #3A4759;
  --muted:    #7A8597;
  --line:     #E6DECF;
  --line-soft:#F1EADD;

  --ok: #2F8F5C;
  --warn:#C77A1A;
  --bad: #B5432B;

  --shadow-sm: 0 1px 2px rgba(15,27,45,.05), 0 1px 3px rgba(15,27,45,.04);
  --shadow-md: 0 8px 24px -8px rgba(15,27,45,.18), 0 2px 6px rgba(15,27,45,.06);
  --shadow-lg: 0 24px 60px -20px rgba(15,27,45,.30), 0 8px 18px -8px rgba(15,27,45,.12);

  --r-md: 14px;
  --r-lg: 22px;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-script:  "Sacramento", cursive;
  --font-body:    "DM Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ───────── Base ───────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--sun-600); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ───────── Type ───────── */
.h-display { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; color: var(--blue-900); }
.h-script { font-family: var(--font-script); font-weight: 400; color: var(--sun-600); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sun-600); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

/* ───────── Buttons ───────── */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .02em; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-800); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-sun { background: linear-gradient(135deg, var(--sun-500), var(--sun-600)); color:#fff; }
.btn-sun:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(243,156,45,.5); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand-100); color: var(--ink); }
.btn-dark { background: var(--blue-900); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }

/* ───────── Header ───────── */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 20px 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header.scrolled {
  position: fixed; background: rgba(251,247,240,.92); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm); padding: 14px 64px;
}
.site-logo { display: flex; align-items: center; gap: 14px; }
.site-logo .logo-mark { width: 56px; height: 64px; }
.site-logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.site-logo .logo-name { font-family: var(--font-script); font-size: 38px; color: var(--blue-700); line-height: .8; }
.site-logo .logo-tagline { font-family: var(--font-display); font-size: 16px; letter-spacing: .36em; text-transform: uppercase; color: var(--sun-600); margin-top: 6px; font-weight: 500; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a { color: var(--blue-900); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.main-nav a:hover { color: var(--sun-600); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; font-size: 24px; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100vh; padding-top: 0;
  background:
    radial-gradient(ellipse at 70% 110%, #f8c772 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, #e87825 0%, transparent 60%),
    linear-gradient(180deg, #f4e8d5 0%, #fce7be 30%, #f8c772 60%, #e87825 100%);
  overflow: hidden;
}
.hero.hero-photo {
  background: #0F2C4A;
}
.hero-photo-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
}
.hero-photo .hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,45,.2) 0%, rgba(15,27,45,.65) 100%); pointer-events: none;
}
.hero-sun {
  position: absolute; top: 80px; right: 12%; width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #FCE7BE 0%, #F39C2D 50%, transparent 75%);
  filter: blur(2px); opacity: .8;
}
.hero-sun-core {
  position: absolute; top: 152px; right: calc(12% + 70px); width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF5DD 0%, #F8C772 60%, #E87825 100%);
  box-shadow: 0 0 80px 20px rgba(248,199,114,.55);
}
.hero-balloon {
  position: absolute;
  animation: float-balloon 5s ease-in-out infinite;
}
.hero-content {
  position: relative; z-index: 5;
  padding: 140px 64px 80px;
  max-width: 1200px; margin: 0 auto;
}
.hero-photo .hero-content,
.hero-photo .hero-content h1,
.hero-photo .hero-content .stat-num { color: #fff; }
.hero-photo .hero-content .lead { color: rgba(255,255,255,.85); }
.hero-photo .hero-content .eyebrow { color: var(--sun-300); }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 9vw, 132px);
  margin: 18px 0 0; max-width: 920px; line-height: 1.02; color: var(--blue-900);
}
.hero h1 .h-script { font-size: 1.1em; display: inline-block; margin: 0 14px; transform: translateY(.08em); }
.hero .lead { max-width: 540px; margin-top: 28px; color: var(--blue-900); }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 72px; max-width: 720px;
}
.hero-stats .stat-num { font-family: var(--font-display); font-size: 34px; color: var(--blue-900); }
.hero-stats .stat-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.luxor-skyline { position: absolute; bottom: 0; left: 0; right: 0; height: 220px; z-index: 1; }

/* ───────── Sections ───────── */
.section { padding: 96px 64px; max-width: 1200px; margin: 0 auto; }
.section-tight { padding: 64px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--blue-900); color: #fff; }
.section-dark .h-display { color: #fff; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); margin: 8px 0 12px; line-height: 1.02; color: var(--blue-900); }
.section-dark .section-head h2 { color: #fff; }

.hiero-divider { display: flex; align-items: center; gap: 14px; color: var(--sun-600); font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; max-width: 320px; margin: 0 auto 18px; }
.hiero-divider::before, .hiero-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sand-300), transparent); }

/* ───────── Package cards ───────── */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package-card {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  overflow: hidden; position: relative;
  transition: all .25s ease;
}
.package-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.package-card.featured { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: var(--sun-300); }
.package-card.featured:hover { transform: translateY(-14px); }
.package-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--sun-600); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.package-visual { height: 200px; position: relative; overflow: hidden; }
.package-visual img { width: 100%; height: 100%; object-fit: cover; }
.package-visual.no-image { background: linear-gradient(135deg, #C7E1F2 0%, #5DA8DC 100%); }
.package-visual.no-image.bg-2 { background: linear-gradient(135deg, #FCE7BE 0%, #E87825 100%); }
.package-visual.no-image.bg-3 { background: linear-gradient(135deg, #143A66 0%, #C85A1F 100%); }
.package-body { padding: 24px; }
.package-body h3 { font-family: var(--font-display); font-size: 30px; margin: 6px 0 14px; color: var(--blue-900); font-weight: 500; }
.package-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; }
.package-features { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: var(--ink-soft); }
.package-features li { padding: 5px 0; display: flex; gap: 8px; }
.package-features li::before { content: "✦"; color: var(--sun-600); }
.package-footer { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.package-price { font-family: var(--font-display); font-size: 36px; color: var(--blue-700); font-weight: 500; }
.package-price small { font-size: 13px; color: var(--muted); margin-left: 4px; }

/* ───────── Experience grid ───────── */
.experience-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.experience-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.experience-thumb {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  padding: 22px; border-radius: 14px; aspect-ratio: 1/1;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all .3s; cursor: pointer; color: inherit;
}
.experience-thumb:hover { background: rgba(243,156,45,.08); border-color: rgba(243,156,45,.3); }
.experience-thumb .img-wrap {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, rgba(255,255,255,.02) 8px 16px);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 10px; flex: 1; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,.4);
  letterspacing: .1em; overflow: hidden;
}
.experience-thumb .img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.experience-thumb .time { font-size: 11px; color: var(--sun-300); font-family: var(--font-mono); }
.experience-thumb .label { font-family: var(--font-display); font-size: 22px; color: #fff; margin-top: 4px; font-weight: 500; }

/* ───────── Testimonials ───────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 22px; transition: all .25s;
}
.testimonial:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark { color: var(--sun-500); font-family: var(--font-display); font-size: 56px; line-height: .5; margin-bottom: 12px; }
.testimonial-text { font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--blue-900); margin: 0; }
.testimonial-by { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.testimonial-by .name { font-weight: 600; font-size: 14px; }
.testimonial-by .from { font-size: 12.5px; color: var(--muted); }

/* ───────── Footer ───────── */
.site-footer { background: #0A1A2E; color: rgba(255,255,255,.7); padding: 64px; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .logo-name { color: #FBF7F0; }
.site-footer .logo-tagline { color: var(--sun-300); }
.footer-blurb { margin-top: 18px; line-height: 1.6; font-size: 14px; max-width: 320px; }
.footer-contact { margin-top: 22px; font-size: 13px; line-height: 1.85; }
.footer-col h4 { color: var(--sun-300); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: #fff; }
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px;
  max-width: 1200px; margin: 48px auto 0; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.4);
}

/* ───────── Animations ───────── */
@keyframes float-balloon {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@keyframes drift-cloud {
  from { transform: translateX(-10%); } to { transform: translateX(110%); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(243,156,45,.45); }
  70% { box-shadow: 0 0 0 18px rgba(243,156,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(243,156,45,0); }
}
.fade-up { animation: fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.pulse-ring { animation: pulse-ring 2.5s infinite; }

/* ───────── Single flight page ───────── */
.flight-hero {
  position: relative; height: 60vh; min-height: 480px;
  background: var(--blue-900); display: flex; align-items: flex-end;
  overflow: hidden;
}
.flight-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.flight-hero-inner { position: relative; z-index: 2; padding: 64px; color: #fff; max-width: 1200px; margin: 0 auto; width: 100%; }
.flight-body { display: grid; grid-template-columns: 1fr 360px; gap: 64px; padding: 64px; max-width: 1200px; margin: 0 auto; }
.flight-description { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.flight-booking-box {
  position: sticky; top: 100px; background: #fff;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 28px; box-shadow: var(--shadow-md);
}

/* ───────── Mobile ───────── */
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 24px; gap: 18px; box-shadow: var(--shadow-md); }
  .menu-toggle { display: block; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section { padding: 64px 24px; }
  .section-tight { padding: 48px 24px; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-card.featured { transform: none; }
  .experience-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 24px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .flight-body { grid-template-columns: 1fr; padding: 32px 24px; }
  .flight-booking-box { position: static; }
}

/* Hide visually but keep for screen readers */
.screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
