/* ================================================
   سفرهای طلایی - Premium Persian Travel Booking
   style.css - Main Stylesheet
   Author: Zahra oraei
   ================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --primary:       #5DADE2;
  --primary-dark:  #2980B9;
  --secondary:     #3498DB;
  --bg-main:       #F0F6FD;
  --bg-white:      #FFFFFF;
  --text-dark:     #2C3E50;
  --text-mid:      #5D6D7E;
  --text-light:    #95A5A6;
  --border-light:  #E8F0F8;
  --shadow-sm:     0 2px 12px rgba(52,152,219,0.10);
  --shadow-md:     0 6px 28px rgba(52,152,219,0.14);
  --shadow-lg:     0 12px 48px rgba(52,152,219,0.18);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-pill:   100px;
  --glass-bg:      rgba(255,255,255,0.72);
  --glass-blur:    blur(18px);
  --transition:    all 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  direction: rtl;
  background: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ================================================
   NAVBAR
================================================ */
.glass-nav {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(93,173,226,0.15);
  box-shadow: 0 2px 20px rgba(52,152,219,0.10);
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1000;
}

.glass-nav.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 4px 30px rgba(52,152,219,0.18);
}

/* Logo */
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(52,152,219,0.35);
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid) !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-dark) !important;
  background: rgba(93,173,226,0.10);
}

/* Buttons */
.btn-support {
  background: transparent;
  border: 1.5px solid #ddd;
  color: var(--text-mid);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  transition: var(--transition);
}
.btn-support:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: rgba(93,173,226,0.06);
}

.btn-login {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(52,152,219,0.30);
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(52,152,219,0.40);
}

