/* =====================================================
   FLYWACHAL MODERN DESIGN ENHANCEMENTS
   Enhanced UI/UX with Modern Effects & Animations
   ===================================================== */

/* ============== CSS VARIABLES ============== */
:root {
  --primary-color: #1b1a88;
  --secondary-color: #2ba0d4;
  --accent-color: #c98d13;
  --gradient-primary: linear-gradient(135deg, #1b1a88 0%, #2ba0d4 100%);
  --gradient-accent: linear-gradient(135deg, #c98d13 0%, #e6a82e 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --shadow-soft: 0 4px 20px rgba(27, 26, 136, 0.15);
  --shadow-hover: 0 8px 30px rgba(27, 26, 136, 0.25);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============== GLOBAL ENHANCEMENTS ============== */
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ============== ENHANCED NAVIGATION ============== */
.navbar-sticky-function.navbar-sticky {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.nav.navbar-nav > li > a {
  position: relative;
  transition: var(--transition-smooth);
}

.nav.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 3px;
}

.nav.navbar-nav > li > a:hover::after,
.nav.navbar-nav > li.active > a::after {
  width: 80%;
}

.nav.navbar-nav > li > a:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

/* Dropdown Animation */
.nav.navbar-nav li ul {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: none;
  overflow: hidden;
}

.nav.navbar-nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav.navbar-nav li ul li a {
  padding: 12px 25px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.nav.navbar-nav li ul li a:hover {
  background: linear-gradient(90deg, rgba(27, 26, 136, 0.1), transparent);
  border-left-color: var(--accent-color);
  padding-left: 30px;
  color: var(--primary-color) !important;
}

/* ============== HERO SECTION ENHANCEMENTS ============== */
.banner-style-1 {
  position: relative;
}

.banner-style-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.carousel-item img {
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* ============== ENHANCED BUTTONS ============== */
.btn-blue, 
.theme-btn,
.btn-primary {
  background: var(--gradient-primary) !important;
  border: none !important;
  padding: 14px 35px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth) !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.btn-blue::before,
.theme-btn::before,
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-blue:hover::before,
.theme-btn:hover::before,
.btn-primary:hover::before {
  left: 100%;
}

.btn-blue:hover,
.theme-btn:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Accent Button */
.btn-accent {
  background: var(--gradient-accent) !important;
  color: #fff !important;
}

/* ============== CARD ENHANCEMENTS ============== */
.card,
.tour-item,
.destination-item,
.feature-box,
.service-box,
.team-item {
  border-radius: 16px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none !important;
  box-shadow: var(--shadow-soft);
}

.card:hover,
.tour-item:hover,
.destination-item:hover,
.feature-box:hover,
.service-box:hover,
.team-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

/* Card Image Zoom Effect */
.card img,
.tour-item img,
.destination-item img {
  transition: transform 0.6s ease;
}

.card:hover img,
.tour-item:hover img,
.destination-item:hover img {
  transform: scale(1.08);
}

/* ============== SECTION ENHANCEMENTS ============== */
.section-title h2 {
  position: relative;
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Animated section entry */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for items */
.row > [class*="col-"]:nth-child(1) { animation-delay: 0.1s; }
.row > [class*="col-"]:nth-child(2) { animation-delay: 0.2s; }
.row > [class*="col-"]:nth-child(3) { animation-delay: 0.3s; }
.row > [class*="col-"]:nth-child(4) { animation-delay: 0.4s; }

/* ============== FORM ENHANCEMENTS ============== */
.form-control,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
  border: 2px solid #e8e8e8 !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  transition: var(--transition-smooth) !important;
  background: #fff !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 4px rgba(43, 160, 212, 0.15) !important;
  outline: none !important;
}

/* Floating Labels Effect */
.form-floating label {
  transition: var(--transition-smooth);
}

/* ============== FOOTER ENHANCEMENTS ============== */
footer,
.footer-area {
  background: var(--gradient-dark) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-widget h4,
.footer-widget h5 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.footer-widget h4::after,
.footer-widget h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Social Icons Enhancement */
.social-icon a,
.footer-social a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition-bounce);
  margin: 0 5px;
}

.social-icon a:hover,
.footer-social a:hover {
  background: var(--gradient-accent);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 20px rgba(201, 141, 19, 0.4);
}

/* ============== BREADCRUMB ENHANCEMENT ============== */
section.breadcrumb-outer {
  position: relative;
  padding: 80px 0 50px;
}

section.breadcrumb-outer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.85;
}

.breadcrumb-content ul {
  background: #fff;
  border-radius: 50px !important;
  padding: 15px 40px !important;
  box-shadow: var(--shadow-card);
}

/* ============== FLIGHT SEARCH FORM ENHANCEMENT ============== */
.search-form-wrapper,
.booking-form,
.flight-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.tab-content .nav-tabs .nav-link {
  border-radius: 50px !important;
  padding: 12px 25px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.tab-content .nav-tabs .nav-link.active {
  background: var(--gradient-primary) !important;
  color: #fff !important;
}

/* ============== PRICING CARDS ENHANCEMENT ============== */
.pricing-item,
.price-box {
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-item::before,
.price-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
}

.pricing-item.featured,
.price-box.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-card);
}

.pricing-item.featured::before,
.price-box.featured::before {
  height: 8px;
  background: var(--gradient-primary);
}

/* ============== TESTIMONIAL ENHANCEMENT ============== */
.testimonial-item,
.review-item {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.testimonial-item::before,
.review-item::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 80px;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-item:hover,
.review-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

/* ============== COUNTER/STATS ENHANCEMENT ============== */
.counter-item,
.funfact-item {
  background: var(--gradient-primary);
  border-radius: 20px !important;
  padding: 40px 30px !important;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.counter-item::before,
.funfact-item::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.counter-item:hover::before,
.funfact-item:hover::before {
  transform: scale(2);
}

/* ============== LOADING ANIMATIONS ============== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* ============== TOOLTIP ENHANCEMENT ============== */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gradient-dark);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* ============== RESPONSIVE ENHANCEMENTS ============== */
@media (max-width: 991px) {
  .nav.navbar-nav li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
  }
  
  .section-title {
    padding: 0 5%;
  }
}

@media (max-width: 767px) {
  .btn-blue, 
  .theme-btn,
  .btn-primary {
    padding: 12px 25px !important;
    font-size: 14px !important;
  }
  
  section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
}

/* ============== UTILITY CLASSES ============== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient-primary);
}

.accent-bg {
  background: var(--gradient-accent);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ============== ANIMATION UTILITIES ============== */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

.animate-slide-left {
  animation: slideLeft 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============== FLIGHT SCHEDULE SECTION ============== */
.flight-schedule {
  background: var(--gradient-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.flight-schedule::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.schedule-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.schedule-day {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition-smooth);
  border: 2px solid #e0e0e0; /* Changed to visible separator */
  backdrop-filter: blur(10px);
  margin-bottom: 15px; /* Added spacing */
}

.schedule-day:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color); /* Highlight on hover */
}

.schedule-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0; /* Changed to visible separator */
}

.schedule-day-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.schedule-day-badge {
  background: var(--gradient-accent);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.schedule-routes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-route {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0; /* Changed to visible separator */
  transition: var(--transition-smooth);
}

.schedule-route:last-child {
  border-bottom: none;
}

.schedule-route:hover {
  padding-left: 10px;
  background: #f0f0f0;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color); /* Added highlight */
}

.route-number {
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.route-path {
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
}

.route-path i {
  color: var(--accent-color);
  margin: 0 8px;
}

.schedule-special {
  text-align: center;
  padding: 40px 20px;
}

.schedule-special-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.schedule-special-text {
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
}

.schedule-legend {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 0.9rem;
}

.legend-item i {
  margin-right: 8px;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .schedule-wrapper {
    grid-template-columns: 1fr;
  }
  
  .schedule-day-name {
    font-size: 1.1rem;
  }
}
