/* ==============================================================================
   BOOKFH.COM THEME & EXPEDIA-STYLE HERO SEARCH CARD (css/gutago-theme.css)
   Target Brand: bookfh.com
   Colors: Primary Gold (#E6911A, #FFAE00), Deep Navy (#0A2342), White (#FFFFFF)
   ============================================================================== */

:root {
  --bfh-gold: #E6911A;
  --bfh-gold-light: #FFAE00;
  --bfh-navy: #0A2342;
  --bfh-navy-dark: #06162B;
  --bfh-slate: #475569;
  --bfh-slate-light: #64748B;
  --bfh-border: #E2E8F0;
}

/* ==============================================================================
   1. PURE WHITE CORPORATE LUXURY HEADER
   ============================================================================== */
.site-header {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  padding: 0 !important;
  box-shadow: 0 1px 4px rgba(10, 35, 66, 0.06), 0 2px 8px rgba(10, 35, 66, 0.04) !important;
  border-bottom: 1px solid var(--bfh-border) !important;
}

.site-header .nav-pill-container {
  max-width: 1560px !important;
  width: 100% !important;
  margin: 0 auto !important;
  height: 4.5rem !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.5rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

/* Brand Logo */
.site-header .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}

.site-header .brand-logo-mark {
  display: block;
  flex: 0 0 28px;
  overflow: hidden;
}

.site-header .brand-wordmark,
.footer-brand-logo .brand-wordmark {
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #17233C;
  white-space: nowrap;
}

.footer-brand-logo {
  gap: 8px;
  min-height: 44px;
  align-items: center;
}

.footer-brand-logo .brand-wordmark {
  color: #FFFFFF;
}

/* Center Navigation Links */
.site-header .nav-links-center {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  margin: 0 1rem;
}

@media (min-width: 1100px) {
  .site-header .nav-links-center {
    display: flex !important;
    gap: 1.15rem;
  }
}

@media (min-width: 1380px) {
  .site-header .nav-links-center {
    gap: 1.45rem;
  }
}

.site-header .nav-link {
  font-family: var(--font-sans, 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 0.925rem !important;
  font-weight: 600 !important;
  color: var(--bfh-navy) !important;
  padding: 0.45rem 0.35rem !important;
  text-decoration: none !important;
  position: relative !important;
  letter-spacing: -0.01em !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

.site-header .nav-link:hover {
  color: var(--bfh-gold) !important;
  transform: translateY(-1px);
}

.site-header .nav-link.active {
  color: var(--bfh-gold) !important;
  font-weight: 700 !important;
}

.site-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--bfh-gold) !important;
  border-radius: 2px;
}

/* Header Right Actions */
.site-header .nav-actions-right {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

/* Mobile Toggle Hamburger Button */
.site-header .mobile-toggle-btn {
  color: var(--bfh-navy) !important;
  background: transparent !important;
  border: none !important;
  padding: 0.4rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (min-width: 1100px) {
  .site-header .mobile-toggle-btn {
    display: none !important;
  }
}

/* ==============================================================================
   2. HERO SECTION & LUXURY TRAVEL BACKGROUND
   ============================================================================== */
.hero-section {
  position: relative !important;
  width: 100% !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
  overflow: hidden !important;
  background-color: var(--bfh-navy-dark) !important;
}

.hero-section.page-hero {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none !important;
  }
  .hero-section.page-hero {
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero-section.page-hero .hero-title {
    font-size: 1.75rem !important;
    margin-bottom: 0.2rem !important;
  }
  .hero-section.page-hero .hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
  }
}

.hero-section.page-hero .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.hero-section.page-hero .hero-title,
.hero-section.page-hero .hero-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .hero-section.page-hero {
    padding-top: 1.85rem !important;
    padding-bottom: 2.25rem !important;
  }
}

.hero-section.page-hero .hero-title {
  font-size: 2.15rem !important;
  line-height: 1.2 !important;
  margin-bottom: 0.35rem !important;
}

@media (min-width: 768px) {
  .hero-section.page-hero .hero-title {
    font-size: 2.65rem !important;
  }
}

