/* ============================================================
   BookWithDaffy.com – Main Stylesheet
   Domain   : bookwithdaffy.com
   Email    : contact@bookwithdaffy.com
   Phone    : (866) 949-1489
   Operator : Sri Tharani Enterprise Co., Ltd
   ============================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:       #1a4fa0;
  --blue-dark:  #113580;
  --sky:        #e8f4fd;
  --accent:     #f0a500;
  --text:       #1c2b3a;
  --muted:      #5a6a7a;
  --white:      #ffffff;
  --radius:     10px;

  /* Footer palette */
  --footer-bg:      #0d1e35;
  --footer-text:    #90a8c0;
  --footer-border:  #1f3550;
  --footer-muted:   #607588;
  --footer-dim:     #4a6070;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--blue-dark);
  color: #cde0ff;
  font-size: 13px;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar a.topbar-email {
  color: #cde0ff;
}

.topbar a.topbar-phone {
  color: #ffd97d;
  font-weight: 700;
}

/* ── HEADER ── */
header {
  background: var(--white);
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.logo-text h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.logo-text p {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--blue);
}

nav a.active {
  color: var(--blue);
  font-weight: 700;
}

/* Header CTA Button */
.cta-phone {
  background: var(--accent);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-phone:hover {
  background: #e09400;
}

.cta-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--blue-dark);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), #1d68c4);
  color: white;
  padding: 52px 5%;
  text-align: center;
}

.page-hero h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.85;
}

/* ── POLICY CONTENT WRAPPER ── */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 5%;
}

.content-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sky);
}

.content-wrap p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.content-wrap ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-wrap ul li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ── CALLOUT BOXES ── */
.info-box {
  background: var(--sky);
  border-left: 4px solid var(--blue);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.warn-box {
  background: #fff8e8;
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  color: #6b4800;
  line-height: 1.7;
}

.red-box {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
  padding: 16px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  color: #7b1c1c;
  line-height: 1.7;
}

.highlight-box {
  background: #f0fff4;
  border-left: 4px solid #22b55b;
  padding: 16px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  color: #1b5e36;
  line-height: 1.7;
}

/* ── TABLES ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

table th {
  background: var(--blue-dark);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 11px 14px;
  border-bottom: 1px solid #dde6ef;
  color: var(--muted);
}

table tr:nth-child(even) td {
  background: var(--sky);
}

/* ── HOMEPAGE HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1d68c4 60%, #2a84e0 100%);
  color: white;
  padding: 80px 5% 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '✈';
  font-size: 280px;
  opacity: 0.04;
  position: absolute;
  top: -40px;
  right: -30px;
  line-height: 1;
  pointer-events: none;
}

.hero h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h2 span {
  color: var(--accent);
}

.hero p {
  font-size: clamp(15px, 2vw, 19px);
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.88;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--blue-dark);
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.4);
}

.btn-primary:hover {
  background: #e09400;
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── AIRLINES STRIP ── */
.airlines-strip {
  background: var(--sky);
  padding: 32px 5%;
  text-align: center;
}

.airlines-strip p {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.airline-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}

.airline-logo {
  background: white;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid #dde6ef;
  letter-spacing: 0.3px;
  transition: box-shadow 0.2s;
}

.airline-logo:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ── SECTION BASE ── */
.section {
  padding: 72px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h3 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── FEATURE CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--blue);
  text-align: center;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.steps-bg {
  background: var(--sky);
}

.steps {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
}

.step {
  text-align: center;
  max-width: 220px;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.step-arrow {
  font-size: 28px;
  color: var(--accent);
  padding-top: 16px;
}

/* ── PHONE CALL BANNER ── */
.phone-banner {
  background: var(--blue-dark);
  color: white;
  text-align: center;
  padding: 56px 5%;
}

.phone-banner h3 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 10px;
}

.phone-banner p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
}

.phone-number {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.phone-number svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  margin: 4px;
}

/* ── FOOTER ── */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 5% 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h5 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.footer-col p,
.footer-col a {
  font-size: 13px;
  line-height: 1.8;
  color: var(--footer-text);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--footer-border);
  margin: 24px 0;
}

/* Footer Disclaimer Block */
.footer-disclaimer {
  font-size: 12px;
  color: var(--footer-muted);
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.2);
  padding: 18px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--blue);
  margin-bottom: 24px;
}

.footer-disclaimer strong {
  color: var(--footer-text);
}

.footer-disclaimer a {
  color: var(--accent);
}

.footer-disclaimer a:hover {
  text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--footer-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--footer-muted);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ── UTILITY CLASSES ── */
.text-blue    { color: var(--blue); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.font-bold    { font-weight: 700; }
.mt-sm        { margin-top: 8px; }
.mt-md        { margin-top: 16px; }
.mt-lg        { margin-top: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 56px 5% 64px;
  }

  .step-arrow {
    display: none;
  }

  .phone-number {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .topbar {
    justify-content: center;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
