/* ==========================================================================
   SightSeeing in Kusadasi - Premium CSS Design System
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
  /* Color Palette - Premium Tourism Brand */
  --color-primary: #1E3A5F;
  --color-primary-dark: #0D1B2A;
  --color-primary-light: #2C5282;

  --color-secondary: #C9A227;
  --color-secondary-dark: #A68520;
  --color-secondary-light: #D4B84A;

  --color-accent: #2ECC71;
  --color-accent-dark: #27AE60;
  --color-accent-light: #58D68D;

  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-light-gray: #E9ECEF;
  --color-gray: #6C757D;
  --color-dark-gray: #343A40;
  --color-black: #0D1B2A;

  /* Semantic Colors */
  --color-success: #28A745;
  --color-warning: #FFC107;
  --color-danger: #DC3545;
  --color-info: #17A2B8;

  /* Badge Colors */
  --badge-best-seller: #E74C3C;
  --badge-hot-deal: #FF6B35;
  --badge-new: #9B59B6;
  --badge-popular: #3498DB;

  /* Typography */
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  /* 18px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.5rem;
  /* 24px */
  --font-size-3xl: 1.875rem;
  /* 30px */
  --font-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */
  --font-size-6xl: 3.75rem;
  /* 60px */

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 4px 20px rgba(30, 58, 95, 0.1);
  --shadow-card-hover: 0 8px 30px rgba(30, 58, 95, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
}

/* ==========================================================================
   2. CSS RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-dark-gray);
  background-color: var(--color-white);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

/* Section Spacing */
.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

