/* FlightSearch Space - Light Customer-Friendly Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Light Color Palette */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-light: #E0F2FE;
  --accent-blue: #2563EB;
  
  --gradient-primary: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  --gradient-hero: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 50%, #FAF5FF 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-glow: #93C5FD;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(2, 132, 199, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: #0F172A;
  color: #94A3B8;
  padding: 10px 0;
  font-size: 0.875rem;
}
.topbar a {
  color: #E2E8F0;
}
.topbar a:hover {
  color: #38BDF8;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact {
  display: flex;
  gap: 24px;
}
.topbar-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-socials {
  display: flex;
  gap: 16px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}
.brand-logo svg {
  width: 38px;
  height: 38px;
}
.brand-logo span.glow {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
  color: #FFFFFF;
}
.btn-outline {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-gold {
  background: var(--gradient-gold);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Hero Section - Light Clean Theme */
.hero-section {
  position: relative;
  padding: 64px 0 88px;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-light);
}
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid #BAE6FD;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #0F172A;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Search Card Light Container */
.search-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

/* Trip Tabs */
.search-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.tab-btn {
  background: #F1F5F9;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-btn:hover {
  color: var(--text-main);
  background: #E2E8F0;
}
.tab-btn.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: #7DD3FC;
}

/* Search Form Grid */
.search-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}
@media (max-width: 1024px) {
  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .search-form-grid {
    grid-template-columns: 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.input-field {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: var(--transition);
  font-weight: 500;
}
.input-field:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Autocomplete Dropdown */
.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 6px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-card);
}
.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.autocomplete-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.airport-code {
  font-weight: 700;
  background: #E2E8F0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Passenger Dropdown */
.passenger-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-card);
}
.passenger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #F1F5F9;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.counter-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Section Header */
.section {
  padding: 80px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.35rem;
  margin-bottom: 14px;
}

/* Destination Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.destination-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}
.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}
.destination-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  position: relative;
}
.destination-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
}
.destination-body {
  padding: 24px;
}
.destination-location {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.destination-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.destination-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Feature Boxes Light */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Airlines Grid */
.airlines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.airline-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.airline-badge:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-4px);
}
.airline-icon {
  font-size: 2rem;
  color: var(--primary);
}

/* Testimonials Carousel / Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.stars {
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open {
  border-color: var(--primary);
}

/* Newsletter Box Light */
.newsletter-card {
  background: var(--gradient-hero);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 24px auto 0;
}
@media (max-width: 540px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Results Layout */
.results-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
}
@media (max-width: 900px) {
  .results-container {
    grid-template-columns: 1fr;
  }
}

.filters-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  box-shadow: var(--shadow-card);
}
.filter-group {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-title {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-main);
  font-weight: 700;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
}
.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Flight Result Card */
.flight-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.flight-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 768px) {
  .flight-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.flight-airline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.airline-logo-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
}
.flight-timing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.flight-price-box {
  text-align: right;
}
@media (max-width: 768px) {
  .flight-price-box {
    text-align: center;
  }
}
.flight-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* Footer */
.footer {
  background: #0F172A;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 32px;
  color: #94A3B8;
}
.footer h4 {
  color: #FFFFFF;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94A3B8;
}
.footer-links a:hover {
  color: #38BDF8;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 16px;
}
