/*
Theme Name: BalluTravels
Theme URI: https://ballutravels.com
Author: Balveer
Description: Premium flights, hotels & visa theme for BalluTravels.com. Electric blue, cyan and gold on deep navy, Poppins + Inter, WhatsApp-first. Cabs live on BalluCabs.com — this theme links out, never books them. Brand rules: 05_Brand_Design_System.md.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ballutravels
*/

/* ============ 1. Tokens (locked in 05_Brand_Design_System) ============ */
:root {
  --bt-blue: #3B6FFF;   /* primary: buttons, links, action */
  --bt-blue-deep: #2F5CE0;
  --bt-cyan: #34E0E8;   /* accent: hovers, highlights, icons */
  --bt-gold: #F4C45A;   /* highlight: offers, badges — one per screen */
  --bt-navy: #0B1730;   /* background dark */
  --bt-night: #060B16;  /* background darkest */
  --bt-text: #E8EEF9;   /* text on dark */
  --bt-muted: #9FB0CC;
  --bt-card: rgba(255, 255, 255, 0.04);
  --bt-line: rgba(59, 111, 255, 0.28);
  --bt-line-cyan: rgba(52, 224, 232, 0.16);
  --bt-radius: 14px;
  --bt-font-head: 'Poppins', system-ui, sans-serif;
  --bt-font-body: 'Inter', system-ui, sans-serif;
}

/* ============ 2. Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bt-navy);
  color: var(--bt-text);
  font-family: var(--bt-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--bt-font-head);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 30px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: var(--bt-cyan); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--bt-cyan); outline-offset: 2px; }

.bt-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bt-blue); color: #fff; padding: 10px 16px; z-index: 100;
}
.bt-skip:focus { left: 12px; top: 12px; }

.bt-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.bt-section { padding: 64px 20px; }
.bt-section-in { max-width: 1140px; margin: 0 auto; }
.bt-eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bt-cyan); font-weight: 600; margin-bottom: 8px;
}
.bt-section-head { max-width: 640px; margin-bottom: 32px; }
.bt-section-head p { color: var(--bt-muted); }

/* ============ 3. Buttons ============ */
.bt-btn {
  display: inline-block;
  background: var(--bt-blue);
  color: #fff;
  font-family: var(--bt-font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.bt-btn:hover { background: var(--bt-cyan); color: var(--bt-night); transform: translateY(-1px); }
.bt-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--bt-blue);
  color: var(--bt-text);
}
.bt-btn--ghost:hover { border-color: var(--bt-cyan); background: transparent; color: var(--bt-cyan); }