/* Section Title */
.section-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-12);
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
  border-radius: var(--radius-full);
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-white {
  color: var(--color-white);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-gray {
  color: var(--color-gray);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

/* Background Utilities */
.bg-white {
  background-color: var(--color-white);
}

.bg-off-white {
  background-color: var(--color-off-white);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-primary-dark {
  background-color: var(--color-primary-dark);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Accent Button (CTA) */
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

/* ===== TOP BAR ===== */
.top-bar {
  background: #000;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.top-bar-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.top-bar-logo a {
  display: flex;
  align-items: center;
}

.top-bar-logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
  z-index: 1;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-socials a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.top-bar-socials a:hover {
  color: var(--gold, #C9A227);
  transform: scale(1.15);
}

.top-bar-dropdowns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-dropdown {
  position: relative;
}

.top-bar-dropdown-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  font-family: inherit;
}

.top-bar-dropdown-btn span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-dropdown-btn span img {
  flex-shrink: 0;
}

.top-bar-dropdown-btn:hover {
  border-color: var(--gold, #C9A227);
  color: #fff;
}

.top-bar-dropdown-btn svg {
  opacity: 0.6;
  transition: transform 0.2s;
}

.top-bar-dropdown.open .top-bar-dropdown-btn svg {
  transform: rotate(180deg);
}

.top-bar-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  z-index: 1000;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 400px;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: topBarDropIn 0.2s ease;
}

@keyframes topBarDropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-bar-dropdown.open .top-bar-dropdown-menu {
  display: block;
}

.top-bar-dropdown-menu li {
  padding: 8px 14px;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-dropdown-menu li:hover {
  background: #f5f5f5;
  color: var(--gold, #C9A227);
}

.top-bar-dropdown-menu li img {
  flex-shrink: 0;
  border-radius: 2px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.top-bar-contact:hover {
  color: var(--gold, #C9A227);
}

.top-bar-contact svg {
  opacity: 0.7;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 8px 0;
  }

  .top-bar-inner {
    display: none;
  }

  .top-bar-logo {
    position: static;
    transform: none;
    text-align: center;
  }

  .top-bar-logo a {
    justify-content: center;
  }

  .top-bar-logo-img {
    height: 28px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .top-bar-contact span {
    display: none;
  }

  .top-bar-dropdowns {
    gap: 4px;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  padding: 0 16px !important;
  margin: 0;
  box-sizing: border-box;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 40px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */

/* --- Desktop Nav (>= 1024px) --- */
.main-nav {
  display: none;
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--color-primary);
  background: var(--color-off-white);
}

/* Manage Booking nav button */
.nav-list > li > a.nav-manage-booking {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  margin-left: 4px;
}

.nav-list > li > a.nav-manage-booking:hover {
  background: var(--color-secondary-dark);
  color: #fff;
}

.nav-list > li > a svg {
  width: 10px;
  height: 6px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Desktop Dropdown */
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  list-style: none;
  z-index: var(--z-dropdown);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.has-dropdown .dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-dark-gray);
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.has-dropdown .dropdown li a:hover {
  color: var(--color-primary);
  background: var(--color-off-white);
}

/* --- Hamburger Button --- */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: calc(var(--z-modal) + 10);
  position: relative;
}

@media (min-width: 1025px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

/* Hamburger -> X animation */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Mobile Language Select (inside mobile nav) --- */
.mobile-lang-select {
  display: none;
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.mobile-lang-select select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #f8f9fa;
  color: #333;
  cursor: pointer;
  appearance: auto;
}

@media (max-width: 1024px) {
  .mobile-lang-select {
    display: block;
  }
}

/* --- Mobile Menu Overlay (created by JS, appended to body) --- */
.mobile-menu-overlay {
  display: none;
}

/* --- Mobile Menu (<=1024px) --- */
@media (max-width: 1024px) {

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #fff;
    z-index: 10002;
  }

  .header-inner {
    height: 56px;
    justify-content: space-between;
  }

  /* Dark backdrop - appended to body by JS */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    pointer-events: none;
    transition: background 0.3s ease;
  }

  .mobile-menu-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
  }

  /* Nav panel - moved to body by JS, slides from RIGHT */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 270px;
    max-width: 80vw;
    background: #fff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: block !important;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav .nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 60px 0 30px;
    gap: 0;
  }

  /* Nav links */
  .nav-list > li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 0;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
  }

  .nav-list > li > a.nav-manage-booking {
    background: var(--color-secondary);
    color: #fff;
    margin: 10px 16px;
    border-radius: 10px;
    justify-content: center;
    padding: 14px 20px;
  }

  .nav-list > li > a:hover,
  .nav-list > li > a.active {
    background: #fdf8eb;
    color: #C9A227;
  }

  .nav-list > li > a svg {
    width: 10px;
    height: 6px;
    transition: transform 0.3s;
    color: #999;
  }

  /* Mobile Dropdown (accordion style) */
  .has-dropdown .dropdown {
    position: static;
    min-width: auto;
    padding: 0;
    background: #f8f9fa;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.open .dropdown {
    max-height: 500px;
  }

  .has-dropdown.open > a svg {
    transform: rotate(180deg);
  }

  .has-dropdown .dropdown li a {
    display: block;
    padding: 11px 16px 11px 34px;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.35;
  }

  .has-dropdown .dropdown li a::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #C9A227;
    border-radius: 50%;
  }

  .has-dropdown .dropdown li:last-child a {
    border-bottom: none;
  }

  .has-dropdown .dropdown li a:hover {
    background: #fdf8eb;
    color: #C9A227;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Header Right container - see .header-inner block */

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  margin-top: 142px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.7) 0%,
      rgba(30, 58, 95, 0.5) 50%,
      rgba(13, 27, 42, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--space-6);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  max-width: 800px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--font-size-6xl);
  }
}

.hero-cta {
  animation: fadeInUp 1s ease 0.3s backwards;
}

/* Hero Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 20;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  background-color: var(--color-white);
  border-color: var(--color-secondary);
  transform: scale(1.2);
}

.hero-dot:hover {
  background-color: var(--color-white);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 20;
}

.hero-arrow:hover {
  background-color: var(--color-secondary);
}

.hero-arrow--prev {
  left: var(--space-4);
}

.hero-arrow--next {
  right: var(--space-4);
}

@media (min-width: 768px) {
  .hero-arrow--prev {
    left: var(--space-8);
  }

  .hero-arrow--next {
    right: var(--space-8);
  }
}

/* ==========================================================================
   7. TRUST BADGES
   ========================================================================== */

.trust-badges {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: var(--space-8) 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-badges-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4);
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  margin-bottom: var(--space-3);
}

.trust-badge-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.trust-badge-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

/* ==========================================================================
   8. TOUR CARDS
   ========================================================================== */

.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .tours-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tour-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.tour-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.1);
}

.tour-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-white);
  border-radius: var(--radius-full);
}

.tour-card-badge.best-seller {
  background-color: var(--badge-best-seller);
}

.tour-card-badge.hot-deal {
  background-color: var(--badge-hot-deal);
}

