/* ==============================
   🌈 VARIABLES & BASE STYLES
============================== */
:root {
  --brand: #2d6df6;
  --brand-2: #2dc8f6;
  --dark: #0f172a;
  --muted: #64748b;
  --bg: #0b1022;
  --card: #0f1530;
  --radius: 1.25rem;
  --radius-full: 999px;
  --transition: all 1s ease;
}

html,
body {
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(45, 109, 246, 0.25),
      transparent
    ),
    radial-gradient(
      1000px 500px at -10% 110%,
      rgba(45, 200, 246, 0.25),
      transparent
    ),
    var(--bg);
  color: #e5e7eb;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

/* ==============================
   🧭 NAVBAR
============================== */
.navbar {
  position: sticky !important;
  top: 0;
  right: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-color: rgba(35, 155, 182, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

/* Logo */
.navbar img {
  position: relative;
  top: 5px;
  right: 210px;
  width: 60px;
  height: auto;
}
@media (max-width: 992px) {
  .navbar img {
    display: block;
    position: absolute;
    right: 180px;
    margin-inline-end: 0.75rem;
  }
}

/* Brand text */
.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  margin-inline-end: 4.5rem;
}

/* Links */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #f0f4f8 !important;
  transition: var(--transition);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: #f9b43a !important;
}

/* Dropdown */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.dropdown-item {
  font-weight: 500;
  color: #222;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff !important;
}

/* Submenu RTL fix */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -0.25rem;
}
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* Navbar when scrolled */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.285) !important;
}

/* Toggler */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ====== Flight layer ====== */
#plane {
  position: fixed;
  top: 50%;
  width: 50px;
  height: 50px;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(45,200,246,0.7));
  transition: transform 0.1s linear;
}


/* ==============================
   🕒 TIMER SECTION
============================== */
.modern-countdown-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 5vw, 38px);
}
.modern-countdown-item {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.3s;
}
.modern-countdown-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px #00f2fe55;
}
.modern-countdown-label {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 1px;
}
.SCE {
  display: block;
}

/* Responsive styles */
@media (max-width: 700px) {
  .modern-countdown-bar {
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
  }
  .modern-countdown-item {
    min-width: 90px;
    padding: 12px 10px;
  }
  .modern-countdown-num {
    font-size: 2rem;
  }
  .modern-countdown-label {
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .modern-countdown-item {
    min-width: 70px;
    padding: 8px 4px;
  }
  .modern-countdown-num {
    font-size: 1.2rem;
  }
  .modern-countdown-label {
    font-size: 0.9rem;
  }
}

/* ==============================
   🎯 HERO & GLOBAL ELEMENTS
============================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 260px at 20% 10%,
      rgba(45, 109, 246, 0.25),
      transparent
    ),
    radial-gradient(
      700px 300px at 80% 90%,
      rgba(45, 200, 246, 0.18),
      transparent
    );
  pointer-events: none;
}

.muted {
  color: #97a3b6;
}
.badge-glow {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
}
.btn-brand {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: #1e55d3;
  --bs-btn-hover-border-color: #1e55d3;
}
.btn-ghost {
  background: transparent;
  color: #cdd5e1;
  border: 1px solid #334155;
}
.card-soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}
.shadow-soft {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.section-title {
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* ==============================
   📍 DESTINATION & LISTS
============================== */
.destination-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

/* الصورة */
.img-box {
  overflow: hidden;
  border-radius: 0.75rem;
}
.country-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.destination-card:hover .country-img {
  transform: scale(1.1);
}

/* الشارات */
.badge-city {
  background: rgba(45, 200, 246, 0.15);
  border: none;
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
}

/* الأزرار */
.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


/* ==============================
   ⚙️ FOOTER
============================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
