:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --text-color: #333;
  --accent-color: #ffc107;
  --light-gray: #e9ecef;
  --border-color: #dee2e6;
  --header-height: 60px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo span {
  font-size: 0.75rem;
  color: var(--text-color);
  font-weight: normal;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

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

footer {
  background-color: #343a40;
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

.main-content {
  min-height: calc(100vh - var(--header-height) - 100px);
  padding: 2rem 0;
}

/* Components */
.card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #004494;
}

.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
  color: var(--primary-color);
}

/* Utilities */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}

/* Filter UI */
.search-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: -2rem auto 2rem;
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.form-control {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  min-width: 200px;
}

/* Hub Quick Select */
.hub-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hub-btn {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hub-btn:hover, .hub-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transform: translateY(-2px);
}

/* Destination Cards Grid */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.dest-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dest-card-body {
  padding: 1.2rem;
  flex-grow: 1;
}

.dest-card-footer {
  background: var(--secondary-color);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
}

.price-tag {
  color: #e63946;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Search Area Overhaul */
.hero {
  background: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
  padding: 6rem 0 8rem;
}

.mega-search {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  margin-top: -5rem;
  z-index: 10;
  position: relative;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .search-grid {
    grid-template-columns: 1fr;
  }
}

.large-control {
  font-size: 1.1rem;
  padding: 0.8rem 1rem !important;
  width: 100%;
}

/* Map Section */
.map-container {
  height: 500px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  z-index: 1;
}

/* Leaflet Customizations */
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  padding: 5px;
}
.leaflet-popup-content b {
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Premium Card Effects */
.premium-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}
.premium-card:hover .zoom-img {
  transform: scale(1.1);
}
.premium-card .btn {
  transition: all 0.3s ease;
}
.premium-card .btn:hover {
  background: var(--primary-color) !important;
  transform: scale(1.05);
}
/* Airline Detail Styles */
.airline-detail-hero {
  padding: 80px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.airline-detail-hero .logo-circle {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 30px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.airline-detail-hero .logo-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.info-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.info-box h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

/* Route Table Overhaul */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 30px 0;
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.95rem;
}

.route-table th {
  background: #f8fafc;
  color: #64748b;
  text-align: left;
  padding: 15px;
  font-weight: bold;
  border-bottom: 2px solid #edf2f7;
}

.route-table td {
  padding: 15px;
  border-bottom: 1px solid #edf2f7;
}

.route-table tr:hover {
  background: #fdfdfd;
}

.route-table .iata {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: normal;
}

.route-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}

.tag-intl { background: #fee2e2; color: #ef4444; }
.tag-dom { background: #dcfce7; color: #16a34a; }

/* Ad & Affiliate Styles */
.ad-banner-container {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 30px 0;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-label {
  position: absolute;
  top: 5px;
  left: 10px;
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-booking {
  background: #e63946;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-booking:hover {
  background: #c1121f;
  transform: scale(1.05);
}

/* Advanced Airline Detail UI (2026 Premium) */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
}

.main-guide-area {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

.quick-fact-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.quick-fact-item:last-child {
  border-bottom: none;
}

.fact-label {
  color: #64748b;
  font-weight: 500;
}

.fact-value {
  color: #1e293b;
  font-weight: 700;
}

.badge-brand {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Feature Grid Adjustments */
.airline-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

@media (max-width: 640px) {
  .airline-feature-grid {
    grid-template-columns: 1fr;
  }
}

.airline-feature-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.3s;
}

.airline-feature-card:hover {
  background: #f1f5f9;
  transform: translateX(5px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Comparison Table & FAQ (2026 Strategy) */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.comparison-table th, .comparison-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #f1f5f9;
}

.comparison-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
}

.comparison-table td.feature-name {
  text-align: left;
  background: #fcfdfe;
  font-weight: 600;
  width: 30%;
}

.check-icon { color: #16a34a; font-weight: bold; }
.cross-icon { color: #ef4444; font-weight: bold; }

.faq-section { margin-top: 50px; }

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #f1f5f9;
}

.faq-question {
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}
