/* ===================================================================
   TERMIZ TRAVEL - CORE DESIGN SYSTEM & STYLESHEET
   Luxury Silk Road & Modern Travel Aesthetic
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0a1120;
  --bg-secondary: #0f1c32;
  --bg-card: rgba(18, 32, 57, 0.75);
  --bg-card-hover: rgba(26, 45, 78, 0.9);
  --bg-glass: rgba(15, 28, 50, 0.7);
  
  --primary: #d4af37;        /* Silk road gold */
  --primary-hover: #e5c04b;
  --primary-glow: rgba(212, 175, 55, 0.35);
  --secondary: #0284c7;      /* Azure sky */
  --accent-emerald: #10b981; /* Nature green */
  --accent-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 25px -5px rgba(212, 175, 55, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --primary: #c29d2b;
  --primary-hover: #b08d20;
  --primary-glow: rgba(194, 157, 43, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #334155;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(194, 157, 43, 0.3);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.text-gold {
  color: var(--primary) !important;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Header & Glassmorphic Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 17, 32, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  max-width: 1440px;
  width: 100%;
  padding: 0 1.5rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-text h1 {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Right Nav Actions Cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Compact Utility Pill (Language Dropdown + Theme) */
.header-utilities-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 3px 6px;
  gap: 4px;
  position: relative;
}

.utility-divider {
  width: 1px;
  height: 18px;
  background: var(--border-glass);
  margin: 0 2px;
}

/* Compact Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 5px 9px;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

.lang-dropdown-btn .chevron-icon {
  transition: transform 0.25s ease;
}

.lang-dropdown-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 15px rgba(212, 175, 55, 0.15);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1050;
  animation: dropdownSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.show {
  display: flex;
}

.lang-opt-btn.active {
  background: var(--primary) !important;
  color: #0a1120 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: var(--transition);
}

.lang-dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  transform: translateX(2px);
}

.lang-dropdown-item.active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--primary);
  font-weight: 700;
}

.lang-dropdown-item .flag {
  font-size: 1.05rem;
  line-height: 1;
}

/* Footer Official Social Media Logos */
.footer-social-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.social-logo-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-logo-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.social-logo-btn.fb {
  background: #1877f2;
  color: #ffffff;
}
.social-logo-btn.fb:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.social-logo-btn.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
}
.social-logo-btn.ig:hover {
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

.social-logo-btn.tg {
  background: #229ed9;
  color: #ffffff;
}
.social-logo-btn.tg:hover {
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
}

.social-logo-btn.tg-manager {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.social-logo-btn.tg-manager:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e5a93c);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #f5b74c);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

.btn-outline-gold {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline-gold:hover {
  background: var(--primary);
  color: #0a1120;
}

/* Nav Action Buttons */
.nav-booking-btn {
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Kirish Button (Replaces Admin Panel) */
.btn-login-nav {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-login-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-login-nav:active {
  transform: translateY(0);
}

.btn-admin {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 7px 14px;
  font-size: 0.85rem;
}

.btn-admin:hover {
  background: rgba(2, 132, 199, 0.3);
  color: #ffffff;
}

/* Phone CTA Button */
.nav-phone-btn {
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  gap: 6px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
  font-size: 0.95rem;
  padding: 0;
}

.theme-toggle-btn:hover {
  transform: scale(1.15) rotate(15deg);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-gold);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.25rem;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--accent-rose);
  color: white;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-links a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  transform: translateX(5px);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

/* Light Theme Header Overrides */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .header-utilities-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .utility-divider {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-login-nav {
  background: rgba(194, 157, 43, 0.12);
  border-color: rgba(194, 157, 43, 0.4);
  color: var(--primary);
}

[data-theme="light"] .btn-login-nav:hover {
  background: var(--primary);
  color: #ffffff;
}

[data-theme="light"] .mobile-drawer {
  background: #ffffff;
  border-left-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-nav-links a {
  background: rgba(0, 0, 0, 0.03);
  color: #334155;
}

/* Responsive Header Breakpoints */
@media (max-width: 1240px) {
  .nav-booking-btn {
    display: none;
  }
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 680px) {
  .brand-text span {
    display: none;
  }
  .brand-logo-img {
    height: 40px;
  }
  .brand-text h1 {
    font-size: 1.1rem;
  }
  .header-utilities-pill {
    display: none;
  }
}

@media (max-width: 520px) {
  .navbar .container {
    padding: 0 0.85rem;
  }
  .brand-logo {
    gap: 8px;
    max-width: 175px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .brand-text h1 {
    font-size: 0.98rem;
  }
  .nav-actions {
    gap: 6px;
  }
  /* In top header on mobile, hide the 'Kirish' button to avoid squashing — 'Kirish' is prominently in mobile drawer */
  .btn-login-nav {
    display: none;
  }
  .nav-phone-btn span {
    display: none;
  }
  .nav-phone-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    justify-content: center;
  }
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex-shrink: 0;
  }
}

/* Announcement Ticker Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e3a8a, #0f172a, #1e3a8a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 0.88rem;
  color: #f1f5f9;
  position: relative;
  z-index: 999;
  margin-top: 76px;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-badge {
  background: var(--accent-rose);
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  background: url('../assets/images/hero_termiz.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(10, 17, 32, 0.55), rgba(10, 17, 32, 0.92) 80%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff, #e2e8f0, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Fast Search Box */
.search-widget {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 1rem;
  align-items: flex-end;
}

.search-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.search-field select, .search-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-field select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

.search-field select:focus, .search-field input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

/* Trust Stats */
.stats-section {
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Category Filter Tabs */
.tours-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
}

/* ===================================================================
   TOURS SLIDESHOW & SHOWCASE CAROUSEL
   =================================================================== */

.tours-slider-container {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
}

.slider-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.slider-status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  user-select: none;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDotAnim 2s infinite ease-in-out;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pulse-indicator.paused {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: none;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.slider-progress-track {
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #f59e0b);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.slider-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mode switch pills */
.slider-mode-switch {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mode-btn:hover {
  color: var(--text-main);
}

.mode-btn.active {
  background: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-sm);
}

/* Auto play toggle button */
.slider-control-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-control-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-gold);
  transform: scale(1.08);
}

/* Nav arrows group */
.slider-nav-arrows {
  display: flex;
  gap: 8px;
}

.slider-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.slider-nav-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Viewport and track */
.tours-slider-viewport-wrap {
  position: relative;
  width: 100%;
}

.tours-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0 16px 0;
  border-radius: var(--radius-lg);
}

/* In slider mode: Flex row track */
.tours-slider-container:not(.grid-view) .tours-grid.tours-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: 100%;
}

/* In slider mode: calculate card widths */
.tours-slider-container:not(.grid-view) .tour-card {
  flex: 0 0 calc((100% - (2 * 1.5rem)) / 3);
  max-width: calc((100% - (2 * 1.5rem)) / 3);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .tours-slider-container:not(.grid-view) .tour-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 680px) {
  .tours-slider-container:not(.grid-view) .tour-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Floating side navigation buttons */
.slider-floating-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 28, 50, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-floating-arrow:hover {
  background: var(--primary);
  color: #0a1120;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.slider-floating-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-floating-arrow.prev {
  left: -20px;
}

.slider-floating-arrow.next {
  right: -20px;
}

@media (max-width: 860px) {
  .slider-floating-arrow {
    display: none !important;
  }
}

/* Bottom Pagination Dots & Counter */
.slider-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.slider-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
  width: 32px;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.slider-counter-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Grid View Mode overrides */
.tours-slider-container.grid-view .slider-floating-arrow,
.tours-slider-container.grid-view .slider-nav-arrows,
.tours-slider-container.grid-view .slider-status-badge,
.tours-slider-container.grid-view .slider-control-btn,
.tours-slider-container.grid-view .slider-pagination-wrap {
  display: none !important;
}

.tours-slider-container.grid-view .tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  transform: none !important;
  transition: none !important;
}

.tours-slider-container.grid-view .tour-card {
  flex: initial !important;
  max-width: 100% !important;
}

/* Light Theme support */
[data-theme="light"] .slider-control-header {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .slider-mode-switch {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .slider-floating-arrow {
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  border-color: var(--border-gold);
}

[data-theme="light"] .slider-floating-arrow:hover {
  background: var(--primary);
  color: #ffffff;
}

[data-theme="light"] .slider-dot {
  background: rgba(0, 0, 0, 0.2);
}

/* Tour Cards Grid Base */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.tour-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.tour-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card:hover .tour-image {
  transform: scale(1.08);
}

.tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.badge-domestic {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

.badge-international {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: white;
}

.badge-ziyarat {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: white;
}

.tour-share-btn-floating {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 28, 50, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.tour-share-btn-floating:hover {
  background: var(--primary);
  color: #0a1120;
  transform: scale(1.1);
}

.tour-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tour-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tour-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.tour-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.perk-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-light);
}

.tour-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.tour-actions-group {
  display: flex;
  gap: 8px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-rose);
  color: white;
}

.modal-body {
  padding: 1.5rem;
}

/* Social Share Modal Special Styling */
.share-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-card-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
  text-decoration: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
}

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

.share-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: white;
}

.icon-facebook {
  background: #1877f2;
}

.icon-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.icon-telegram {
  background: #229ed9;
}

.icon-whatsapp {
  background: #25d366;
}

.share-btn-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.share-btn-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Instagram Story / Post Generator Area */
.instagram-generator-box {
  background: rgba(10, 17, 32, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.generator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 10px;
}

.canvas-preview-wrap {
  text-align: center;
  margin: 1.25rem 0;
  background: #000;
  border-radius: var(--radius-md);
  padding: 10px;
  overflow: hidden;
}

.canvas-preview-wrap canvas {
  max-width: 100%;
  max-height: 420px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.caption-copy-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: pre-wrap;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 1rem;
  font-family: monospace;
}

/* Booking & Payment Wizard */
.wizard-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-glass);
  z-index: 1;
  transform: translateY(-50%);
}

.step-bubble {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-bubble.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
}

.step-bubble.completed {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: white;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5rem 0;
}

.payment-method-card {
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.payment-method-card.selected {
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: var(--shadow-gold);
}

.payment-logo {
  height: 32px;
  object-fit: contain;
  margin-bottom: 6px;
}

/* Virtual Card Simulation */
.virtual-card-box {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.card-chip {
  width: 44px;
  height: 32px;
  background: linear-gradient(135deg, #fcd34d, #d97706);
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card-number-display {
  font-size: 1.35rem;
  letter-spacing: 3px;
  font-family: monospace;
  margin-bottom: 1.5rem;
}

.card-details-row {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Printable E-Ticket Voucher */
.voucher-ticket {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 2px dashed #94a3b8;
  position: relative;
  margin-top: 1rem;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.ticket-brand h3 {
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 800;
}

.ticket-brand p {
  color: #64748b;
  font-size: 0.8rem;
}

.ticket-status-badge {
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ticket-field span {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  display: block;
}

.ticket-field strong {
  font-size: 1rem;
  color: #0f172a;
}

.ticket-footer {
  border-top: 2px solid #e2e8f0;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideInRight 0.3s ease;
}

.toast.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast.toast-info {
  border-left: 4px solid #0284c7;
}

.toast.toast-error {
  border-left: 4px solid var(--accent-rose);
}

/* Admin Dashboard Portal */
.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 1050px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  z-index: 2500;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-drawer.open {
  transform: translateX(0);
}

.admin-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 17, 32, 0.85);
}

.admin-nav-tabs {
  display: flex;
  gap: 10px;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.admin-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab.active {
  background: var(--primary);
  color: #0a1120;
}

.admin-content {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

/* Creation Studio (Yangi Turlar, Chegirmalar, E'lonlar) */
.studio-subnav {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.studio-subnav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-subnav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.studio-subnav-btn.active {
  background: linear-gradient(135deg, var(--primary), #e5a93c);
  border-color: var(--primary);
  color: #0a1120;
  box-shadow: var(--shadow-gold);
}

.studio-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.chip-preset-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.chip-preset-btn:hover {
  background: var(--primary);
  color: #0a1120;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.price-old {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.discount-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.discount-card-item:hover {
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.05);
}

/* Data Tables */
.table-responsive {
  overflow-x: auto;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.styled-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
}

.styled-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-main);
}

.styled-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Footer */
.footer {
  background: #060b14;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Animations */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

/* ===================================================================
   RESPONSIVE COMPONENT CLASSES & LAYOUTS
   =================================================================== */

.cultural-heritage-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.heritage-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.heritage-badge {
  position: absolute;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(15, 28, 50, 0.88);
  border: 1px solid var(--border-gold);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  bottom: -20px;
  right: 20px;
  box-shadow: var(--shadow-md);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-glass);
}

/* ===================================================================
   MEDIA QUERIES - MODERN RESPONSIVE SYSTEM
   =================================================================== */

/* Tablet Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .cultural-heritage-grid {
    gap: 2rem;
  }
  .contact-section-grid {
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Tablet Portrait & Large Phones (max-width: 860px) */
@media (max-width: 860px) {
  .cultural-heritage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile & Standard Devices (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
  }
  .search-widget {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }
  .search-btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .section-desc {
    font-size: 0.98rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stat-item h3 {
    font-size: 2.1rem;
  }
  .tours-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .duration-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .duration-pills::-webkit-scrollbar {
    display: none;
  }
  .dur-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sort-selector {
    justify-content: space-between;
    width: 100%;
  }
  .sort-selector select {
    flex: 1;
    max-width: 220px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .share-options-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    align-items: center;
  }
  .admin-drawer {
    width: 100%;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem;
    gap: 0.75rem;
  }
}

/* Medium Phones (max-width: 600px) */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.85rem;
  }
  .filter-tabs {
    gap: 6px;
    margin-bottom: 2rem;
  }
  .filter-tab {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
  .slider-control-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .slider-status-badge {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .tours-slider-container.grid-view .tours-grid,
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    padding: 4px 10px;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-section {
    padding: 1.75rem 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-item h3 {
    font-size: 1.65rem;
  }
  .stat-item p {
    font-size: 0.75rem;
  }
  .filter-tab {
    padding: 6px 11px;
    font-size: 0.78rem;
  }
  .heritage-features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .heritage-badge {
    padding: 0.75rem 1rem;
    bottom: -10px;
    right: 10px;
  }
  .heritage-badge div:first-child {
    font-size: 1.15rem !important;
  }
  .modal-backdrop {
    padding: 0.75rem 0.5rem;
  }
  .modal-box {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }
  .modal-header {
    padding: 1rem;
  }
  .modal-header h3 {
    font-size: 1.15rem;
  }
  .modal-body {
    padding: 1rem;
  }
  .booking-result-box {
    padding: 1rem;
  }
}

/* Ultra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
  .brand-text h1 {
    font-size: 0.9rem;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .filter-tab {
    font-size: 0.74rem;
    padding: 5px 8px;
  }
}

/* Language Switcher */
.lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--primary);
  color: #0a1120;
}

/* Tour Toolbar Controls */
.tours-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
}

.duration-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dur-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.dur-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.dur-pill.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.sort-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-selector select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* Reviews / Testimonials Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.08);
  font-family: var(--font-serif);
  pointer-events: none;
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-comment {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0a1120;
  font-size: 1.1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.reviewer-info span {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 1.5rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* Star Rating Selector */
.star-rating-select {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  margin: 8px 0;
}

.star-rating-select span {
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-select span:hover,
.star-rating-select span.hovered,
.star-rating-select span.active {
  color: #f59e0b;
  transform: scale(1.15);
}

/* Booking Search Result */
.booking-result-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

/* Shake Animation for Wrong PIN */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 420px;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-glass);
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid var(--accent-rose);
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Print Styles for Tickets */
@media print {
  body * {
    visibility: hidden;
  }
  .voucher-ticket, .voucher-ticket * {
    visibility: visible;
  }
  .voucher-ticket {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: 2px solid #000;
  }
  .no-print {
    display: none !important;
  }
}