/* Mobile nav */
.navbar-toggler {
  color: var(--text-dark);
  font-size: 1.3rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ================================================
   HERO SECTION
================================================ */
.hero-section {
  background: linear-gradient(180deg, #deedf8 0%, #eaf4fb 35%, #f0f7fd 65%, #F0F6FD 100%);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-bg {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Clouds */
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}
.cloud-1 { width: 500px; height: 120px; top: 30px; right: -80px; opacity: 0.7; }
.cloud-2 { width: 380px; height: 90px; top: 60px; left: -40px; opacity: 0.5; }
.cloud-3 { width: 280px; height: 70px; top: 10px; left: 35%; opacity: 0.4; }

/* Airplane */
.airplane-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.airplane-svg {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  animation: planeFly 6s ease-in-out infinite;
}

@keyframes planeFly {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Destination Pills */
.dest-pills-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-end;
  padding: 28px 20px 20px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.dest-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.dest-pill img {
  width: 160px;
  height: 260px;
  object-fit: cover;
  border-radius: 50px;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.dest-pill span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255,255,255,0.85);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.dest-pill:hover img {
  transform: scale(1.05) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ================================================
   FEATURES STRIP
================================================ */
.features-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.feature-item {
  padding: 10px 8px;
}

.feat-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 10px;
}
.feat-orange { background: #fff3e0; color: #e67e22; }
.feat-green  { background: #e8f8f5; color: #27ae60; }
.feat-purple { background: #f3e5f5; color: #8e44ad; }
.feat-blue   { background: #eaf4fb; color: var(--primary-dark); }

.feature-item h6 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ================================================
   SEARCH + SIDEBAR
================================================ */
.search-sidebar-section {
  background: var(--bg-main);
  padding-top: 20px;
  padding-bottom: 10px;
}

/* Search Card */
.search-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 18px 20px 14px;
}

.search-fields-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.search-field {
  flex: 1;
  min-width: 130px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-field input {
  width: 100%;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px 34px 9px 12px;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 0.80rem;
  color: var(--text-dark);
  background: #f7fafd;
  transition: var(--transition);
  outline: none;
  direction: rtl;
}

.search-field input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(93,173,226,0.12);
}

.search-field input::placeholder { color: var(--text-light); }

.field-icon {
  position: absolute;
  right: 10px;
  color: var(--primary);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-swap-btn {
  width: 32px; height: 32px;
  background: rgba(93,173,226,0.12);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.search-swap-btn:hover { background: var(--primary); color: #fff; }

.search-btn-row {
  display: flex;
  justify-content: center;
}

.btn-search-main {
  background: linear-gradient(135deg, #74bce8, var(--primary-dark));
  border: none;
  color: #fff;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 60px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(52,152,219,0.32);
  letter-spacing: 0.5px;
}
.btn-search-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 24px rgba(52,152,219,0.40);
}

/* Sidebar */
.sidebar-services {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.sidebar-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}

.sidebar-item-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary-dark);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(52,152,219,0.32);
}

.sidebar-item-active:hover { color: #fff !important; }

.sidebar-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.sidebar-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.sidebar-icon-plain {
  background: rgba(93,173,226,0.10);
  color: var(--primary-dark);
}

/* ================================================
   TOURS SECTION
================================================ */
.tours-section { background: var(--bg-main); }

.section-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.title-sub {
  font-size: 0.80rem;
  font-weight: 400;
  color: var(--text-mid);
}

/* Tour Card */
.tour-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tour-card-img {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.06); }

.tour-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.tour-badge-blue { background: var(--primary-dark); }

.tour-card-body {
  padding: 16px;
}

.tour-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-align: center;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.tour-airline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.tour-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
}

.tour-price {
  font-size: 0.80rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.tour-price strong { font-size: 0.88rem; }

.btn-tour-book {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(52,152,219,0.28);
}
.btn-tour-book:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(52,152,219,0.38);
}

/* ================================================
   AIRLINES
================================================ */
.airline-card {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 85px;
  justify-content: center;
}
.airline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.airline-red    { background: #c0392b; }
.airline-darkred { background: #922b21; }
.airline-purple { background: #6c3483; }
.airline-gray   { background: #2c3e50; }

.airline-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.airline-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.airline-icon-big {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.9);
}

.airline-name-big {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ================================================
   DESTINATION SIDEBAR
================================================ */
.dest-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.dest-sidebar-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dest-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  cursor: pointer;
  aspect-ratio: 3/2;
}

.dest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dest-thumb:hover img { transform: scale(1.08); }

.dest-thumb span {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ================================================
   BLOG SECTION
================================================ */
.blog-section { background: var(--bg-white); }

.blog-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.blog-show-all {
  font-size: 0.78rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.blog-show-all:hover { color: var(--primary-dark); }

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  padding: 30px 10px 10px;
}
.blog-overlay span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.blog-card-body {
  padding: 12px;
}
.blog-card-body p {
  font-size: 0.73rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  font-size: 0.72rem;
  color: var(--primary-dark);
  font-weight: 600;
  transition: var(--transition);
}
.blog-read-more:hover { color: var(--primary); }

/* ================================================
   FOOTER
================================================ */
.main-footer {
  background: #1a2332;
  color: rgba(255,255,255,0.80);
}

.footer-top {
  padding: 40px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-logo i {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.footer-slogan {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.newsletter-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.newsletter-wrap input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 0.78rem;
  outline: none;
  direction: rtl;
}
.newsletter-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-wrap button {
  background: var(--primary);
  border: none;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-wrap button:hover { background: var(--primary-dark); }

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.10);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.60);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-right: 4px; }

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.trust-badge:hover { background: rgba(93,173,226,0.12); border-color: rgba(93,173,226,0.3); color: #fff; }
.trust-badge i { font-size: 1.1rem; color: var(--primary); }

.footer-bottom {
  padding: 14px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: #111111; font-weight:700;
  margin: 0;
}

/* ================================================
   ANIMATIONS
================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade    { animation: fadeIn 0.5s ease forwards; }

/* ================================================
   RESPONSIVE DESIGN
================================================ */

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
  .dest-pill img { width: 72px; height: 95px; }
  .dest-pills-row { gap: 8px; }
  .hero-section { min-height: 220px; }

  .search-fields-row { gap: 6px; }
  .search-field { min-width: 110px; }

  .sidebar-services {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .sidebar-item {
    flex: 1;
    min-width: 100px;
    flex-direction: column-reverse;
    align-items: center;
    padding: 8px 10px;
    gap: 4px;
  }
  .sidebar-icon { width: 28px; height: 28px; font-size: 0.85rem; }

  .navbar-nav .nav-link { font-size: 0.85rem; padding: 8px 12px !important; }
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
  html { font-size: 14px; }

  .hero-section { min-height: 180px; }
  .airplane-svg { max-height: 130px; }

  .dest-pills-row { gap: 6px; padding: 16px 10px 12px; }
  .dest-pill img { width: 56px; height: 75px; }
  .dest-pill span { font-size: 0.62rem; padding: 2px 6px; }

  .features-strip .row { gap: 4px; }
  .feature-item h6 { font-size: 0.76rem; }
  .feature-item p { font-size: 0.68rem; }

  .search-card { padding: 14px; }
  .search-fields-row { flex-direction: column; gap: 8px; }
  .search-field { min-width: 100%; }
  .btn-search-main { width: 100%; padding: 11px 20px; }

  .sidebar-services {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
  }
  .sidebar-item {
    flex: 0 0 calc(33.33% - 5px);
    flex-direction: column-reverse;
    align-items: center;
    padding: 8px 6px;
    gap: 3px;
    text-align: center;
  }
  .sidebar-label { font-size: 0.72rem; }

  .tour-card-img { height: 170px; }
  .tour-title { font-size: 0.85rem; }

  .blog-card-img { height: 130px; }

  .section-title { font-size: 0.92rem; }
  .blog-section-title { font-size: 0.92rem; }

  .dest-sidebar { margin-top: 16px; }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }

  .airline-card { min-height: 70px; padding: 10px 12px; }
  .airline-name-big { font-size: 0.85rem; }

  .footer-slogan { font-size: 1rem; }
  .footer-top { padding: 28px 0 20px; }
  .trust-badges { flex-direction: row; flex-wrap: wrap; }
  .trust-badge { flex: 1; min-width: 140px; }

  .navbar-collapse {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius-md);
    margin-top: 8px;
    padding: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
  }
  .navbar-nav .nav-link { padding: 9px 14px !important; }
  .d-flex.mt-2 { flex-direction: column; align-items: flex-start !important; }
  .btn-login, .btn-support { width: 100%; text-align: center; margin-top: 4px; }
}

/* ---- Small Mobile ---- */
@media (max-width: 400px) {
  .dest-pill img { width: 48px; height: 62px; }
  .dest-pills-row { gap: 4px; }
  .sidebar-item { flex: 0 0 calc(50% - 4px); }
  .dest-grid { grid-template-columns: 1fr 1fr; }
}


/* ================================================
   PATCHED LAYOUT ADJUSTMENTS
================================================ */

/* Header logo: remove blue box and enlarge */
.logo-icon {
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.logo-icon img,
.brand-logo-header {
  width: 122px;
  max-width: 122px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Make the hero banner show at its natural proportions */
.hero-bg {
  min-height: 360px;
}
.airplane-wrap {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 1;
}
.hero-banner-img {
  width: min(100%, 1800px);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Put the five destination cards on top of the banner */
.dest-pills-row {
  position: absolute;
  left: 55%;
  top: clamp(18px, 7vw, 82px);
  transform: translateX(-50%);
  width: min(1220px, 94vw);
  z-index: 3;
  gap: clamp(10px, 1.2vw, 18px);
  padding: 0;
}
.dest-pill img {
  width: clamp(74px, 8vw, 104px);
  height: clamp(104px, 11vw, 140px);
}

/* Sidebar must appear on the right in desktop */
@media (min-width: 992px) {
  .search-sidebar-section .row {
    align-items: flex-start;
  }
  .search-sidebar-section .col-lg-3 {
    align-self: flex-start;
  }
}

/* Footer: lighter and more cohesive with the rest of the design */
.main-footer {
  background: linear-gradient(180deg, #fbfdff 0%, #eef5fb 100%) !important;
  color: var(--text-dark) !important;
}
.footer-top {
  border-bottom: 1px solid rgba(93,173,226,0.12) !important;
}
.footer-logo,
.footer-slogan,
.footer-heading {
  color: var(--text-dark) !important;
}
.footer-logo img,
.brand-logo-footer {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-desc {
  color: var(--text-mid) !important;
}
.footer-links a {
  color: var(--text-mid) !important;
}
.footer-links a:hover {
  color: var(--primary-dark) !important;
}
.trust-badge {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.trust-badge i {
  color: var(--primary-dark);
}
.footer-social a {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--primary-dark);
}
.footer-social a:hover {
  background: var(--primary-dark);
  color: #fff;
}
.footer-bottom {
  background: rgba(93,173,226,0.08);
  color: var(--text-mid);
  border-top: 1px solid rgba(93,173,226,0.10);
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .logo-icon img,
  .brand-logo-header {
    width: 150px;
    max-width: 150px;
  }
  .hero-bg {
    min-height: 300px;
  }
  .dest-pills-row {
    top: 12px;
    width: 100%;
    gap: 10px;
    padding: 0 10px;
  }
  .dest-pill img {
    width: 62px;
    height: 86px;
  }
}

@media (max-width: 767.98px) {
  .logo-icon img,
  .brand-logo-header {
    width: 128px;
    max-width: 128px;
  }
  .hero-bg {
    min-height: 250px;
  }
  .dest-pills-row {
    top: 8px;
    gap: 8px;
    padding: 0 8px;
  }
  .dest-pill img {
    width: 52px;
    height: 72px;
  }
  .dest-pill span {
    font-size: 0.60rem;
    padding: 2px 6px;
  }
  .brand-logo-footer {
    width: 180px;
  }
}


@media (min-width:992px){
  .dest-pills-row{
    margin-top:-26px !important;
    gap: 6px !important;
    align-items:flex-end !important;
  }

  .dest-pill:nth-child(1){
    margin-top:30px;
  }

  .dest-pill:nth-child(2){
    margin-top:10px;
  }

  .dest-pill:nth-child(3){
    margin-top:0;
  }

  .dest-pill:nth-child(4){
    margin-top:10px;
  }

  .dest-pill:nth-child(5){
    margin-top:30px;
  }

  .dest-pill img{
    width: 156px !important;
    height:256px !important;
    border-radius:58px !important;
  }
}


.search-card{
  background:#ffffff !important;
  border-radius:24px !important;
  box-shadow:0 8px 28px rgba(52,152,219,0.12) !important;
}


body,
.search-field input,
.sidebar-label,
.nav-link,
.btn,
p{
  font-size:1rem !important;
}

h1,h2,h3,h4,h5,h6{
  font-weight:700;
}


@media (min-width:992px){
  .search-sidebar-section .row{
    flex-direction:row-reverse !important;
  }

  .search-card{
    margin-right:0 !important;
  }
}