.tour-card-badge.new-tour {
  background-color: var(--badge-new);
}

.tour-card-badge.most-popular {
  background-color: var(--badge-popular);
}

.tour-card-content {
  padding: var(--space-5);
}

.tour-card-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.tour-card-price-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

.tour-card-price-current {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-dark);
}

.tour-card-price-old {
  display: none;
}

.tour-card-cta {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  border-radius: 50%;
  color: var(--color-white);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-normal);
}

.tour-card:hover .tour-card-cta {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   9. PARTNERS SECTION
   ========================================================================== */

.partners {
  background-color: var(--color-off-white);
}

.partners-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-6);
}

.partner-logo {
  height: 50px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-logo span {
  color: var(--color-secondary);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.footer-social-link:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-text a {
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
}

.footer-contact-text a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tursab {
  flex-shrink: 0;
}

.footer-tursab-img {
  max-height: 60px;
  width: auto;
  border-radius: 6px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-tursab-img:hover {
  opacity: 1;
}

/* ==========================================================================
   11. ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animation */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ==========================================================================
   12. RESPONSIVE UTILITIES
   ========================================================================== */

.hidden {
  display: none !important;
}

@media (max-width: 639px) {
  .sm\:hidden {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .sm\:block {
    display: block !important;
  }

  .sm\:flex {
    display: flex !important;
  }

  .sm\:grid {
    display: grid !important;
  }
}

@media (max-width: 767px) {
  .md\:hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block !important;
  }

  .md\:flex {
    display: flex !important;
  }

  .md\:grid {
    display: grid !important;
  }
}

@media (max-width: 1023px) {
  .lg\:hidden {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block !important;
  }

  .lg\:flex {
    display: flex !important;
  }

  .lg\:grid {
    display: grid !important;
  }
}

/* ==========================================================================
   13. WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   RTL (Right-to-Left) Support — Arabic, Hebrew, Urdu
   ========================================================================== */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .container {
  direction: rtl;
}

/* Header & Top Bar — always LTR layout */
[dir="rtl"] .top-bar-inner {
  direction: ltr;
}

[dir="rtl"] .header-inner {
  direction: ltr;
}

[dir="rtl"] .nav-list {
  direction: ltr;
}

/* Nav link text renders RTL naturally via Unicode bidi */
[dir="rtl"] .nav-list a,
[dir="rtl"] .nav-list span {
  unicode-bidi: plaintext;
}

/* Navigation */
[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-right {
  flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-content {
  left: auto;
  right: 0;
}

/* Hero */
[dir="rtl"] .slide-content {
  text-align: right;
}

/* Trust badges */
[dir="rtl"] .trust-grid {
  direction: rtl;
}

/* Tour cards */
[dir="rtl"] .tour-card-body {
  text-align: right;
}

[dir="rtl"] .tour-card-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .tour-card-price {
  text-align: left;
}

/* About section */
[dir="rtl"] .about-grid {
  direction: rtl;
}

[dir="rtl"] .about-content {
  text-align: right;
}

[dir="rtl"] .about-experience-badge {
  left: 20px;
  right: auto;
}

/* Feature lists */
[dir="rtl"] .feature-list li {
  padding-left: 0;
  padding-right: 1.5em;
}

/* Footer */
[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .footer-col {
  text-align: right;
}

/* Forms */
[dir="rtl"] .bf-form label,
[dir="rtl"] .form-label,
[dir="rtl"] .rc-field label,
[dir="rtl"] .bw-label {
  text-align: right;
}

[dir="rtl"] .bf-phone-wrap {
  flex-direction: row-reverse;
}

[dir="rtl"] .bf-phone-code {
  border-radius: 0 8px 8px 0;
  border-right: none;
  border-left: 1px solid var(--color-light-gray);
}

[dir="rtl"] .bf-phone-wrap input[type="tel"] {
  border-radius: 8px 0 0 8px;
}

/* Breadcrumbs */
[dir="rtl"] .breadcrumb,
[dir="rtl"] .bf-breadcrumb {
  direction: rtl;
}

/* Booking widget */
[dir="rtl"] .bw-guest-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .bw-breakdown-row,
[dir="rtl"] .bw-breakdown-total {
  flex-direction: row-reverse;
}

/* Content pages */
[dir="rtl"] .content-grid {
  direction: rtl;
}

[dir="rtl"] .reasons-grid {
  direction: rtl;
}

[dir="rtl"] .reason-card {
  text-align: right;
}

/* Contact page */
[dir="rtl"] .contact-grid {
  direction: rtl;
}

[dir="rtl"] .contact-info-item {
  flex-direction: row-reverse;
  text-align: right;
}

/* Bank accounts */
[dir="rtl"] .bank-detail {
  flex-direction: row-reverse;
}

/* Sidebar */
[dir="rtl"] .sidebar-card {
  text-align: right;
}

/* Villa rental */
[dir="rtl"] .vr-checkbox-grid {
  direction: rtl;
}

[dir="rtl"] .vr-date-row,
[dir="rtl"] .vr-guest-row {
  flex-direction: row-reverse;
}

/* Booking confirm */
[dir="rtl"] .bc-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .bc-actions {
  flex-direction: row-reverse;
}

/* Section titles center alignment override */
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
  text-align: center;
}

/* Slider navigation */
[dir="rtl"] .slider-prev {
  left: auto;
  right: -20px;
}

[dir="rtl"] .slider-next {
  right: auto;
  left: -20px;
}

/* WhatsApp float */
[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 25px;
}

/* How it works */
[dir="rtl"] .how-it-works-grid {
  direction: rtl;
}

/* Tour detail */
[dir="rtl"] .td-top {
  direction: rtl;
}

[dir="rtl"] .td-info {
  text-align: right;
}

[dir="rtl"] .td-meta {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* Messaging buttons */
[dir="rtl"] .td-messaging-buttons,
[dir="rtl"] .rc-messaging-buttons {
  direction: rtl;
}

/* Language dropdown */
[dir="rtl"] .lang-dropdown {
  left: 0;
  right: auto;
}

/* Top bar dropdown menus — keep in LTR */
[dir="rtl"] .top-bar-dropdown-menu {
  direction: ltr;
  text-align: left;
}

/* Footer — keep layout LTR, text RTL for content */
[dir="rtl"] .footer-socials,
[dir="rtl"] .footer-bottom {
  direction: ltr;
}

[dir="rtl"] .footer-bottom-messaging {
  direction: ltr;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

/* --- Mobile (<=768px) --- */
@media (max-width: 768px) {
  .header-inner {
    height: 54px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .logo {
    font-size: 0.78rem !important;
  }

  .hero {
    margin-top: 104px;
    height: 70vh;
    min-height: 350px;
    max-height: 550px;
  }

  .hero-content h1 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  .hero-content p {
    font-size: 0.9rem !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Tour cards single column on small screens */
  .tours-grid {
    gap: 16px !important;
  }

  .tour-info h3 {
    font-size: 0.9rem;
    min-height: auto;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px !important;
  }
}

/* --- Small mobile (<=480px) --- */
@media (max-width: 480px) {
  .header-inner {
    height: 48px;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .logo {
    font-size: 0.75rem !important;
  }

  .hero {
    margin-top: 100px;
    height: 60vh;
    min-height: 280px;
    max-height: 450px;
  }

  .hero-content h1 {
    font-size: 1.3rem !important;
  }

  .hero-content p {
    font-size: 0.82rem !important;
  }

  .main-nav {
    width: 250px;
    max-width: 75vw;
  }
}

/* --- Tablet (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-inner {
    height: 60px;
  }

  .hero {
    margin-top: 98px;
  }
}

/* ==================== SHARED PHONE DROPDOWN (country-codes.js) ==================== */
.phone-dd-search-wrap {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.phone-dd-search {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e4e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.phone-dd-search:focus {
    border-color: var(--color-secondary, #C9A227);
}

.phone-dd-list {
    overflow-y: auto;
    max-height: 290px;
}

.phone-dd-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.phone-dd-option:hover {
    background: #f8f9fa;
}

.phone-dd-option .name {
    flex: 1;
    color: #1a1a2e;
}

.phone-dd-option .code {
    color: #888;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Flatpickr theme overrides */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--color-primary, #1E3A5F);
    border-color: var(--color-primary, #1E3A5F);
}
.flatpickr-day.today {
    border-color: var(--color-secondary, #C9A227);
}
.flatpickr-day.today:hover {
    background: var(--color-secondary, #C9A227);
    border-color: var(--color-secondary, #C9A227);
    color: #fff;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--color-secondary, #C9A227);
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 600;
}