.hero-section.page-hero .hero-subtitle {
  font-size: 0.95rem !important;
  margin-top: 0.35rem !important;
  line-height: 1.45 !important;
}

/* Eyebrow (kept for subpages if needed) */
.hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: var(--font-sans, sans-serif) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--bfh-gold-light) !important;
  margin-bottom: 0.35rem !important;
}

.hero-eyebrow-star {
  color: var(--bfh-gold-light) !important;
  font-size: 0.95rem !important;
}

/* Hero Title - Compact Expedia Serif */
.hero-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif) !important;
  font-size: 1.85rem !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem !important;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 44rem !important;
  line-height: 1.5 !important;
  margin-top: 0.5rem !important;
  font-weight: 400 !important;
}

/* ==============================================================================
   3. EXPEDIA-STYLE HERO MULTI-SEARCH CARD
   ============================================================================== */
.expedia-search-card {
  background: #FFFFFF !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 20px 45px -10px rgba(10, 35, 66, 0.28), 0 6px 16px rgba(10, 35, 66, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  overflow: hidden !important;
  width: 100% !important;
  margin-top: 0.85rem !important;
}

/* Top Horizontal Tabs Row */
.expedia-tabs-bar {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  overflow-x: auto !important;
  padding: 0.35rem 0.85rem 0 !important;
  gap: 0.25rem !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.expedia-tabs-bar::-webkit-scrollbar {
  display: none !important;
}

/* Individual Tab Button (Icon on top, label below - matching Expedia) */
.expedia-tab-btn {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  padding: 0.65rem 1.15rem 0.75rem !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 3.5px solid transparent !important;
  color: var(--bfh-slate) !important;
  font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.18s ease !important;
  position: relative !important;
  border-radius: 6px 6px 0 0 !important;
}

.expedia-tab-btn i,
.expedia-tab-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2.2 !important;
  color: var(--bfh-slate) !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

.expedia-tab-btn:hover {
  color: var(--bfh-navy) !important;
  background: rgba(10, 35, 66, 0.02) !important;
}

.expedia-tab-btn:hover i,
.expedia-tab-btn:hover svg {
  color: var(--bfh-navy) !important;
  transform: translateY(-1px);
}

/* Active State matching Expedia with Brand Gold Accent */
.expedia-tab-btn.active {
  color: var(--bfh-navy) !important;
  font-weight: 700 !important;
  border-bottom: 3.5px solid var(--bfh-gold) !important;
  background: #FFFFFF !important;
}

.expedia-tab-btn.active i,
.expedia-tab-btn.active svg {
  color: var(--bfh-gold) !important;
}

/* Card Body where widgets render */
.expedia-card-body {
  padding: 1.25rem 1.25rem 1.5rem !important;
  background: #FFFFFF !important;
  min-height: 120px !important;
}

@media (min-width: 768px) {
  .expedia-card-body {
    padding: 1.5rem 1.75rem 1.75rem !important;
  }
}

.expedia-tab-pane {
  display: none;
}

.expedia-tab-pane.active {
  display: block !important;
  animation: fadeInPane 0.2s ease-in-out;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Travel Insurance Tab Custom Card */
.expedia-insurance-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .expedia-insurance-card {
    grid-template-columns: 1.4fr 1fr;
  }
}

.insurance-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.75rem;
}

.insurance-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--bfh-slate);
  font-weight: 500;
}

.insurance-feat-item i {
  color: #10B981;
  width: 16px;
  height: 16px;
}

/* AI Planner Tab Custom Card */
.expedia-planner-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .expedia-planner-card {
    grid-template-columns: 2fr 1fr 1fr auto;
  }
}

.planner-input-field {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bfh-border);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--bfh-navy);
  background: #F8FAFC;
  outline: none;
  font-family: var(--font-sans, sans-serif);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.planner-input-field:focus {
  border-color: var(--bfh-gold);
  background: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .expedia-tab-btn {
    padding: 0.55rem 0.85rem 0.65rem !important;
    font-size: 0.8rem !important;
  }
  .expedia-tab-btn i,
  .expedia-tab-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
}