/* ============ 4. Header ============ */
.bt-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bt-line-cyan);
}
.bt-header-in {
  max-width: 1140px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bt-logo { display: inline-flex; align-items: center; }
.bt-logo img { max-height: 42px; width: auto; }
.bt-wordmark {
  font-family: var(--bt-font-head); font-weight: 700; font-size: 23px; letter-spacing: -0.01em;
}
.bt-wordmark b { color: #fff; font-weight: 700; }
.bt-wordmark span { color: var(--bt-blue); }
.bt-footer .bt-wordmark { font-size: 20px; }

.bt-nav .bt-menu, .bt-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 24px;
}
.bt-nav a {
  color: var(--bt-text); font-weight: 500; font-size: 15.5px;
  transition: color 0.15s ease;
}
.bt-nav a:hover, .bt-nav .current-menu-item > a { color: var(--bt-cyan); }
.bt-nav-toggle {
  display: none;
  background: none; border: 1px solid var(--bt-line); border-radius: 8px;
  color: var(--bt-text); font-size: 22px; line-height: 1;
  padding: 6px 11px; cursor: pointer;
}

/* ============ 5. Hero ============ */
.bt-hero {
  background: linear-gradient(180deg, var(--bt-navy) 0%, var(--bt-night) 100%);
  text-align: center;
  padding: 72px 20px 170px;
}
.bt-hero-badge {
  display: inline-block;
  border: 1px solid var(--bt-gold);
  color: var(--bt-gold);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.bt-hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.bt-hero-sub {
  color: var(--bt-muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
}

/* ============ 6. Search console (signature: boarding pass) ============ */
.bt-console-wrap { padding: 0 20px; margin-top: -120px; }
.bt-console {
  position: relative;
  max-width: 980px; margin: 0 auto;
  background: #fff;
  color: var(--bt-navy);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 22px 26px 26px;
}
/* boarding-pass notches */
.bt-console::before, .bt-console::after {
  content: '';
  position: absolute; top: 50%;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bt-navy);
  transform: translateY(-50%);
}
.bt-console::before { left: -14px; }
.bt-console::after { right: -14px; }

.bt-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.bt-tab {
  font-family: var(--bt-font-body); font-weight: 600; font-size: 15px;
  color: var(--bt-navy);
  background: #EEF2FB;
  border: 0; border-radius: 999px;
  padding: 9px 22px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.bt-tab.is-active { background: var(--bt-blue); color: #fff; }

.bt-panel { display: none; }
.bt-panel.is-active { display: block; }

.bt-trip { display: flex; gap: 18px; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.bt-trip label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.bt-trip input { accent-color: var(--bt-blue); }

.bt-fields {
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: end;
}
.bt-fields--hotels { grid-template-columns: 1.6fr 1fr 1fr 0.8fr; }
.bt-field label {
  display: block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #6A7A99; margin-bottom: 5px;
}
.bt-field input {
  width: 100%;
  font-family: var(--bt-font-body); font-size: 15px; color: var(--bt-navy);
  background: #F4F6FC;
  border: 1px solid #DCE3F5; border-radius: 10px;
  padding: 12px 12px;
}
.bt-field input:focus { outline: 2px solid var(--bt-blue); outline-offset: 0; border-color: var(--bt-blue); }
.bt-field.is-hidden { display: none; }

.bt-swap {
  background: #EEF2FB; border: 1px solid #DCE3F5; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer;
  font-size: 17px; color: var(--bt-blue);
  align-self: end; margin-bottom: 2px;
  transition: transform 0.2s ease;
}
.bt-swap:hover { transform: rotate(180deg); }

.bt-console .bt-go-col { border-left: 2px dashed #DCE3F5; padding-left: 12px; }
.bt-search-go { width: 100%; padding: 13px 10px; font-size: 15.5px; }
.bt-console-note {
  margin: 14px 0 0; font-size: 13px; color: #6A7A99; text-align: center;
}

/* ============ 7. Quick links ============ */
.bt-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 28px 20px 0; }
.bt-chip {
  display: inline-block;
  border: 1px solid var(--bt-line);
  color: var(--bt-text);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  padding: 8px 16px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.bt-chip:hover { border-color: var(--bt-cyan); color: var(--bt-cyan); }

/* ============ 8. Cards: offers / why / destinations ============ */
.bt-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.bt-grid--4 { grid-template-columns: repeat(4, 1fr); }

.bt-card {
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  padding: 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bt-card:hover { border-color: var(--bt-cyan); transform: translateY(-3px); }
.bt-card h3 { margin-bottom: 8px; }
.bt-card p { color: var(--bt-muted); font-size: 15.5px; margin-bottom: 0; }
.bt-card .bt-icon { font-size: 30px; display: block; margin-bottom: 12px; }

.bt-offer-badge {
  display: inline-block;
  background: var(--bt-gold); color: var(--bt-night);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 6px; padding: 3px 9px; margin-bottom: 12px;
}
.bt-offer-route { font-family: var(--bt-font-head); font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.bt-offer-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }

.bt-dest {
  position: relative; display: block;
  border-radius: var(--bt-radius); overflow: hidden;
  min-height: 150px; padding: 20px;
  color: #fff;
  display: flex; align-items: flex-end;
  font-family: var(--bt-font-head); font-weight: 600; font-size: 19px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.bt-dest:hover { transform: translateY(-3px); border-color: var(--bt-cyan); color: #fff; }
.bt-dest small { display: block; font-family: var(--bt-font-body); font-weight: 400; font-size: 13px; opacity: 0.85; }
.bt-dest--1 { background: linear-gradient(135deg, #123B8F, var(--bt-blue)); }
.bt-dest--2 { background: linear-gradient(135deg, #0E5F63, var(--bt-cyan)); }
.bt-dest--3 { background: linear-gradient(135deg, #8F6A17, var(--bt-gold)); }
.bt-dest--4 { background: linear-gradient(135deg, #16224A, #4E5DE0); }
.bt-dest--5 { background: linear-gradient(135deg, #0B3550, #2E9EC4); }
.bt-dest--6 { background: linear-gradient(135deg, #24145C, #7A5CFF); }

/* ============ 9. WhatsApp deals strip ============ */
.bt-wa-strip {
  background: linear-gradient(90deg, rgba(59, 111, 255, 0.16), rgba(52, 224, 232, 0.10));
  border-top: 1px solid var(--bt-line-cyan);
  border-bottom: 1px solid var(--bt-line-cyan);
  text-align: center;
}
.bt-wa-strip h2 { margin-bottom: 8px; }
.bt-wa-strip p { color: var(--bt-muted); max-width: 560px; margin: 0 auto 22px; }

/* ============ 10. Footer ============ */
.bt-footer { background: var(--bt-night); border-top: 1px solid var(--bt-line-cyan); }
.bt-footer-in {
  max-width: 1140px; margin: 0 auto;
  padding: 44px 20px 20px;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.bt-footer-brand p { color: var(--bt-muted); font-size: 14.5px; max-width: 320px; margin-top: 10px; }
.bt-footer-nav .bt-menu { flex-wrap: wrap; }
.bt-footer-nav a { color: var(--bt-muted); font-size: 14.5px; }
.bt-footer-nav a:hover { color: var(--bt-cyan); }
.bt-footer-legal { text-align: center; padding: 14px 20px 22px; }
.bt-footer-legal p { color: #5E6E8D; font-size: 13px; margin: 0; }

/* ============ 11. Floating WhatsApp ============ */
.bt-wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}
.bt-wa-float:hover { transform: scale(1.08); }

/* ============ 12. Pages & blog ============ */
.bt-page, .bt-single { max-width: 860px; margin: 0 auto; padding: 56px 20px 72px; }
.bt-page-head { margin-bottom: 26px; }
.bt-meta { color: var(--bt-muted); font-size: 14px; margin-bottom: 24px; }
.bt-content { font-size: 17px; }
.bt-content h2 { margin-top: 1.4em; }
.bt-content h3 { margin-top: 1.2em; }
.bt-content a { text-decoration: underline; text-underline-offset: 3px; }
.bt-content ul, .bt-content ol { padding-left: 22px; }
.bt-content li { margin-bottom: 6px; }
.bt-content img { border-radius: var(--bt-radius); }
.bt-content iframe { max-width: 100%; }
.bt-content blockquote {
  border-left: 3px solid var(--bt-blue);
  margin: 1.2em 0; padding: 4px 0 4px 18px;
  color: var(--bt-muted);
}

.bt-blog { max-width: 860px; margin: 0 auto; padding: 56px 20px 72px; }
.bt-post-card {
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  padding: 26px;
  margin-bottom: 20px;
  transition: border-color 0.18s ease;
}
.bt-post-card:hover { border-color: var(--bt-cyan); }
.bt-post-card h2 { font-size: 22px; margin-bottom: 6px; }
.bt-post-card h2 a { color: #fff; }
.bt-post-card h2 a:hover { color: var(--bt-cyan); }
.bt-post-card p { color: var(--bt-muted); font-size: 15.5px; }
.bt-more { font-weight: 600; font-size: 15px; }
.bt-pagination { text-align: center; margin-top: 12px; }
.bt-pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 3px;
  border: 1px solid var(--bt-line); border-radius: 8px; color: var(--bt-text);
}
.bt-pagination .page-numbers.current { background: var(--bt-blue); border-color: var(--bt-blue); color: #fff; }

/* ============ 13. Responsive ============ */
@media (max-width: 900px) {
  .bt-fields { grid-template-columns: 1fr 1fr; }
  .bt-fields--hotels { grid-template-columns: 1fr 1fr; }
  .bt-swap { display: none; }
  .bt-console .bt-go-col { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
  .bt-console::before, .bt-console::after { display: none; }
  .bt-grid, .bt-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bt-nav-toggle { display: block; }
  .bt-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bt-night);
    border-bottom: 1px solid var(--bt-line-cyan);
    padding: 8px 20px 20px;
  }
  body.bt-nav-open .bt-nav { display: block; }
  .bt-nav .bt-menu { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bt-hero { padding: 52px 20px 160px; }
  .bt-fields, .bt-fields--hotels { grid-template-columns: 1fr; }
  .bt-grid, .bt-grid--4 { grid-template-columns: 1fr; }
  .bt-section { padding: 48px 20px; }
  .bt-footer-in { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
