/* ================================================
   WTOUR – Premium Landing Page Styles
   ================================================ */

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

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

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ── MOBILE TAP PERFORMANCE ── */
/* Removes 300ms tap delay on all clickable elements */
button,
a,
[role="button"],
input[type="submit"],
input[type="button"],
label {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(135deg, #C5A059 0%, #A67C37 100%);
  z-index: 2000;
  transition: width 0.1s ease;
  will-change: width;
  transform: translateZ(0);
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.body-loaded .animate-up,
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FORM FEEDBACK ── */
.spinner {
  animation: rotate 2s linear infinite;
}

.spinner circle {
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.success-btn {
  background: #10b981 !important;
  color: white !important;
  border-color: #10b981 !important;
}

/* ── REVEAL UTILITIES ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}



/* ── CONTACT SECTION ── */
.contact-section-global {
  padding: 80px 20px;
  background: var(--bg-main);
  position: relative;
  z-index: 5;
}

.contact-container-premium {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-panel h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--text-main);
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-wrap {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.glass-form {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100 !important;
  /* Ensure it's above everything */
  pointer-events: auto !important;
}

.contact-form-panel {
  position: relative;
  z-index: 100 !important;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 101 !important;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  pointer-events: none;
  /* Label won't block clicks */
}

.form-field input,
.form-field textarea {
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  transition: 0.3s;
  position: relative;
  z-index: 105 !important;
  /* Highest priority */
  pointer-events: auto !important;
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

@media (max-width: 992px) {
  .contact-container-premium {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

  .glass-form {
    padding: 25px;
  }
}

/* ── CSS VARIABLES ── */
:root {
  --primary: #C5A059;
  --primary-dark: #A67C37;
  --gold: #D4AF37;
  --accent: #3B82F6;
  --bg-dark: #050B14;
  --bg-main: #f6f8fb;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --border: rgba(197, 160, 89, 0.2);
  --border-premium: rgba(0, 0, 0, 0.08);
  --text-main: #1A1C21;
  --text-muted: #64748B;
  --grad-main: linear-gradient(135deg, #C5A059 0%, #A67C37 100%);
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  --shadow-glow: 0 10px 40px rgba(31, 41, 55, 0.08);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 3px solid var(--bg-main);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

body.dark-theme {
  --bg-main: #0B0F19;
  --bg-card: #111827;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --border-premium: rgba(255, 255, 255, 0.08);
  --bg-global: #050B14;
  --bg-main-details: #F8FAFC;
}

body.dark-theme #navbar {
  background: rgba(5, 11, 20, 0.8);
  border-bottom-color: var(--border-premium);
}

body.dark-theme .hotel-card-premium {
  background: var(--bg-card);
}

body.dark-theme .hotels-sidebar {
  background: var(--bg-card);
}

body.dark-theme .category-strip {
  background: var(--bg-dark);
  border-bottom-color: var(--border-premium);
}

body.dark-theme .section-title-global,
body.dark-theme .hotel-name-global {
  color: #fff;
}

body.dark-theme .booking-search-bar-global {
  background: #0F172A;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

body.dark-theme .booking-search-bar-global label {
  color: var(--primary);
}

body.dark-theme .booking-search-bar-global input {
  color: #fff;
}

body.dark-theme .input-with-icon input,
body.dark-theme .input-with-icon select {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .input-with-icon input:focus,
body.dark-theme .input-with-icon select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

body.dark-theme .input-wrapper .icon {
  opacity: 0.8;
}

body.dark-theme .breadcrumb-nav .current {
  color: #fff;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-main);
  width: 44px; /* Increased for better tap target */
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-btn svg,
.theme-toggle-btn span {
  pointer-events: none; /* Crucial: make icons non-blocking */
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 3px;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #050B14;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.loader-logo .logo-tour {
  color: #ffffff;
}

.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(197, 160, 89, 0.1);
  margin: 20px auto;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--grad-main);
  animation: progressAnim 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.loader-text {
  color: #71717a;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes progressAnim {
  0% {
    left: -100%;
  }

  50% {
    left: 0;
  }

  100% {
    left: 100%;
  }
}

/* ───────────────────────────────────────────
   NAVBAR
─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(237, 242, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  transform: translateZ(0);
  will-change: transform, background;
}

.navbar.scrolled {
  background: rgba(237, 242, 247, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.logo-w {
  color: var(--primary);
}

.logo-tour {
  color: #1E293B;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748B;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #1E293B;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  /* no auto margin needed – space-between handles positioning */
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: 'Cairo', 'Poppins', sans-serif;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.lang-ar,
.lang-en {
  transition: var(--transition);
}

.lang-active {
  color: var(--primary);
}

.lang-divider {
  color: var(--border);
  font-weight: 300;
}

.nav-cta {
  padding: 0.6rem 1.6rem;
  background: var(--grad-main);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 114, 255, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Navbar Visibility Helpers */
.mobile-only-nav {
  display: none;
}

.desktop-only-nav {
  display: block;
}

@media (max-width: 1024px) {
  .desktop-only-nav {
    display: none;
  }

  .mobile-only-nav {
    display: block;
  }

  .mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
    width: 100%;
  }

  .mobile-nav-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .mobile-lang {
    background: rgba(0, 0, 0, 0.05) !important;
    padding: 10px 20px !important;
    border-radius: 15px !important;
  }

  .mobile-currency-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
  }

  .mobile-curr-btn {
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    font-family: 'Poppins', 'Cairo', sans-serif;
    touch-action: manipulation; /* Removes 300ms tap delay on mobile */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .mobile-curr-btn:hover,
  .mobile-curr-btn.active-curr {
    background: var(--grad-main);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
  }

  body.dark-theme .mobile-curr-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-theme .mobile-curr-btn.active-curr {
    background: var(--grad-main);
    color: #fff;
  }
}

@media (max-width: 480px) {
  /* Only hide the desktop header currency - keep sidebar currency visible */
  .desktop-only-nav .currency-menu {
    display: none;
  }
  /* Force show currency inside mobile sidebar */
  .mobile-nav-actions .currency-menu {
    display: flex !important;
  }
}

/* ── LTR (English) overrides ── */
body.ltr {
  font-family: 'Poppins', 'Cairo', sans-serif;
  letter-spacing: 0;
}

h4.hero-title {
  font-size: 37px;
}

body.ltr .hero-title,
body.ltr .section-title,
body.ltr h2,
body.ltr h3,
body.ltr h4 {
  font-family: 'Poppins', sans-serif;
}

/* ───────────────────────────────────────────
   PAGE BASE
─────────────────────────────────────────── */
.page {
  min-height: 60vh !important;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* ───────────────────────────────────────────
   PAGE 1 – HERO
─────────────────────────────────────────── */
#page1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6% 80px;
  gap: 4rem;
  min-height: 60vh !important;
}

/* Hero BG */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(197, 160, 89, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(142, 109, 59, 0.08) 0%, transparent 60%),
    var(--bg-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1600&q=60') center/cover no-repeat;
  opacity: 0.04;
  filter: blur(2px);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.body-loaded .hero-badge,
.hero-badge.visible {
  opacity: 1;
  transform: translateY(0);
}


.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.1s ease, transform 0.6s 0.1s ease;
}

.body-loaded .hero-title,
.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.2s ease, transform 0.6s 0.2s ease;
}

.body-loaded .hero-subtitle,
.hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-subtitle strong {
  color: var(--primary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s ease;
}

.body-loaded .hero-actions,
.hero-actions.visible {
  opacity: 1;
  transform: translateY(0);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  background: var(--grad-main);
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Country Chips */
.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.4s ease, transform 0.6s 0.4s ease;
}

.body-loaded .country-chips,
.country-chips.visible {
  opacity: 1;
  transform: translateY(0);
}


.chip {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}

.chip:hover {
  background: rgba(0, 198, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.chip-1 {
  animation: floatChip 4s 0s infinite;
}

.chip-2 {
  animation: floatChip 4s 0.5s infinite;
}

.chip-3 {
  animation: floatChip 4s 1s infinite;
}

.chip-4 {
  animation: floatChip 4s 1.5s infinite;
}

.chip-5 {
  animation: floatChip 4s 2s infinite;
}

.chip-6 {
  animation: floatChip 4s 2.5s infinite;
}

@keyframes floatChip {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.2s ease, transform 0.8s 0.2s ease;
}

.body-loaded .hero-visual,
.hero-visual.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Phone Mockup */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2D1B1B, #0D0A0A);
  /* Dark Cafe Frame */
  border-radius: 40px;
  padding: 10px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(197, 160, 89, 0.1);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 28px;
  background: #0d1526;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 14px 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  flex-shrink: 0;
  position: absolute;
  /* Place over image */
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.app-logo-mini {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}

.app-logo-mini span {
  color: var(--primary);
}

.app-country-badge {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  background: var(--grad-main);
  border-radius: 6px;
  padding: 3px 7px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.app-hero-img {
  width: 100%;
  height: 65%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
}

/* Dark subtle overlay for centered text readability */
.app-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 10, 0.35);
  z-index: 1;
}

.app-country-name {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  position: absolute;
  /* Centered perfectly within the 65% height image (65/2 = 32.5) */
  top: 32.5%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  margin: 0;
  background: linear-gradient(135deg, #C5A059, #F5EFE6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 1);
  pointer-events: none;
  width: 100%;
}

.app-cards-row {
  display: flex;
  gap: 4px;
  padding: 10px 12px 2px;
  flex-shrink: 0;
}

.app-card {
  flex: 1;
  background: #F1F4F9;
  border-radius: 8px;
  padding: 4px 2px;
  text-align: center;
  font-size: 0.5rem;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-card span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0px;
}

.app-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.item-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.item-title {
  font-size: 0.7rem;
  font-weight: 700;
}

.item-sub {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.item-price {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 700;
  margin-inline-start: auto;
}

.phone-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: var(--primary);
  opacity: 0.15;
  filter: blur(40px);
  border-radius: 50%;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: floatCard 4s ease-in-out infinite;
}

.float-icon {
  font-size: 1.5rem;
}

.float-title {
  font-size: 1rem;
  font-weight: 800;
}

.float-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.float-card-1 {
  inset-inline-end: -30px;
  top: 80px;
  animation-delay: 0s;
}

.float-card-2 {
  inset-inline-start: -50px;
  top: 200px;
  animation-delay: 1.3s;
}

.float-card-3 {
  inset-inline-end: -40px;
  bottom: 120px;
  animation-delay: 0.7s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  animation: fadeSlideUp 1s 1s ease both;
  z-index: 2;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ───────────────────────────────────────────
   PAGE 2 – FEATURES
─────────────────────────────────────────── */
.page-features {
  padding: 100px 5% 80px;
  background: var(--bg-dark);
}

.features-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(142, 109, 59, 0.06) 0%, transparent 50%);
}

.features-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.2rem;
  margin-bottom: 5rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  will-change: transform, opacity;
  contain: content;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.feature-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(197, 160, 89, 0.1);
}

.feature-card:hover::before {
  opacity: 0.03;
}

.feature-card>* {
  position: relative;
  z-index: 1;
}

/* Large card (row 1, col 1-2) */
.feature-large {
  grid-column: 1 / 3;
  grid-row: 1;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.feature-content {
  padding: 1.8rem;
  flex: 1;
}

/* Wide card */
.feature-wide {
  grid-column: 1 / 3;
  grid-row: 3;
}

/* Highlight card */
.feature-highlight {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 209, 102, 0.05) 100%);
  border-color: rgba(255, 107, 107, 0.2);
}

.feature-highlight:hover {
  border-color: rgba(255, 107, 107, 0.4);
}

.feature-icon-top {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-icon-top.sos {
  animation: sosPulse 2s infinite;
}

@keyframes sosPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 107, 107, 0));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.8));
  }
}

.feature-card h3,
.feature-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}

.feature-card p,
.feature-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tags span {
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.2);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* Mini Visual */
.feature-mini-visual {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* City Chips Row */
.city-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.city-chip {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: default;
}

.booking-card-premium.expanded {
  display: block !important;
  width: 100%;
  height: auto !important;
  min-height: 100px;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.booking-header-main {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  background: #fdfdfd;
}

.hotel-brief {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.hotel-brief h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
}

.booking-details-wrapper {
  padding: 20px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.booking-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 15px;
}

.hotel-brief h4 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.status-badge {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-details-wrapper {
  padding: 1rem 1.5rem;
}

.booking-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  background: #f9f9fb;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding-bottom: 5px;
}

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

.detail-item small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: end;
}

.payment-details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.pay-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pay-info small {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.pay-info span,
.pay-info strong {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.pay-info.total strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.booking-card-actions {
  display: flex;
  gap: 10px;
  padding: 1rem 1.5rem 1.5rem;
}

.btn-invoice-action,
.btn-review-extra {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.2s;
}

.btn-invoice-action:hover {
  background: #f8f9fa;
  border-color: var(--primary);
}

.btn-review-extra {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-review-extra:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* Profiles Tabs Overrides */
.profile-tabs button {
  font-family: inherit;
  transition: 0.3s;
}

.profile-tab:hover {
  color: var(--primary) !important;
}

/* Fix for profile-content width */
.profile-content {
  max-width: 600px !important;
  width: 95%;
}

@media (max-width: 480px) {
  .booking-details-grid {
    grid-template-columns: 1fr;
  }

  .payment-details-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .pay-info {
    flex: 1 1 40%;
  }
}

/* Status Badge Detailed Colors */
.status-badge.pending {
  background: #fff7ed;
  color: #c2410c;
}

.status-badge.confirmed {
  background: #f0fdf4;
  color: #15803d;
}

.status-badge.checkedin {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-badge.checkedout {
  background: #f8fafc;
  color: #475569;
}

.status-badge.cancelled {
  background: #fef2f2;
  color: #b91c1c;
}

.status-badge.noshow {
  background: #fffbeb;
  color: #b45309;
}

.status-badge.failed {
  background: #450a0a;
  color: #fff;
}

.status-badge.expired {
  background: #111827;
  color: #fff;
}

.no-bookings {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

.text-success {
  color: #15803d;
}

.text-danger {
  color: #b91c1c;
}

.city-chip.eg {
  background: rgba(200, 160, 0, 0.15);
  color: #FFD166;
  border: 1px solid rgba(200, 160, 0, 0.3);
}

.city-chip.jo {
  background: rgba(194, 91, 0, 0.15);
  color: #FFA040;
  border: 1px solid rgba(194, 91, 0, 0.3);
}

.city-chip.id {
  background: rgba(0, 150, 90, 0.15);
  color: #4ECDA4;
  border: 1px solid rgba(0, 150, 90, 0.3);
}

.city-chip.qa {
  background: rgba(139, 0, 107, 0.15);
  color: #D66BC2;
  border: 1px solid rgba(139, 0, 107, 0.3);
}

.city-chip.sa {
  background: rgba(0, 100, 53, 0.15);
  color: #3DDC84;
  border: 1px solid rgba(0, 100, 53, 0.3);
}

.city-chip.tn {
  background: rgba(192, 0, 0, 0.15);
  color: #FF6B6B;
  border: 1px solid rgba(192, 0, 0, 0.3);
}

/* Emergency List */
.emergency-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.emer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
}

/* How It Works */
.how-it-works {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
}

.how-title {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 3rem;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem;
  flex: 1;
  min-width: 140px;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.step-icon {
  font-size: 2.5rem;
}

.step h4 {
  font-size: 1rem;
  font-weight: 800;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.step-arrow {
  font-size: 1.5rem;
  color: rgba(197, 160, 89, 0.4);
  /* Gold/Copper */
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}



/* ───────────────────────────────────────────
   PAGE 3 – COUNTRIES
─────────────────────────────────────────── */
.page-countries {
  padding: 100px 5% 0;
}

.countries-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255, 209, 102, 0.04) 0%, transparent 60%);
}

.countries-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.country-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.country-card:hover {
  transform: translateY(-12px) scale(1.02) translateZ(0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
}

.country-card:hover .cc-explore {
  opacity: 1;
  transform: translateY(0);
}

.country-card:hover .cc-overlay {
  opacity: 1;
}

.cc-img {
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.country-card:hover .cc-img {
  transform: scale(1.08) translateZ(0);
}

.cc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(5, 11, 20, 1) 0%,
      rgba(5, 11, 20, 0.8) 30%,
      rgba(5, 11, 20, 0.4) 60%,
      transparent 100%);
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.country-card:hover .cc-overlay {
  opacity: 1;
  background: linear-gradient(to top,
      rgba(5, 11, 20, 1) 0%,
      rgba(5, 11, 20, 0.9) 40%,
      rgba(5, 11, 20, 0.2) 80%,
      transparent 100%);
}

.cc-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  z-index: 1;
}

.cc-flag {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.cc-name {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.cc-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.cc-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cc-highlights span {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.cc-highlights span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cc-explore {
  position: absolute;
  top: 1.2rem;
  inset-inline-start: 1.2rem;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
}

/* Accent border on hover using country color */
.country-card:hover {
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Stats Bar */
.stats-bar {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  margin-bottom: 5rem;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.btn-load-more {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 40px;
  border-radius: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-load-more:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Download Section */
.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 4rem 3.5rem;
  margin-bottom: 4rem;
}

.download-content h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.download-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.download-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  font-size: 1rem;
}

.dl-btn div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dl-btn small {
  font-size: 0.7rem;
  opacity: 0.8;
}

.dl-btn strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.dl-apple {
  background: #1a1a1a;
  color: #fff;
}

.dl-google {
  background: #1a1a1a;
  color: #fff;
}

.dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.dl-btn small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.dl-btn strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

/* Splash Phone Mockup */
.splash-phone-wrapper {
  position: relative;
  width: 220px;
  height: 450px;
  perspective: 1000px;
}

.splash-phone-frame {
  width: 100%;
  height: 100%;
  background: #0d121f;
  border-radius: 36px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.splash-phone-frame:hover {
  transform: rotateY(-5deg) rotateX(0deg) translateY(-10px);
}

.splash-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.splash-phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.splash-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splash-phone-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.splash-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-premium);
  padding: 5rem 5%;
  text-align: center;
  background: var(--bg-card);
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: #888;
}

/* ───────────────────────────────────────────
   ANIMATIONS
─────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WOW-style Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Specific Staggering for Countries */
.country-card.reveal {
  transform: translateY(80px) scale(0.8) rotateX(10deg);
}

.country-card.visible {
  transform: translateY(0) scale(1) rotateX(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 1100px) {
  #page1 {
    grid-template-columns: 1fr;
    padding: 100px 5% 60px;
  }

  .hero-content {
    grid-column: 1;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .country-chips {
    justify-content: center;
  }

  .hero-visual {
    grid-column: 1;
    margin-top: 2rem;
  }

  .float-card-1 {
    right: 0;
  }

  .float-card-2 {
    left: 0;
  }

  .float-card-3 {
    right: 0;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-large {
    grid-column: 1 / 3;
  }

  .feature-wide {
    grid-column: 1 / 3;
  }

  .countries-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .download-visual {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .download-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-right-group {
    gap: 0.5rem;
  }

  .lang-toggle {
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: 1;
  }

  .feature-wide {
    grid-column: 1;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ───────────────────────────────────────────
   HOTELS SECTION
─────────────────────────────────────────── */
.page-hotels {
  padding: 100px 5% 80px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 60vh !important;
}

.hotels-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 70% 30%, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
}

.hotels-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

/* Booking Search Bar */
.booking-search-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-premium);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.search-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-item label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-inline-start: 12px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon span {
  position: absolute;
  inset-inline-start: 16px;
  opacity: 0.8;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  background: #F8F9FA;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  color: #1A1C21;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

/* Alignment adjustments for RTL/LTR */
body:not(.ltr) .input-with-icon input,
body:not(.ltr) .input-with-icon select {
  padding: 12px 42px 12px 14px;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

.btn-search-hotels {
  padding: 12px 30px;
  background: var(--grad-main);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  height: 50px;
  margin-top: auto;
}

.btn-search-hotels:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hotels Display Grid */
.hotels-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.hotel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(197, 160, 89, 0.4);
}

.hotel-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hotel-price-tag {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.2rem;
  background: #FFFFFF;
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hotel-price-tag small {
  color: var(--text-muted);
  font-weight: 400;
  margin-inline-start: 4px;
}

.hotel-info {
  padding: 1.5rem;
}

.hotel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hotel-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.hotel-rating {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
}

.hotel-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hotel-loc span {
  font-size: 0.75rem;
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hotel-amenities span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #F1F4F9;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hotel-card-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-card-details {
  flex: 1;
  padding: 12px;
  background: #F1F5F9;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-details:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
}

.btn-book-now {
  flex: 2;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-book-now:hover {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
}

/* Responsive fixes for hotels */
@media (max-width: 991px) {
  .booking-search-bar {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .booking-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-search-hotels {
    width: 100%;
  }
}

/* ───────────────────────────────────────────
   BOOKING MODAL
─────────────────────────────────────────── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 95%;
  max-width: 550px;
  border-radius: 24px;
  padding: 1.5rem;
  transform: translateY(40px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.booking-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  background: #F1F4F9;
  border: none;
  color: #1A1C21;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 100;
}

.close-modal:hover {
  background: rgba(255, 87, 87, 0.2);
  color: #ff5757;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-inline-start: 10px;
}

.form-group input,
.form-group select {
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  color: #1E293B;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center;
}

body.ltr .form-group select {
  background-position: right 20px center;
}

.form-group input:focus,
.form-group select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.1);
}

.btn-confirm-booking {
  margin-top: 0.5rem;
  padding: 14px;
  background: var(--grad-main);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.2);
}

.nights-display {
  text-align: center;
  background: rgba(197, 160, 89, 0.1);
  padding: 8px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.btn-confirm-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
}

@media (max-width: 500px) {
  .modal-content {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   BOOKING STEPS & PAYMENT
─────────────────────────────────────────── */
.booking-steps {
  position: relative;
  width: 100%;
}

.booking-step {
  display: none;
  animation: slideStep 0.5s ease forwards;
}

.booking-step.active {
  display: block;
}

@keyframes slideStep {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.payment-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-details {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
}

.summary-row.total-row {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.summary-row.total-row span:last-child {
  font-size: 1.3rem;
  color: var(--primary);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.pay-method {
  flex: 1;
  background: #FDFCFB;
  border: 1px solid rgba(197, 160, 89, 0.15);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.9rem;
  color: #2D2926;
}

.pay-method:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pay-method.active {
  border-color: var(--primary);
  background: rgba(197, 160, 89, 0.1);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.method-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.method-section.active {
  display: block;
}

.payment-info-box {
  background: #F8FAFC;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  border: 1px dashed var(--primary);
  margin-bottom: 1rem;
}

.payment-info-box span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.8rem;
}

.payment-info-box p {
  font-weight: 700;
  color: var(--primary-dark);
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ── HOTEL DETAILS VIEW ── */
.hotel-details-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transform: translateX(100%);
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 3px solid var(--bg-main);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

body.rtl .hotel-details-view {
  transform: translateX(-100%);
}

.hotel-details-view.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.details-nav {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

body.rtl .details-nav {
  flex-direction: row-reverse;
}

.btn-back-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-back-circle:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translate(-5px);
}

body.rtl .btn-back-circle:hover {
  transform: translate(5px);
}

.nav-hotel-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.details-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
}

.details-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 10s linear;
}

.hotel-details-view.active .details-hero-img {
  transform: scale(1.1);
}

.details-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  z-index: 2;
}

.details-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.details-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.details-rating {
  background: var(--primary);
  color: #fff;
  display: inline-block;
  padding: 6px 15px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.details-body {
  max-width: 1200px;
  margin: -50px auto 0;
  position: relative;
  z-index: 10;
  padding: 0 2rem 8rem;
}

.details-main {
  background: #fff;
  border-radius: 40px;
  padding: 3.5rem;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
}

.details-section {
  margin-bottom: 3.5rem;
}

.details-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.details-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 4px;
  background: var(--grad-gold);
  border-radius: 2px;
}

body.ltr .details-section h2::after {
  right: auto;
  left: 0;
}

.article-text {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 1.1rem;
}

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

.details-amenities-grid span {
  background: #F8FAFC;
  padding: 15px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.details-footer-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 900px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  padding: 1.2rem 2rem;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 100;
}

.bar-price {
  display: flex;
  flex-direction: column;
}

.bar-price span {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.btn-book-now-large {
  background: var(--grad-main);
  color: #fff;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-book-now-large:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

@media (max-width: 768px) {
  .details-hero {
    height: 50vh;
  }

  .details-hero-content h1 {
    font-size: 2.2rem;
  }

  .details-main {
    padding: 2rem;
  }

  .details-body {
    margin-top: -30px;
    padding-bottom: 8rem;
  }

  .details-footer-bar {
    width: 90%;
    bottom: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .bar-price span {
    font-size: 1.4rem;
  }

  .btn-book-now-large {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ── PREMIUM HOTEL DETAILS ── */
.details-nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: all 0.4s ease;
}

.details-nav-glass.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .details-nav-glass {
    padding: 1rem;
  }

  .details-nav-glass.scrolled {
    padding: 0.8rem 1rem;
  }

  .btn-back-action {
    padding: 8px 15px;
    gap: 8px;
  }

  .nav-hotel-name-mini {
    font-size: 1rem;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 430px) {
  .btn-back-action .text {
    display: none;
  }

  .btn-back-action {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .nav-hotel-name-mini {
    max-width: 140px;
  }
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back-action {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

body.rtl .btn-back-action .icon {
  transform: rotate(180deg);
}

.scrolled .btn-back-action {
  background: #F1F5F9;
  color: var(--text-main);
}

.btn-back-action:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(-5px);
}

body.rtl .btn-back-action:hover {
  transform: translateX(5px);
}

.nav-hotel-name-mini {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-dark);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.scrolled .nav-hotel-name-mini {
  opacity: 1;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.nav-actions button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.scrolled .nav-actions button {
  background: #F1F5F9;
}

@media (max-width: 768px) {
  .nav-actions button {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  .nav-actions {
    gap: 6px;
  }
}

/* Hero Premium */
.hotel-img-premium {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.details-hero-premium {
  height: 85vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.details-hero-overlay-refined {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  z-index: 2;
}

.hero-content-premium {
  position: relative;
  z-index: 5;
  color: #fff;
  max-width: 900px;
  padding: 0 2rem;
}

.badge-rating {
  background: var(--grad-gold);
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 900;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
  animation: fadeInDown 0.8s ease;
}

.glow-text {
  font-size: 5.5rem;
  font-weight: 930;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.location-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.4);
  animation: pulse 2s infinite;
}

/* Layout Grid */
.details-container {
  max-width: 1400px;
  margin: -100px auto 0;
  position: relative;
  z-index: 20;
  padding: 0 2rem 10rem;
}

.details-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.details-main-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-width: 0;
}

.quick-info-bar {
  background: #fff;
  padding: 2.5rem;
  border-radius: 35px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-icon {
  width: 55px;
  height: 55px;
  background: #F8FAFC;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.info-text small {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-text strong {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.details-card {
  background: #fff;
  padding: 3.5rem;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-line {
  width: 60px;
  height: 5px;
  background: var(--grad-gold);
  border-radius: 10px;
}

.article-text-premium {
  font-size: 1.2rem;
  line-height: 2;
  color: #475569;
}

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

.amenities-container-premium span {
  padding: 20px 25px;
  background: #F8FAFC;
  border-radius: 25px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.amenities-container-premium span:hover {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* Sidebar Sidebar */
.details-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.price-sticky-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--primary);
}

body.rtl .price-main {
  flex-direction: row-reverse;
}

#sidebarPrice {
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
}

.price-slash {
  font-size: 24px;
  font-weight: 400;
  color: #94A3B8;
  opacity: 0.8;
}

.night-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-main small {
  font-size: 1.2rem;
  font-weight: 800;
  color: #94A3B8;
  margin-top: 4px;
}

.price-badge {
  background: #E0F2FE;
  color: #0369A1;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(3, 105, 161, 0.1);
}

.price-perks {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-perks li {
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-book-sidebar {
  width: 100%;
  background: var(--grad-main);
  color: #fff;
  padding: 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
  transition: var(--transition);
}

.btn-book-sidebar:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(197, 160, 89, 0.4);
}

/* Footer Premium */
.details-footer-bar-premium {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  padding: 1.2rem 2rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.bar-price-refined {
  display: flex;
  flex-direction: column;
}

.bar-price-refined span {
  font-size: 2.2rem;
  font-weight: 950;
  color: var(--primary);
  line-height: 0.9;
}

.bar-price-refined small {
  font-size: 1rem;
  font-weight: 800;
  color: #94A3B8;
}

.btn-book-now-premium {
  background: var(--grad-main);
  color: #fff;
  border: none;
  padding: 1.2rem 3.5rem;
  border-radius: 20px;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

/* RTL Specific */
body.rtl .btn-back-action .icon {
  transform: rotate(180deg);
}

@media (max-width: 1200px) {
  .details-grid-layout {
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
  }
}

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

  .details-sidebar {
    display: none;
  }

  .details-footer-bar-premium {
    display: flex;
  }
}

@media (max-width: 768px) {
  .glow-text {
    font-size: 3rem;
  }

  .details-hero-premium {
    height: 60vh;
  }

  .quick-info-bar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .details-card {
    padding: 2.5rem;
  }

  .amenities-container-premium {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }

  .gallery-item {
    height: 200px;
  }

  .details-container {
    padding: 0 1.5rem 8rem;
    margin-top: -60px;
  }
}

/* ───────────────────────────────────────────
   USER AUTH & PROFILE
─────────────────────────────────────────── */
.nav-user-area {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* Added gap */
  position: relative;
}

.lang-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lang-toggle-wrapper:hover {
  border-color: var(--primary);
  background: rgba(197, 160, 89, 0.1);
}

.lang-active {
  color: var(--primary);
}

.lang-divider {
  color: var(--border);
  font-weight: 300;
}

.nav-auth-btn {
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.nav-auth-btn:hover {
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

.user-profile-menu {
  position: relative;
}

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary) !important;
  /* Make it more visible */
  border: none;
  border-radius: 50px;
  /* padding: 0.5rem 1.2rem; */
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
  font-family: inherit;
  color: white !important;
  /* White text on primary background */
}


.user-avatar-btn .avatar-icon {
  background: var(--bg-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.user-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: #c5a059;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  color: white;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.user-welcome [data-i18n="auth.welcome"] {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 400;
}

.user-welcome .user-name {
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.user-dropdown {
  position: absolute;
  /* Restore absolute */
  top: 110%;
  inset-inline-end: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  min-width: 180px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown button {
  width: 100%;
  text-align: start;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.user-dropdown button:hover {
  background: #F1F5F9;
  color: var(--primary);
}

.user-dropdown button.text-danger:hover {
  color: #DC2626;
  background: #FEF2F2;
}

/* Auth Modal Tabs */
.auth-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid #F1F5F9;
}

.auth-tab {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-family: inherit;
}

.auth-tab.active {
  color: var(--primary);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-form.active {
  display: flex;
}

.auth-switch-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.auth-switch-link {
  color: var(--primary);
  font-weight: 700;
  margin-inline-start: 5px;
}

/* Profile Modal Content */
.profile-sections {
  margin-top: 1.5rem;
}

.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.hero-content-booking {
  position: relative;
  z-index: 10;
  padding: 40px 6% 30px !important;
  min-height: 60vh !important;
  display: flex;
  align-items: center;
}

.hero-inner-split {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-left-side {
  flex: 1.2;
}

.hero-right-side {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.hero-title-booking {
  font-size: 3.5rem;
  font-weight: 950;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

/* Redesigned Search Bar as wide horizontal hub */
.booking-search-container {
  margin-top: 3rem;
  width: 100%;
}

.booking-search-bar-global {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  display: flex;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-field {
  padding: 15px 25px;
  position: relative;
  flex: 1;
}

.search-field:not(:last-of-type)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.rtl .search-field:not(:last-of-type)::after {
  right: auto;
  left: 0;
}

.search-main-input {
  flex: 1.5;
}

.booking-search-bar-global label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-wrapper .icon {
  font-size: 1.1rem;
}

.booking-search-bar-global input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1c21;
  outline: none;
}

.btn-search-global {
  height: 100%;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-search-global:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

/* ================================================
   PROFESSIONAL GLOBAL HERO & NAV STYLES
   ================================================ */

.hero-booking {
  background: #050B14;
  position: relative;
  overflow: hidden;
}

.hero-content-booking {
  position: relative;
  z-index: 10;
  padding: 40px 6% 30px !important;
  min-height: 60vh !important;
  display: flex;
  align-items: center;
}

.hero-bg-booking {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  /* Higher opacity for premium look */
}

.hero-overlay-dark {
  background: linear-gradient(to right, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.2) 60%, rgba(5, 11, 20, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

[dir="rtl"] .hero-overlay-dark {
  background: linear-gradient(to left, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.2) 60%, rgba(5, 11, 20, 0) 100%);
}

.hero-inner-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  width: 100%;
}

[dir="rtl"] .hero-inner-split {
  flex-direction: row-reverse;
}

.hero-left-side {
  flex: 0 0 650px;
  text-align: right;
}

[dir="ltr"] .hero-left-side {
  text-align: left;
}

.hero-right-side {
  flex: 0 0 500px;
  display: flex;
  justify-content: center;
}

.hero-title-booking {
  font-size: 3.5rem !important;
  font-weight: 950;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9) !important;
}

.hero-badge-elite {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--primary);
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.booking-search-container {
  max-width: 1100px;
  margin-top: 4rem;
}

.booking-search-bar-global {
  background: rgba(255, 255, 255, 0.99);
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.search-field {
  padding: 10px 20px;
}

.hero-image-stack {
  position: relative;
  width: 500px;
  height: 520px;
  flex-shrink: 0;
}

.main-hero-img-card {
  width: 400px;
  height: 500px;
  border-radius: 40px;
  transform: rotate(5deg);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 2;
}

.small-hero-img-card {
  position: absolute;
  width: 280px;
  height: 280px;
  bottom: -20px;
  left: -40px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-10deg);
  border: 8px solid #fff;
  overflow: hidden;
  z-index: 3;
}

.search-main-input {
  flex: 1.6;
}

.booking-search-bar-global label {
  display: block;
  font-size: 0.75rem;
  font-weight: 850;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.input-wrapper .icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

.booking-search-bar-global input {
  border: none !important;
  background: transparent !important;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1c21;
  outline: none;
}

.btn-search-global {
  height: auto;
  min-height: 60px;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-search-global:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.4);
}

.btn-search-global .btn-icon {
  font-size: 1.4rem;
}

/* Image Stack Effects */
.hero-image-stack {
  position: relative;
  width: 100%;
  transform: perspective(1000px);
}

.main-hero-img-card {
  width: 100%;
  height: 540px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: rotate(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.main-hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.main-hero-img-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.main-hero-img-card:hover img {
  transform: scale(1.1);
}

.small-hero-img-card {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 35px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(-6deg);
  z-index: 5;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.small-hero-img-card:hover {
  transform: rotate(0deg) scale(1.1);
  border-color: var(--primary);
}

.floating-price-badge {
  position: absolute;
  top: 30px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 6;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-10px, -20px);
  }
}

/* Responsive */
@media (max-width: 1150px) {
  .hero-inner-split {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-right-side {
    display: none;
  }

  .hero-title-booking {
    font-size: 3rem;
  }

  .booking-search-bar-global {
    flex-direction: column;
    border-radius: 30px;
  }

  .search-field:not(:last-of-type)::after {
    display: none;
  }

  .btn-search-global {
    width: 100%;
  }
}

/* Trust Badges Refinement */
.hero-trust-badges {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  width: fit-content;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rtl .hero-left-side {
  text-align: right;
}

.rtl .hero-trust-badges {
  margin-right: 0;
  margin-left: auto;
}

.trust-item {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 1.1rem;
}

/* Navbar Primary CTA */
.nav-cta {
  background: var(--grad-main);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 950;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
  transition: all 0.4s;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.6);
  filter: brightness(1.1);
}

.booking-search-bar-global>div {
  padding: 12px 24px;
  position: relative;
}

.booking-search-bar-global>div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #E2E8F0;
}

.rtl .booking-search-bar-global>div:not(:last-child)::after {
  right: auto;
  left: 0;
}

.search-main-input {
  flex: 2;
}

.search-dates {
  flex: 1.2;
}

.search-guests {
  flex: 1.5;
}

.booking-search-bar-global label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1A1C21;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-align: inherit;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-search-bar-global input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4A5568;
  outline: none;
}

.btn-search-global {
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn-wrapper {
  padding: 0 !important;
  margin-left: 10px;
}

.rtl .search-btn-wrapper {
  margin-left: 0;
  margin-right: 10px;
}

.btn-search-global .btn-icon {
  font-size: 1.2rem;
}

#guestDisplayHero {
  font-weight: 700;
  color: #1a1c21;
  cursor: pointer;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.trust-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Category Strip */
.category-strip {
  background: var(--bg-card);
  padding: 1.5rem 6%;
  border-bottom: 1px solid var(--border-premium);
  position: relative;
  z-index: 100;
  margin-bottom: 1rem;
  /* Reduced margin for more compact feel */
}

.categories-scroll {
  display: flex;
  justify-content: center;
  gap: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-item {
  background: rgba(237, 242, 247, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  padding: 10px 24px;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
  font-family: inherit;
}

.cat-item span {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.cat-item:hover {
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary);
  border-color: var(--primary);
}

.cat-item.active {
  background: var(--primary);
  color: #FFFFFF !important;
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.cat-item.active span {
  color: #FFFFFF !important;
}

/* Trending Destinations */
.trending-destinations {
  padding: 100px 6%;
  background: var(--bg-main);
}

.section-header-left {
  margin-bottom: 3rem;
}

.section-title-global {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.section-subtitle-global {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dest-card {
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-position: center;
  background-size: cover;
  transition: all 0.5s ease;
  cursor: pointer;
}

.dest-card.large {
  grid-column: span 2;
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.dest-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
}

.rtl .dest-info {
  left: auto;
  right: 2rem;
}

.dest-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.dest-info p {
  opacity: 0.9;
  font-size: 0.9rem;
}

.dest-card:hover {
  transform: translateY(-10px);
}

.dest-card:hover .dest-overlay {
  background: rgba(0, 0, 0, 0.4);
}

#hotels {
  padding: 30px 0;
}

/* Premium Breadcrumbs Toggle View (Pill Style) */
.breadcrumb-nav {
  display: flex !important;
  align-items: center;
  gap: 0;
  background: #fff;
  padding: 8px;
  border-radius: 50px;
  width: fit-content;
  margin: 15px auto 40px;
  /* Reduced top margin to avoid excessive gap */
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 50;
  transition: var(--transition);
}

body.dark-theme .breadcrumb-nav {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.breadcrumb-nav a,
.breadcrumb-nav .current {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
  background: rgba(197, 160, 89, 0.05);
}

.breadcrumb-nav .current {
  background: var(--grad-main);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.2);
}

.breadcrumb-nav .sep {
  display: none;
  /* Segmented look doesn't needs separators */
}

/* Main Layout Grid */
.hotels-main-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  max-width: 1450px;
  margin: 0 auto 120px;
  padding: 0 5%;
}

/* Premium Sidebar Scrollable */
.hotels-sidebar {
  background: #FFFFFF;
  border-radius: 35px;
  padding: 2.5rem;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.06);
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  position: sticky;
  top: 100px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.hotels-sidebar::-webkit-scrollbar {
  width: 6px;
}

.hotels-sidebar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

body.dark-theme .hotels-sidebar {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.3);
}

.filter-group {
  margin-bottom: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

body.dark-theme .filter-group {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.filter-group h4 {
  font-size: 1.15rem;
  font-weight: 950;
  margin-bottom: 1.8rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.2s;
}

.filter-check:hover {
  transform: translateX(5px);
}

.rtl .filter-check:hover {
  transform: translateX(-5px);
}

.filter-check input {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  accent-color: var(--primary);
  cursor: pointer;
  border: 2px solid #E2E8F0;
}

.filter-check span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Price Slider Overhaul */
.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #F1F5F9;
  border-radius: 20px;
  outline: none;
  margin: 25px 0;
}

body.dark-theme .price-slider {
  background: #1F2937;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  background: var(--grad-main);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
  cursor: pointer;
}

.price-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.price-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  transition: var(--transition);
}

.price-field:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.price-field input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.9rem;
  text-align: center;
  /* Remove arrows from number input */
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.price-field input::-webkit-outer-spin-button,
.price-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.currency-label {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.85rem;
}

.price-sep {
  font-weight: 700;
  color: #CBD5E1;
}

body.dark-theme .price-field {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .price-field:focus-within {
  background: #1e293b;
  border-color: var(--primary);
}

body.dark-theme .price-sep {
  color: #475569;
}

#hotelCountInfo {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.8rem;
  /* Smaller size for title integration */
  background: rgba(197, 160, 89, 0.08);
  padding: 6px 14px;
  /* More compact */
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.02);
}

@media (max-width:768px) {
  #hotelCountInfo {
    font-size: 7px;
  }
}

#hotelCountInfo::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 8px var(--primary);
}

.section-title-wrapper {
  display: flex;
  justify-content: flex-start;
  /* Aligned to left/start */
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .section-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Custom Sorting Header */
.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .listing-header {
  border-color: rgba(255, 255, 255, 0.08);
}

.sort-dropdown {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 18px;
  /* Slightly more padding */
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  /* Prevent text wrapping inside sort */
}

.sort-dropdown:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sort-dropdown span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

body.dark-theme .sort-dropdown {
  background: #1F2937;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#sortHotels {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23C5A059" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat left center;
  background-size: 14px;
  padding-left: 20px;
  font-weight: 850;
  color: var(--primary);
  outline: none;
  cursor: pointer;
}

[dir="ltr"] #sortHotels {
  background-position: right center;
  padding-left: 0;
  padding-right: 20px;
}

.hotels-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

@media (max-width: 1100px) {
  .hotels-main-layout {
    grid-template-columns: 1fr;
  }

  .hotels-sidebar {
    position: relative;
    top: 0;
  }
}

/* Premium Badge on Images */
.badge-premium {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 5;
  border: 1px solid rgba(197, 160, 89, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rtl .badge-premium {
  left: auto;
  right: 1.2rem;
}

body.dark-theme .badge-premium {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.hotel-save-heart {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 10;
  border: none;
}

.rtl .hotel-save-heart {
  right: auto;
  left: 1rem;
}

.hotel-save-heart:hover {
  transform: scale(1.1);
  color: #ff4d4d;
}

.hotel-content-premium {
  padding: 1.5rem;
}

.hotel-name-global {
  font-size: 1.25rem;
  font-weight: 950;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hotel-rating-box {
  background: #FFF9E6;
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid #FFEBB3;
}

.rating-num {
  font-weight: 900;
  color: #B8860B;
}

.review-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hotel-price-box-premium {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.dark-theme .hotel-price-box-premium {
  border-color: rgba(255, 255, 255, 0.05);
}

.price-val-premium {
  font-size: 1.4rem;
  font-weight: 950;
  color: var(--primary);
}

.price-val-premium small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-book-premium {
  background: var(--grad-main);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-book-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(197, 160, 89, 0.5);
}

/* ===== WHY WTOUR (Trust Section) ===== */
.trust-section {
  padding: 100px 6%;
  background: #f8fafc;
  text-align: center;
}

body.dark-theme .trust-section {
  background: #0f172a;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 50px;
}

.trust-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

body.dark-theme .trust-card {
  background: #1e293b;
  border: none;
}

.trust-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  width: 85px;
  height: 85px;
  background: #FFF9E6;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 2rem;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
  transition: var(--transition);
}

.icon-circle svg {
  transition: transform 0.3s ease;
}

.trust-card:hover .icon-circle svg {
  transform: scale(1.1);
}

.trust-card h4 {
  font-size: 1.3rem;
  font-weight: 950;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.trust-card p {
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== APP COMPANION SECTION ===== */
.app-companion-section {
  padding: 120px 6%;
  background: #fff;
  overflow: hidden;
}

body.dark-theme .download-section {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .app-companion-section {
  background: #111827;
}

.app-companion-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.app-text-side {
  text-align: right;
}

.tag-app {
  color: var(--primary);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.app-text-side h2 {
  font-size: 2.8rem;
  font-weight: 950;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.app-text-side p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.app-features-minimal {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.app-features-minimal .feat {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
}

.app-features-minimal .check {
  color: #10b981;
  font-size: 1.4rem;
}

.download-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #F8FAFC;
  padding: 2rem;
  border-radius: 30px;
}

body.dark-theme .download-group {
  background: #1e293b;
}

.qr-code-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qr-placeholder {
  width: 80px;
  height: 80px;
  background: #fff url('https://upload.wikimedia.org/wikipedia/commons/d/d0/QR_code_for_mobile_English_Wikipedia.svg') no-repeat center;
  background-size: 85%;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qr-code-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 800;
}

.store-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-link img {
  height: 45px;
}

.app-visual-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-premium {
  position: relative;
  z-index: 5;
}

.phone-screen-img {
  width: 320px;
  border-radius: 50px;
  border: 12px solid #1a1a1a;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  display: block;
}

.floating-badge-app {
  position: absolute;
  bottom: 50px;
  right: -30px;
  background: #fff;
  padding: 12px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  font-weight: 950;
  color: #1a1c21;
  font-size: 0.9rem;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== INTEGRATED ABOUT SECTION ===== */
.about-section-global {
  padding: 100px 6%;
  background: #fff;
  text-align: center;
}

body.dark-theme .about-section-global {
  background: #111827;
}

.about-header-center {
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-header-center h2 {
  font-size: 2.8rem;
  font-weight: 950;
  margin: 1.5rem 0;
  line-height: 1.3;
}

.about-header-center p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 600;
}

.stats-grid-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #F8FAFC;
  padding: 3rem 1.5rem;
  border-radius: 30px;
  transition: all 0.4s;
}

body.dark-theme .stat-card {
  background: #1e293b;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: #FFF9E6;
}

body.dark-theme .stat-card:hover {
  background: #2d3748;
}

.stat-num {
  font-size: 3rem;
  font-weight: 950;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-weight: 850;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* ===== INTEGRATED CONTACT SECTION ===== */
.contact-section-global {
  padding: 100px 6%;
  background: #f1f5f9;
}

body.dark-theme .contact-section-global {
  background: #0f172a;
}

.contact-container-premium {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.contact-info-panel h2 {
  font-size: 3rem;
  font-weight: 950;
  margin-bottom: 1.5rem;
}

.contact-methods {
  margin-top: 3rem;
}

.method-item {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.dark-theme .icon-wrap {
  background: #1e293b;
}

.method-item h4 {
  font-size: 1.1rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.method-item p {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.contact-form-panel {
  background: #fff;
  padding: 4rem;
  border-radius: 40px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.04);
}

body.dark-theme .contact-form-panel {
  background: #1e293b;
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-weight: 850;
  margin-bottom: 10px;
  color: var(--text-main);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  background: #f8fafc;
}

body.dark-theme .form-field input,
body.dark-theme .form-field textarea {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

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

  .app-companion-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .app-text-side {
    text-align: center;
  }

  .app-features-minimal {
    align-items: center;
  }

  .download-group {
    flex-direction: column;
  }

  .phone-screen-img {
    width: 280px;
  }

  .stats-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container-premium {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .stats-grid-premium {
    grid-template-columns: 1fr;
  }
}

/* LTR Adjustments */
.ltr .app-text-side {
  text-align: left;
}

.ltr .app-features-minimal .feat {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.ltr .floating-badge-app {
  right: auto;
  left: -30px;
}

.ltr .app-companion-container {
  grid-template-columns: 1.2fr 1fr;
}

.ltr .contact-info-panel {
  text-align: left;
}

.ltr .method-item {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* -- CURRENCY MENU -- */
.currency-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.currency-dropdown {
  position: absolute;
  top: 80px;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-premium);
  border-radius: var(--radius-sm);
  width: 140px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000005;
}

@media (max-width: 1024px) {
  .currency-dropdown {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 280px;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4);
    /* Overlay effect */
  }

  body.dark-theme .currency-dropdown {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.currency-dropdown.active {
  display: flex;
  animation: fadeInDown 0.3s ease;
}

.currency-dropdown button {
  padding: 10px 15px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.2s;
}

body.rtl .currency-dropdown button {
  text-align: right;
}

.currency-dropdown button:hover {
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary);
}

/* -- REVIEWS SECTION -- */
.reviews-section-premium {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-premium);
}

.review-summary-box {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.rating-score-main {
  text-align: center;
}

.score-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.rating-breakdown {
  flex: 1;
  min-width: 250px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.breakdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100px;
}

.breakdown-bar-bg {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

body.dark-theme .breakdown-bar-bg {
  background: rgba(255, 255, 255, 0.05);
}

.breakdown-bar-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 10px;
}

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

.review-card-premium {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-premium);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.review-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.reviewer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-rating-stars {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
}

.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.review-photo-item {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
}

/* -- MAP BOX -- */
.map-container-premium {
  height: 450px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin: 2rem 0;
  border: 1px solid var(--border-premium);
  z-index: 10;
}

#hotelMap {
  width: 100%;
  height: 100%;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
}

/* -- BOOKING INVOICE -- */
.btn-invoice {
  padding: 8px 15px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-invoice:hover {
  background: var(--primary);
  color: #fff;
}

/* -- WRITE REVIEW MODAL -- */
.review-form-group {
  margin-bottom: 1.5rem;
}

.rating-stars-input {
  display: flex;
  gap: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #e2e8f0;
}

.rating-stars-input span.active {
  color: var(--gold);
}

.review-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-premium);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  resize: vertical;
}

/* -- FAVORITES MODAL -- */
.fav-grid-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.fav-item-mini {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-premium);
}

.fav-img-mini {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.fav-info-mini h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.fav-info-mini p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-remove-fav {
  margin-inline-start: auto;
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
}

/* -- BOOKING STATUS BADGES -- */
.booking-card-premium {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-premium);
  border-radius: 16px;
  margin-bottom: 1rem;
  gap: 1.5rem;
  transition: var(--transition);
}

.booking-card-premium:hover {
  border-color: var(--primary);
  transform: translateX(-5px);
}

body.ltr .booking-card-premium:hover {
  transform: translateX(5px);
}

.status-badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.status-badge.confirmed {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.status-badge.completed {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

.status-badge.cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.booking-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.booking-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.booking-price {
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 1rem !important;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

body.rtl .booking-actions {
  align-items: flex-start;
}

/* -- HORIZONTAL SCROLL FIX -- */
.booking-card-premium {
  max-width: 100% !important;
  box-sizing: border-box !important;
  flex-wrap: wrap !important;
  transform: none !important;
}

.booking-card-premium:hover {
  transform: none !important;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.booking-info {
  flex: 1;
  min-width: 150px;
}

.status-badge {
  white-space: nowrap;
}

/* -- REVIEW MODAL PREMIUM STYLES -- */
.review-form-group label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.label-icon {
  background: var(--bg-hover);
  width: 35px;
  height: 35px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rating-stars-input {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  justify-content: flex-end;
  /* RTL support */
}

body.ltr .rating-stars-input {
  justify-content: flex-start;
}

.rating-stars-input span {
  font-size: 2rem;
  cursor: pointer;
  filter: grayscale(1) opacity(0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rating-stars-input span.active,
.rating-stars-input span:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.2);
}

.rating-stars-input span:active {
  transform: scale(0.9);
}

.review-textarea {
  min-height: 120px;
  padding: 1.2rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 2px solid transparent;
  width: 100%;
  transition: all 0.3s;
}

.review-textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
  outline: none;
}

/* -- CENTER REVIEW MODAL -- */
#reviewModal .modal-content {
  max-width: 500px;
  border-radius: 30px;
  padding: 3rem;
  background: #fff;
}

.review-form-group {
  margin-bottom: 2rem;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.review-form-group label {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.rating-stars-input {
  width: 100%;
  justify-content: center !important;
  margin-bottom: 0.5rem;
}

.rating-feedback {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 5px;
  min-height: 1.2rem;
}

.rating-stars-input span.hovered {
  filter: grayscale(0) opacity(0.7);
  transform: scale(1.1);
  color: var(--primary);
}

/* -- COMPACT REVIEW MODAL -- */
#reviewModal .modal-content {
  max-width: 420px;
  /* Reduced from 500px */
  padding: 2rem !important;
}

.review-form-group {
  margin-bottom: 1.2rem !important;
  /* Reduced from 2rem */
}

.review-form-group label {
  font-size: 0.95rem !important;
  /* Smaller text */
  margin-bottom: 8px !important;
  gap: 8px !important;
}

.label-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 1rem !important;
}

.rating-stars-input {
  gap: 8px !important;
  margin-bottom: 0.2rem !important;
}

.rating-stars-input span {
  font-size: 1.5rem !important;
  /* Reduced from 2rem */
}

.rating-feedback {
  font-size: 0.8rem !important;
  min-height: 1rem !important;
  margin-top: 2px !important;
}

.review-textarea {
  min-height: 80px !important;
  /* Smaller area */
  padding: 0.8rem !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
}

#reviewModal h3 {
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
}

/* -- HORIZONTAL COMPACT REVIEW GROUPS -- */
.review-form-group {
  flex-direction: row !important;
  /* Move label next to stars */
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.8rem !important;
  gap: 15px !important;
}

.review-form-group label {
  width: auto !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}

.rating-stars-input {
  width: auto !important;
  margin-bottom: 0 !important;
  gap: 5px !important;
}

/* Visibility Fix for Stars */
.rating-stars-input span {
  font-size: 1.3rem !important;
  color: #CBD5E1 !important;
  /* Slate color for visibility */
  filter: none !important;
  opacity: 1 !important;
}

.rating-stars-input span.active,
.rating-stars-input span.hovered {
  color: #FACC15 !important;
  /* Bright Yellow for active stars */
}

/* Adjust feedback position */
.rating-feedback {
  text-align: left !important;
  font-size: 0.75rem !important;
  color: var(--primary) !important;
  min-width: 70px;
}

body.rtl .rating-feedback {
  text-align: right !important;
}

/* -- DETAILS DARK THEME -- */
body.dark-theme .hotel-details-view {
  background: var(--bg-main);
}

body.dark-theme .details-nav-glass {
  background: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


body.dark-theme .nav-hotel-name-mini {
  color: var(--text-main);
}

body.dark-theme .details-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

body.dark-theme .quick-info-bar {
  background: #1F2937;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .info-item strong {
  color: var(--text-main);
}

body.dark-theme .info-item small {
  color: var(--text-muted);
}

body.dark-theme .price-sticky-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .details-footer-bar-premium {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .review-card-premium {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .amenities-container-premium span {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

body.dark-theme .article-text-premium {
  color: #D1D5DB;
}

body.dark-theme .title-line {
  background: linear-gradient(to right, var(--primary), transparent);
}

body.dark-theme .modal-content {
  background: #111827;
  color: #fff;
}

body.dark-theme .modal-header h3 {
  color: #fff;
}

body.dark-theme .form-group label {
  color: #9CA3AF;
}

body.dark-theme .booking-modal input,
body.dark-theme .booking-modal select,
body.dark-theme .booking-modal textarea {
  background: #1F2937;
  border: 1px solid #374151;
  color: #fff;
}

body.dark-theme .summary-details {
  background: #1F2937;
}

body.dark-theme .summary-row span:first-child {
  color: #9CA3AF;
}

body.dark-theme .summary-row span:last-child {
  color: #fff;
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE DESIGN — WTOUR
   Tablet: max-width 1024px
   Mobile: max-width 768px / 480px / 375px
   ===================================================== */

/* ─── TABLET (≤ 1024px) ─── */
@media (max-width: 1024px) {

  /* NAVBAR */
  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    padding: 80px 1.5rem 2rem !important;
    gap: 1.2rem !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.dark-theme .nav-links.open {
    background: #0f172a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.open .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    display: block;
    padding: 1rem 1.2rem;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.03);
    transition: 0.3s;
  }

  body.dark-theme .nav-links.open .nav-link {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-links.open .nav-link.active {
    background: var(--grad-main);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.2);
  }

  .category-strip {
    padding: 1rem 1.5rem;
    overflow-x: auto !important;
    white-space: nowrap !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.8rem !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-strip::-webkit-scrollbar {
    display: none;
  }

  .cat-item {
    flex: 0 0 auto !important;
    padding: 10px 20px !important;
  }

  .nav-right-group {
    gap: 0.5rem;
  }

  .nav-cta {
    display: none;
  }

  /* HERO SECTION */
  .hero-content-booking {
    padding: 30px 4% 30px !important;
    min-height: 55vh !important;
  }

  .hero-inner-split {
    flex-direction: column !important;
    gap: 2.5rem !important;
    text-align: center;
  }

  [dir="rtl"] .hero-inner-split {
    flex-direction: column !important;
  }

  .hero-left-side {
    flex: unset !important;
    width: 100%;
    text-align: center !important;
  }

  [dir="ltr"] .hero-left-side {
    text-align: center !important;
  }

  .hero-right-side {
    flex: unset !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-title-booking {
    font-size: 2.2rem !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
  }

  .hero-badge-elite {
    margin: 0 auto 20px;
    display: inline-flex;
  }

  .booking-search-container {
    margin-top: 2rem !important;
    max-width: 100% !important;
  }

  .booking-search-bar-global {
    flex-direction: column !important;
    border-radius: 20px !important;
    padding: 8px !important;
  }

  .booking-search-bar-global>div:not(:last-child)::after {
    display: none !important;
  }

  .search-field:not(:last-of-type)::after {
    display: none !important;
  }

  .btn-search-global {
    width: 100% !important;
    justify-content: center;
    min-height: 54px !important;
    border-radius: 14px !important;
  }

  .hero-trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    padding: 10px 20px;
  }

  /* HERO IMAGE STACK */
  .hero-image-stack {
    width: 100%;
    max-width: 460px;
    height: 380px;
    margin: 0 auto;
  }

  .main-hero-img-card {
    height: 380px !important;
    border-radius: 30px !important;
    transform: rotate(2deg) !important;
  }

  .small-hero-img-card {
    width: 180px !important;
    height: 180px !important;
    bottom: -20px !important;
    left: -20px !important;
  }

  .floating-price-badge {
    right: -10px !important;
    top: 20px !important;
    padding: 12px 18px !important;
  }

  /* CATEGORY STRIP */
  .category-strip {
    padding: 1rem 3%;
  }

  .categories-scroll {
    gap: 1rem;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  /* HOTELS MAIN LAYOUT */
  .hotels-main-layout {
    grid-template-columns: 1fr !important;
    padding: 0 3%;
    gap: 2rem;
  }

  .hotels-sidebar {
    position: relative !important;
    top: 0 !important;
    border-radius: 24px;
    padding: 1.5rem;
  }

  .hotels-grid-premium {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem;
  }

  /* LISTING HEADER */
  .listing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* BREADCRUMB MOBILE FIX */
  .breadcrumb-nav {
    margin: 1.5rem auto !important;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    position: relative !important;
    z-index: 100 !important;
  }

  /* COUNTRIES SECTION */
  .countries-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .page-countries {
    padding: 60px 4% 0 !important;
  }

  /* TRUST SECTION */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .trust-section {
    padding: 60px 4%;
  }

  /* ABOUT SECTION */
  .about-section-global {
    padding: 60px 4%;
  }

  .stats-grid-premium {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  /* CONTACT SECTION */
  .contact-section-global {
    padding: 60px 4%;
  }

  .contact-container-premium {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .contact-form-panel {
    padding: 2.5rem !important;
    border-radius: 28px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  /* DOWNLOAD SECTION */
  .download-section {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 2.5rem;
    padding: 3rem 2rem !important;
  }

  .download-btns {
    justify-content: center;
  }

  .download-visual {
    display: flex;
    justify-content: center;
  }

  /* DETAILS PAGE — GRID */
  .details-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .details-sidebar {
    display: none !important;
  }

  .details-footer-bar-premium {
    display: flex !important;
  }

  .details-card {
    padding: 2rem !important;
    border-radius: 28px !important;
  }

  .details-container {
    padding: 0 1.5rem 8rem !important;
  }

  /* FOOTER */
  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* USER NAV AREA */
  .nav-user-area {
    gap: 0.6rem;
  }

  .lang-toggle-wrapper {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
  }

  .nav-auth-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* NEWSLETTER */
  .newsletter-form {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .newsletter-form input {
    border-radius: 12px !important;
  }

  .newsletter-form button {
    width: 100% !important;
  }
}


/* ─── MOBILE (≤ 768px) ─── */
@media (max-width: 768px) {

  html {
    font-size: 15px;
  }

  /* NAVBAR */
  .navbar {
    padding: 0 1rem;
    height: 64px;
  }

  .nav-logo {
    font-size: 1.5rem;
  }

  .nav-links.open {
    top: 64px;
  }

  .lang-toggle-wrapper {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

  .nav-icon-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
  }

  /* HERO */
  .hero-content-booking {
    padding: 20px 4% 30px !important;
    min-height: 60vh !important;
    align-items: center;
    justify-content: center;
    padding-top: 60px !important;
    text-align: center;
  }

  .hero-title-booking {
    font-size: 1.8rem !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero-badge-elite {
    font-size: 0.85rem;
    padding: 8px 16px;
    margin-bottom: 15px;
  }

  .hero-right-side {
    display: none !important;
  }

  .booking-search-container {
    margin-top: 1.5rem !important;
  }

  .booking-search-bar-global {
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
  }

  .search-field {
    padding: 10px 16px !important;
  }

  .booking-search-bar-global input {
    font-size: 0.95rem !important;
  }

  .btn-search-global {
    font-size: 1rem !important;
    gap: 8px !important;
    padding: 0 20px !important;
  }

  .hero-trust-badges {
    margin-top: 2rem;
    padding: 8px 14px;
    gap: 1rem;
    border-radius: 40px;
  }

  .trust-item {
    font-size: 0.78rem;
  }

  /* CATEGORY STRIP */
  .category-strip {
    padding: 0.8rem 1rem;
  }

  .categories-scroll {
    gap: 0.6rem;
  }

  .cat-item {
    padding: 8px 18px;
    min-width: 80px;
  }

  .cat-item span {
    font-size: 0.85rem !important;
  }

  /* BREADCRUMBS */
  .breadcrumb-nav {
    margin: 20px auto 30px !important;
    /* Fixed negative margin causing overlap */
    padding: 8px 16px;
    font-size: 0.82rem;
    gap: 8px;
  }

  /* HOTELS LAYOUT */
  .hotels-main-layout {
    padding: 0 1rem;
    gap: 1.5rem;
    margin-bottom: 60px;
  }

  .hotels-sidebar {
    border-radius: 18px;
    padding: 1.2rem;
  }

  .hotels-grid-premium {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }

  /* HOTEL CARD */
  .hotel-card-premium {
    border-radius: 20px !important;
  }

  .hotel-img-premium {
    height: 220px !important;
  }

  .hotel-content-premium {
    padding: 1.2rem;
  }

  .hotel-name-global {
    font-size: 1.1rem;
  }

  /* LISTING HEADER */
  .listing-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .section-title-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .section-title-global {
    font-size: 1.6rem !important;
  }

  .section-subtitle-global {
    font-size: 0.95rem;
  }

  /* SORT */
  .sort-dropdown {
    width: 100%;
    justify-content: space-between;
  }

  /* LOAD MORE */
  .load-more-container {
    margin-top: 2rem;
  }

  .btn-load-more {
    padding: 12px 30px;
    font-size: 0.95rem;
  }

  /* TRUST SECTION */
  .trust-section {
    padding: 50px 4%;
  }

  .trust-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
    margin-top: 30px;
  }

  .trust-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .section-title-center {
    font-size: 1.8rem !important;
  }

  /* COUNTRIES */
  .page-countries {
    padding: 50px 4% 0 !important;
  }

  .countries-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .country-card {
    aspect-ratio: 16/9 !important;
  }

  .cc-name {
    font-size: 1.3rem;
  }

  .cc-tagline {
    font-size: 0.78rem;
  }

  /* DOWNLOAD */
  .download-section {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
    margin-bottom: 2rem !important;
  }

  .download-content h2 {
    font-size: 1.6rem !important;
  }

  .download-btns {
    flex-direction: column;
    align-items: center;
  }

  .dl-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* STATS BAR */
  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  /* ABOUT */
  .about-section-global {
    padding: 50px 4%;
  }

  .about-header-center h2 {
    font-size: 1.9rem !important;
    margin: 1rem 0;
  }

  .about-header-center p {
    font-size: 1rem;
  }

  .stats-grid-premium {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.8rem 1rem;
    border-radius: 20px;
  }

  /* CONTACT */
  .contact-section-global {
    padding: 50px 4%;
  }

  .contact-info-panel h2 {
    font-size: 2.2rem !important;
  }

  .contact-form-panel {
    padding: 1.5rem !important;
    border-radius: 20px !important;
  }

  .method-item {
    gap: 14px;
  }

  .icon-wrap {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    border-radius: 16px;
    flex-shrink: 0;
  }

  /* HOTEL DETAILS */
  .details-hero-premium {
    height: 55vh !important;
  }

  .glow-text {
    font-size: 2.5rem !important;
  }

  .location-tag {
    font-size: 1rem;
  }

  .details-container {
    padding: 0 1rem 7rem !important;
    margin-top: -40px !important;
  }

  .details-card {
    padding: 1.5rem !important;
    border-radius: 20px !important;
  }

  .quick-info-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 24px;
  }

  .details-footer-bar-premium {
    padding: 1rem 1.5rem !important;
  }

  .bar-price-refined span {
    font-size: 1.4rem;
  }

  .btn-book-now-premium {
    padding: 0.9rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }

  .amenities-container-premium {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 1rem;
  }

  .gallery-item.large {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 260px !important;
  }

  .gallery-item {
    height: 180px;
    border-radius: 16px;
  }

  /* DETAILS NAV */
  .details-nav-glass {
    padding: 0.9rem 1rem;
  }

  .nav-hotel-name-mini {
    font-size: 0.95rem;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions button {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }

  /* BOOKING MODAL */
  .modal-content {
    width: 96% !important;
    padding: 1.2rem !important;
    border-radius: 20px !important;
    max-height: 90dvh;
    overflow-y: auto;
  }

  .modal-header h3 {
    font-size: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .payment-methods {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .pay-method {
    flex: 1;
    min-width: 60px;
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  /* PAGE 3 / COUNTRIES SECTION */
  .page-countries .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* SECTION HEADER */
  .section-header {
    margin-bottom: 2.5rem;
  }

  /* FOOTER GLOBAL */
  .footer-global {
    padding: 3rem 4%;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .footer-logo {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  /* NEWSLETTER */
  .newsletter-global {
    padding: 0 1rem;
  }

  /* REVIEW MODAL */
  #reviewModal .modal-content {
    max-width: 95% !important;
    padding: 1.5rem !important;
    border-radius: 20px !important;
  }

  /* WA BUTTON */
  .floating-wa {
    bottom: 20px !important;
    left: 20px !important;
    width: 52px !important;
    height: 52px !important;
  }

  /* BOOKING CARD */
  .booking-card-premium {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .booking-info h4 {
    font-size: 0.95rem;
  }

  .booking-info p {
    font-size: 0.8rem;
  }

  .booking-actions {
    align-items: flex-start !important;
  }
}


/* ─── SMALL MOBILE (≤ 480px) ─── */
@media (max-width: 480px) {

  html {
    font-size: 14px;
  }

  .navbar {
    padding: 0 0.8rem;
    height: 60px;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .nav-links.open {
    top: 60px;
  }

  .lang-toggle-wrapper {
    padding: 0.28rem 0.6rem;
    font-size: 0.72rem;
  }

  .hero-content-booking {
    padding-top: 85px !important;
  }

  .hero-title-booking {
    font-size: 1.9rem !important;
    line-height: 1.2;
  }

  .hero-badge-elite {
    font-size: 0.78rem;
    padding: 7px 13px;
  }

  .gradient-text-gold {
    display: block;
  }

  /* HOTELS */
  .hotels-main-layout {
    padding: 0 0.8rem;
    margin-bottom: 50px;
  }

  .hotels-grid-premium {
    gap: 1rem !important;
  }

  .hotel-img-premium {
    height: 190px !important;
  }

  .hotel-price-box-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .btn-book-premium {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
  }

  /* COUNTRIES */
  .cc-name {
    font-size: 1.1rem;
  }

  .cc-highlights span {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }

  /* ABOUT STATS */
  .stats-grid-premium {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.8rem;
  }

  .stat-num {
    font-size: 2rem !important;
  }

  .stat-card p {
    font-size: 0.9rem;
  }

  /* CONTACT */
  .contact-info-panel h2 {
    font-size: 1.8rem !important;
  }

  .contact-methods {
    margin-top: 2rem;
  }

  .method-item {
    gap: 12px;
    margin-bottom: 1.5rem;
  }

  /* DETAILS */
  .glow-text {
    font-size: 2rem !important;
  }

  .amenities-container-premium {
    grid-template-columns: 1fr !important;
  }

  .btn-book-action {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .btn-back-action .text {
    display: none;
  }

  .nav-hotel-name-mini {
    max-width: 120px;
  }

  /* MODAL */
  .modal-content {
    width: 98% !important;
    padding: 1rem !important;
  }

  .close-modal {
    top: 1rem;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  /* FORM */
  .form-field input,
  .form-field textarea {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  /* WA BUTTON */
  .floating-wa {
    bottom: 16px !important;
    left: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }

  /* FOOTER */
  .footer-copy {
    font-size: 0.75rem;
  }

  /* DOWNLOAD BTNS */
  .dl-btn {
    padding: 0.8rem 1.2rem;
  }

  .dl-btn strong {
    font-size: 0.9rem;
  }
}


/* ─── EXTRA SMALL (≤ 375px) ─── */
@media (max-width: 375px) {

  .hero-title-booking {
    font-size: 1.7rem !important;
  }

  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .categories-scroll {
    gap: 0.5rem;
  }

  .cat-item {
    padding: 7px 14px;
    min-width: 70px;
  }

  .cat-item span {
    font-size: 0.78rem !important;
  }

  .stats-grid-premium {
    grid-template-columns: 1fr !important;
  }

  .contact-form-panel {
    padding: 1.2rem !important;
  }

  .glow-text {
    font-size: 1.8rem !important;
  }

  .details-footer-bar-premium {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem !important;
    text-align: center;
  }

  .btn-book-now-premium {
    width: 100%;
    padding: 0.8rem 1rem !important;
  }

  .bar-price-refined span {
    font-size: 1.2rem;
  }
}


/* ─── RTL MOBILE FIXES ─── */
@media (max-width: 768px) {

  body.rtl .hero-left-side {
    text-align: center;
  }

  body.rtl .hero-trust-badges {
    margin-right: 0;
    justify-content: center;
  }

  body.rtl .contact-info-panel {
    text-align: center;
  }

  body.rtl .method-item {
    justify-content: flex-start;
  }

  body.rtl .about-header-center {
    text-align: center;
  }

  body.rtl .filter-check:hover {
    transform: none;
  }

  body.rtl .quick-info-bar {
    align-items: flex-start;
  }

  body.rtl .details-footer-bar-premium {
    flex-direction: row-reverse;
  }
}


/* ─── LTR MOBILE FIXES ─── */
@media (max-width: 768px) {

  body.ltr .hero-left-side {
    text-align: center;
  }

  body.ltr .hero-trust-badges {
    justify-content: center;
  }

  body.ltr .contact-info-panel {
    text-align: center;
  }

  body.ltr .method-item {
    justify-content: flex-start;
  }
}


/* ─── DARK THEME MOBILE FIXES ─── */
@media (max-width: 768px) {

  body.dark-theme .trust-card {
    background: #1e293b;
  }

  body.dark-theme .stat-card {
    background: #1e293b;
  }

  body.dark-theme .hotels-sidebar {
    background: #111827;
  }

  body.dark-theme .contact-form-panel {
    background: #1e293b;
  }

  body.dark-theme .booking-search-bar-global {
    background: #0F172A;
  }

  body.dark-theme .booking-search-bar-global input {
    color: #fff;
  }
}


/* ─── PREVENT HORIZONTAL SCROLL ─── */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.hero-booking,
.hero-content-booking,
.hero-inner-split,
.hotels-main-layout,
.countries-grid,
.trust-grid,
.stats-grid-premium,
.contact-container-premium,
.download-section {
  max-width: 100%;
}

/* ─── SMOOTH MOBILE TOUCH ─── */
@media (max-width: 1024px) {
  .country-card:hover {
    transform: none;
  }

  .hotel-card-premium:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }

  .trust-card:hover {
    transform: none;
  }

  .stat-card:hover {
    transform: none;
  }

  .btn-book-premium:hover {
    transform: none;
  }

  .btn-load-more:hover {
    transform: none;
  }

  .dl-btn:hover {
    transform: none;
  }
}

/* ─── MOBILE FILTER TOGGLE BAR ─── */
.mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.dark-theme .mobile-filter-bar {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.06);
}

.mobile-filter-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-main);
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.mobile-filter-toggle:active {
  transform: scale(0.97);
}

.filter-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.filter-arrow.open {
  transform: rotate(180deg);
}

.filter-count-badge {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sidebar collapse animation on tablet/mobile */
@media (max-width: 1024px) {
  .mobile-filter-bar {
    display: flex;
  }

  #hotelsSidebar {
    overflow: hidden;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.3s ease;
  }

  #hotels {
    padding-top: 2rem !important;
  }

  #hotelsSidebar.filter-open {
    max-height: 2000px !important;
    padding: 2rem 1rem !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-top: none !important;
    margin-bottom: 1rem !important;
  }

  body.dark-theme #hotelsSidebar.filter-open {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
}

@media (min-width: 1025px) {
  .mobile-filter-bar {
    display: none !important;
  }

  #hotelsSidebar {
    max-height: calc(100vh - 120px) !important;
    padding: 2.5rem !important;
    overflow-y: auto !important;
    position: sticky !important;
    top: 100px !important;
    border-radius: 35px !important;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
  }
}

.sidebar-promo {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08), rgba(197, 160, 89, 0.03));
  border: 1px dashed var(--primary);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-promo .promo-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.sidebar-promo h5 {
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.sidebar-promo p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.btn-promo-app {
  width: 100%;
  background: linear-gradient(to right, var(--primary), #d4af37);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-promo-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
  filter: brightness(1.1);
}

.btn-promo-app:active {
  transform: translateY(0);
}

body.dark-theme .sidebar-promo {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(0, 0, 0, 0.2));
  border-color: rgba(197, 160, 89, 0.3);
}

/* ─── GLOBAL SECTION SEPARATORS ─── */
section {
  position: relative;
  /* Using the primary brand color for the separators */
  border-bottom: 2px solid rgba(197, 160, 89, 0.25);
  /* Premium gold glow shadow */
  box-shadow: 0 15px 30px -15px rgba(197, 160, 89, 0.2);
  margin-bottom: 0;
  padding-bottom: 25px;
  /* Reduced space based on user feedback */
}

/* Remove border from last section to prevent double lines with footer */
section:last-of-type,
.contact-section-global,
.download-section {
  border-bottom: none !important;
  box-shadow: none !important;
  padding-bottom: 0px !important;
}

/* Dark theme compatibility - slightly more subtle glow */
body.dark-theme section {
  border-bottom-color: rgba(197, 160, 89, 0.3);
  box-shadow: 0 15px 40px -20px rgba(0, 0, 0, 0.5);
}

/* Footer separator */
.footer-global {
  border-top: 2px solid rgba(197, 160, 89, 0.25);
  margin-top: 0;
}

body.dark-theme .footer-global {
  border-top-color: rgba(197, 160, 89, 0.3);
}


/* --- PREMIUM SIDEBAR ENHANCEMENTS --- */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--primary);
}

.sidebar-header h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
}

.reset-filters-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.reset-filters-btn:hover {
  opacity: 0.7;
}

/* Premium Checkboxes */
.filter-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 0;
  transition: all 0.2s;
}

.filter-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: 6px;
}

.filter-check:hover span {
  color: var(--primary);
}

/* Checkbox Labels */
.filter-check span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  user-select: none;
}

/* Dark mode specific for Reset */
body.dark-theme .reset-filters-btn {
  color: var(--primary);
}


/* --- FOOTER RE-DESIGN --- */
.footer-global {
  background: var(--bg-main);
  padding: 80px 20px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-tagline {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-links-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  min-width: 300px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4:after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

body[dir="ltr"] .footer-col h4:after {
  right: auto;
  left: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-right: 8px;
}

body[dir="ltr"] .footer-col ul li a:hover {
  padding-right: 0;
  padding-left: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}


/* --- GLOBAL INTERACTIVE CURSORS --- */
.hotel-card,
.hotel-card-premium,
.cat-item,
.filter-check,
.btn-confirm-booking,
.btn-card-details,
.btn-promo-app,
.reset-filters-btn {
  cursor: pointer !important;
}


/* --- HOTEL CARD PREMIUM FRAME --- */
.hotel-card-premium {
  background: var(--bg-card);
  border: 1.5px solid rgba(197, 160, 89, 0.15);
  /* Light gold border by default */
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

.hotel-card-premium:hover {
  border-color: var(--primary);
  /* Gold border on hover */
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(197, 160, 89, 0.2);
}

.hotel-img-premium {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hotel-content-premium {
  padding: 1.5rem;
  flex: 1;
}

body.dark-theme .hotel-card-premium {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

body.dark-theme .hotel-card-premium:hover {
  border-color: var(--primary);
}


/* --- SECTION COMPACTNESS OVERRIDES --- */
#hotels {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.breadcrumb-nav {
  margin-top: 5px !important;
  margin-bottom: 15px !important;
}

.hotels-display-grid {
  gap: 1.5rem !important;
}

@media (max-width: 768px) {
  #hotels {
    padding-top: 0.5rem !important;
  }

  .breadcrumb-nav {
    margin-bottom: 10px !important;
  }
}


/* ============================================================
   ROOMS COMPARISON TABLE – Premium Professional Styles
   ============================================================ */

/* Section Header */
.rooms-section {
  padding: 2.5rem !important;
}

.rooms-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.rooms-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Availability Badge */
.rooms-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
  align-self: center;
}

body.dark-theme .rooms-availability-badge {
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}

/* Filter Tabs */
.rooms-filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.room-tab {
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border-premium);
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.room-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(197, 160, 89, 0.05);
}

.room-tab.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

/* Table Wrapper */
.rooms-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-premium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Table Base */
.rooms-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font-size: 0.9rem;
}

/* Thead */
.rooms-comparison-table thead tr {
  background: linear-gradient(135deg, #1a2236 0%, #0f172a 100%);
}

.rooms-comparison-table thead th {
  padding: 1rem 1.1rem;
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-align: center;
  white-space: nowrap;
  border-bottom: none;
}

.rooms-comparison-table thead th:first-child {
  text-align: start;
  border-radius: 16px 0 0 0;
  padding-inline-start: 1.5rem;
}

.rooms-comparison-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

body[dir="rtl"] .rooms-comparison-table thead th:first-child {
  border-radius: 0 16px 0 0;
}

body[dir="rtl"] .rooms-comparison-table thead th:last-child {
  border-radius: 16px 0 0 0;
}

/* Thead accent line for col-room-type */
.rooms-comparison-table thead th.col-room-type {
  color: #C5A059;
}

/* Tbody Rows */
.room-row {
  border-bottom: 1px solid var(--border-premium);
  transition: background 0.2s ease, transform 0.15s ease;
  animation: roomRowIn 0.4s ease both;
}

@keyframes roomRowIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.room-row:last-child {
  border-bottom: none;
}

.room-row:hover {
  background: rgba(197, 160, 89, 0.04);
}

body.dark-theme .room-row:hover {
  background: rgba(197, 160, 89, 0.06);
}

/* Cells */
.rooms-comparison-table td {
  padding: 1.1rem 1rem;
  text-align: center;
  vertical-align: middle;
  color: var(--text-main);
}

.rooms-comparison-table td:first-child {
  text-align: start;
  padding-inline-start: 1.5rem;
}

/* Room Type Cell */
.room-type-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.room-type-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0.05) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.room-type-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.room-type-info strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.room-bed-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Badges */
.room-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  width: fit-content;
}

.badge-gold {
  background: rgba(197, 160, 89, 0.15);
  color: #A67C37;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #1D4ED8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #0F766E;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

body.dark-theme .badge-gold {
  color: #C5A059;
  background: rgba(197, 160, 89, 0.1);
}

body.dark-theme .badge-purple {
  color: #A78BFA;
  background: rgba(139, 92, 246, 0.1);
}

body.dark-theme .badge-blue {
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.1);
}

body.dark-theme .badge-teal {
  color: #2DD4BF;
  background: rgba(20, 184, 166, 0.1);
}

/* Size Tag */
.room-size-tag {
  background: rgba(100, 116, 139, 0.08);
  border: 1px solid var(--border-premium);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Guests Display */
.guests-display {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
}

.guests-display b {
  color: var(--text-main);
}

/* View Tag */
.view-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* Feature Icons */
.feat-yes,
.feat-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.feat-yes {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.feat-no {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
}

body.dark-theme .feat-yes {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

body.dark-theme .feat-no {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
}

/* Price Cell */
.price-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.room-price {
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.per-night {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Book Room Button */
.btn-book-room {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 1.1rem;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(197, 160, 89, 0.3);
}

.btn-book-room:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-book-room:active {
  transform: translateY(0);
}

/* Table Note Footer */
.rooms-table-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: rgba(100, 116, 139, 0.05);
  border-radius: 10px;
  border: 1px solid var(--border-premium);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rooms-table-note svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Dark Theme overrides ── */
body.dark-theme .rooms-comparison-table thead tr {
  background: linear-gradient(135deg, #0f172a 0%, #070d1a 100%);
}

body.dark-theme .rooms-comparison-table thead th {
  color: #94A3B8;
}

body.dark-theme .rooms-comparison-table thead th.col-room-type {
  color: #C5A059;
}

body.dark-theme .room-type-icon {
  background: rgba(197, 160, 89, 0.08);
}

body.dark-theme .room-size-tag {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .rooms-table-note {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .rooms-section {
    padding: 1.5rem !important;
  }

  .rooms-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rooms-availability-badge {
    align-self: flex-start;
  }

  .rooms-filter-tabs {
    gap: 0.4rem;
  }

  .room-tab {
    padding: 0.38rem 0.9rem;
    font-size: 0.82rem;
  }

  .rooms-comparison-table {
    font-size: 0.82rem;
  }

  .rooms-comparison-table th,
  .rooms-comparison-table td {
    padding: 0.8rem 0.6rem;
  }

  .btn-book-room {
    padding: 0.42rem 0.8rem;
    font-size: 0.78rem;
  }

  .room-price {
    font-size: 0.95rem;
  }
}

/* ===== House Rules Section ===== */
.rules-container {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border-premium);
  overflow: hidden;
}

.rule-row {
  display: flex;
  padding: 1.8rem;
  border-bottom: 1px solid var(--border-premium);
}

.rule-row:last-child {
  border-bottom: none;
}

.rule-icon-title {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.rule-icon-title svg {
  color: var(--primary);
  flex-shrink: 0;
}

.rule-content {
  flex: 1;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.rule-content p {
  margin-bottom: 12px;
}

.rule-content p:last-child {
  margin-bottom: 0;
}

.rule-content h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 15px;
  font-size: 1.05rem;
}

.rule-content h4:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .rule-row {
    flex-direction: column;
    padding: 1.5rem;
    gap: 12px;
  }

  .rule-icon-title {
    width: 100%;
    font-size: 1rem;
  }
}

/* ===== CRITICAL FIX FOR BOOKING CARDS ===== */
.profile-content {
  max-width: 650px !important;
  padding: 30px !important;
  background: #fff !important;
}

.bookings-list {
  display: none;
  /* Hidden by default, controlled via JS */
  visibility: visible;
  opacity: 1;
  width: 100%;
  min-height: 50px;
  padding-top: 15px;
}

/* Helper class used by JS to show the current active list */
.bookings-list.active-tab-content {
  display: block !important;
}

.booking-card-premium.expanded {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border: 2px solid #f1f5f9 !important;
  /* Defined frame */
  border-radius: 20px !important;
  margin-bottom: 25px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(197, 160, 89, 0.05) !important;
  height: auto !important;
  width: 100% !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.booking-card-premium.expanded:hover {
  border-color: var(--primary) !important;
  /* Gold frame on hover */
  transform: translateY(-3px);
}


.booking-details-wrapper {
  display: block !important;
  visibility: visible !important;
  padding: 20px !important;
}

.booking-header-main,
.booking-details-grid,
.payment-details-row,
.booking-card-actions {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* --- FINAL FIX FOR CLICKING ISSUES --- */
.booking-modal {
  z-index: 100000 !important;
  pointer-events: none !important;
}

.booking-modal.active {
  pointer-events: auto !important;
}

/* ===== DEFINITIVE DARK THEME FOR PROFILE PAGE ===== */
body.dark-theme .profile-content {
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8) !important;
}

body.dark-theme .profile-content h3,
body.dark-theme .profile-content h4 {
  color: #ffffff !important;
}

body.dark-theme .profile-content p#profileUserEmail {
  color: #a1a1aa !important;
}

body.dark-theme .profile-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .profile-tab {
  color: #71717a !important;
}

body.dark-theme .profile-tab.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

/* Custom Scrollbar for Profile in Dark Theme */
body.dark-theme .profile-content::-webkit-scrollbar {
  width: 6px;
}

body.dark-theme .profile-content::-webkit-scrollbar-track {
  background: #000000;
}

body.dark-theme .profile-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

body.dark-theme .booking-card-premium.expanded {
  background: #0a0a0a !important;
  border: 1px solid rgba(197, 160, 89, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .booking-header-main {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 15px !important;
  border-radius: 15px 15px 0 0 !important;
}

body.dark-theme .hotel-brief h4 {
  color: #ffffff !important;
}

body.dark-theme .status-badge {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dark-theme .status-badge.confirmed {
  color: #10b981 !important;
}

body.dark-theme .status-badge.pending {
  color: #f59e0b !important;
}

body.dark-theme .status-badge.cancelled {
  color: #ef4444 !important;
}

body.dark-theme .booking-details-grid {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin: 10px 0 !important;
  padding: 15px !important;
}

body.dark-theme .detail-item {
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-theme .detail-item:last-child {
  border-bottom: none !important;
}

body.dark-theme .detail-item small,
body.dark-theme .pay-info small {
  color: #71717a !important;
}

body.dark-theme .detail-item span {
  color: #e4e4e7 !important;
}

body.dark-theme .pay-info span:not(.text-success):not(.text-danger) {
  color: #fafafa !important;
}

body.dark-theme .pay-info.total strong {
  color: #ffffff !important;
}

body.dark-theme .btn-invoice-action {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .btn-invoice-action:hover {
  background: var(--primary) !important;
  color: #000 !important;
}

body.dark-theme .close-modal {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

body.dark-theme .close-modal:hover {
  background: #ef4444 !important;
}

.modal-overlay {
  z-index: 1 !important;
}

.modal-content {
  z-index: 100 !important;
  pointer-events: auto !important;
}

/* --- EMERGENCY OVERRIDE FOR MODAL CLICKING --- */
.booking-modal.active {
  z-index: 2147483647 !important;
  /* Maximum possible z-index */
  pointer-events: auto !important;
}

.booking-modal.active .modal-content {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  transform: translate(0, 0) scale(1) !important;
}

.booking-modal.active .modal-overlay {
  z-index: -1 !important;
}

.auth-form,
.auth-form * {
  pointer-events: auto !important;
}