/* ============================================
   NISALIFE TRAVEL — Premium Dark Theme CSS
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1e1e1e;
  --bg-input: #141414;
  --gold: #D4AF37;
  --gold-light: #F5C842;
  --gold-dark: #B8960C;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-glow-strong: rgba(212, 175, 55, 0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border-color: #222222;
  --border-light: #2a2a2a;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 80px;
}

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

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

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

/* RTL Support */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a0a0a0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

html[dir="rtl"] select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 40px;
}

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.hidden { display: none !important; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-section {
  padding: 80px 0;
}

.page-section:nth-child(even) {
  background: var(--bg-secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

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

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
  color: #0a0a0a;
}

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

.btn-outline:hover {
  background: var(--gold);
  color: #0a0a0a;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #ef4444;
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: #0a0a0a;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 3px;
}

.logo-accent {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav .nav-links {
  display: flex;
  gap: 32px;
}

.main-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.main-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-normal);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 160px;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  animation: fadeDown 0.2s ease;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: var(--gold-glow);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  animation: fadeIn 0.3s ease;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  display: block;
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--gold);
  background: var(--gold-glow);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeUp 1s ease;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-title .gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 4px;
  animation: fadeUp 1s ease 0.4s both;
}

/* Hero Search Form */
.hero-search {
  background: rgba(22, 22, 22, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease 0.5s both;
}

.hero-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Date & Time inputs — tap-friendly on mobile */
input[type="date"],
input[type="time"] {
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
  font-size: 1rem;
  padding: 10px 14px;
  box-sizing: border-box;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(1) hue-rotate(10deg) brightness(1.5);
  cursor: pointer;
  width: 20px;
  height: 20px;
  opacity: 1;
}


.hero-search .btn-gold {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 12px;
}

.card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Features / Why Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border-radius: 50%;
  color: var(--gold);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Slider / Carousel --- */
.slider-container {
  position: relative;
  /* Allow the overlay nav buttons to show outside the track */
  overflow: visible;
}

.slider-track {
  display: flex;
  gap: 20px;
  /* Use native scroll — no transform conflict */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  /* clip so cards don't bleed outside section */
  clip-path: inset(-20px -4px -20px -4px);
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track .card,
.fleet-card {
  min-width: 310px;
  max-width: 310px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Nav buttons — float on top of the slider, vertically centered */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-60%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 -8px;
  z-index: 10;
}

.slider-btn {
  pointer-events: all;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.12);
}

/* --- Testimonials / Reviews --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
}

/* --- Stepper (Reservation) --- */
.stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.step.active .step-number {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

.step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.step.active .step-label {
  color: var(--gold);
}

.step.completed .step-label {
  color: var(--success);
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--border-color);
  margin: 0 12px;
  transition: background var(--transition-normal);
}

.step-line.active {
  background: var(--gold);
}

/* --- Reservation Summary Panel --- */
.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.summary-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.summary-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
}

.summary-row .label {
  color: var(--text-secondary);
}

.summary-row .value {
  font-weight: 600;
  text-align: right;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 2px solid var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.summary-total .value {
  color: var(--gold);
}

/* --- Accordion (FAQ) --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--gold);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--transition-fast);
  width: 100%;
  text-align: left;
}

html[dir="rtl"] .accordion-header {
  text-align: right;
}

.accordion-header:hover {
  background: var(--bg-card-hover);
  color: var(--gold);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-normal);
  color: var(--gold);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item.open .accordion-body {
  padding: 0 24px 20px;
  max-height: 500px;
}

.accordion-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #0a0a0a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition-normal);
}

.gallery-item:hover::after {
  background: rgba(212, 175, 55, 0.15);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid var(--border-color);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Counters / Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all var(--transition-fast);
}

.contact-info-item:hover {
  border-color: var(--gold);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: auto;
  height: auto;
  border-radius: 50px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
  z-index: 1100;
  animation: slideUp 0.4s ease;
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-slogan {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.footer-links-group h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text-secondary);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-lang {
  display: flex;
  gap: 8px;
}

.footer-lang button {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-lang button:hover {
  color: var(--gold);
  background: var(--gold-glow);
}

/* --- Admin Panel --- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 24px 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.admin-sidebar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 24px;
  margin-bottom: 12px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  cursor: pointer;
}

html[dir="rtl"] .admin-nav-link {
  border-left: none;
  border-right: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--gold);
  background: var(--gold-glow);
  border-left-color: var(--gold);
}

html[dir="rtl"] .admin-nav-link:hover,
html[dir="rtl"] .admin-nav-link.active {
  border-right-color: var(--gold);
}

.admin-nav-link .badge {
  margin-left: auto;
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
}

html[dir="rtl"] .admin-nav-link .badge {
  margin-left: 0;
  margin-right: auto;
}

.admin-main {
  padding: 32px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Admin Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
}

.dashboard-card:hover {
  border-color: var(--gold);
}

.dashboard-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.dashboard-card-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Admin Table */
.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--bg-card);
  padding: 14px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

html[dir="rtl"] .admin-table th {
  text-align: right;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover td {
  background: var(--bg-card);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pending {
  background: rgba(251, 191, 36, 0.15);
  color: var(--warning);
}

.status-confirmed {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.status-cancelled {
  background: rgba(248, 113, 113, 0.15);
  color: var(--danger);
}

.status-completed {
  background: rgba(96, 165, 250, 0.15);
  color: var(--info);
}

/* Admin login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
}

.admin-login-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease both;
}

/* --- Services Page --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-glow), var(--gold-glow-strong));
  border-radius: var(--radius-md);
  color: var(--gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Vehicle Details --- */
.vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.vehicle-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--gold-glow);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gold);
}

.vehicle-capacity {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* --- Page Header Banner --- */
.page-banner {
  padding: calc(var(--header-height) + 48px) 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* --- Toggle Switch --- */
.toggle-group {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
}

.toggle-option {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.toggle-option.active {
  background: var(--gold);
  color: #0a0a0a;
}

/* --- Phone Input --- */
.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-input-group select {
  width: 100px;
  flex-shrink: 0;
}

/* --- Review Form Stars --- */
.star-rating {
  display: flex;
  gap: 4px;
  direction: ltr;
}

.star-rating button {
  font-size: 1.5rem;
  color: var(--border-color);
  transition: color var(--transition-fast);
}

.star-rating button.active,
.star-rating button:hover {
  color: var(--gold);
}

/* --- Policy Pages --- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gold);
}

.policy-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

html[dir="rtl"] .policy-content ul {
  padding-left: 0;
  padding-right: 24px;
}

.policy-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 6px;
}

/* --- 404 Page --- */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 48px) 24px;
}

.page-404 h1 {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Thank You Page --- */
.thank-you {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  box-sizing: border-box;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.thank-you h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.thank-you p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 8px;
  max-width: 480px;
}

.thank-you .reservation-code {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 3px;
  margin: 16px 0;
  padding: 12px 28px;
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .thank-you {
    padding: calc(var(--header-height) + 24px) 20px 48px;
    min-height: 100dvh;
  }
  .thank-you h2 { font-size: 1.5rem; }
  .thank-you .reservation-code { font-size: 1.4rem; letter-spacing: 2px; padding: 10px 20px; }
}

/* --- Floating WhatsApp Button --- */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.3s ease;
  white-space: nowrap;
  animation: floatPulse 2.5s ease-in-out infinite;
}

.floating-wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  color: #fff;
}

.floating-wa-btn svg {
  flex-shrink: 0;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

@media (max-width: 480px) {
  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    padding: 12px 16px;
    font-size: 0.82rem;
  }
}

/* --- Hotel Filter Buttons --- */
.hotel-region-btn, .hotel-star-btn {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hotel-region-btn:hover, .hotel-star-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hotel-region-btn.active, .hotel-star-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  animation: fadeUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* --- Loading Spinner --- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 48px auto;
}

/* --- Responsive --- */

/* ---- MOBILE FIX: Prevent reservation step containers from growing beyond viewport ---- */
#step-content {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.reservation-layout {
  max-width: 100%;
  overflow: hidden;
}

/* ---- MOBILE FIX: Testimonial / Review cards overflow ---- */
.testimonial-card,
.card {
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.testimonial-card p,
.card p,
.card-text {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ---- Chauffeur benefit cards hover ---- */
.chauffeur-benefit-card:hover {
  border-color: var(--gold) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .reservation-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .chauffeur-benefits-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-search-grid { grid-template-columns: 1fr; }
  
  .section-title { font-size: 1.7rem; }
  .page-banner h1 { font-size: 1.8rem; }
  
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  
  .stepper { flex-wrap: wrap; gap: 8px; }
  .step-line { width: 30px; }
  .step-label { display: none; }
  
  .dashboard-cards { grid-template-columns: 1fr; }
  
  .slider-track .card { min-width: 280px; }
  
  .cookie-content { flex-direction: column; text-align: center; }

  /* ---- MOBILE FIX: Reservation form step content ---- */
  #step-content {
    padding: 0;
    max-width: 100vw;
  }
  
  .reservation-layout {
    gap: 16px;
  }
  
  .summary-panel {
    padding: 16px;
  }

  /* ---- MOBILE FIX: Passenger form grid — stack vertically ---- */
  #step-content .form-group div[style*="grid-template-columns:1fr 1fr 1fr"],
  #step-content div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* ---- MOBILE FIX: Payment card inputs grid ---- */
  #step-content div[style*="grid-template-columns:1fr 1fr"],
  #step-content div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- MOBILE FIX: Vehicle selection grid ---- */
  #step-content .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ---- MOBILE FIX: Extras grid ---- */
  #step-content div[style*="grid-template-columns:repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }

  /* ---- MOBILE FIX: Reviews page cards ---- */
  .grid-3 .card {
    min-height: auto !important;
    padding: 16px !important;
  }
  
  .grid-3 .card .testimonial-header {
    flex-wrap: wrap;
  }
  
  .grid-3 .card p {
    font-size: 0.88rem !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Review form wrapper */
  #review-form,
  .review-form-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  /* ---- Chauffeur section responsive ---- */
  .chauffeur-benefits-grid { grid-template-columns: 1fr !important; }

  /* ---- Admin routes grid ---- */
  #route-form {
    grid-template-columns: 1fr !important;
  }
  
  #route-form div[style*="grid-column"] {
    grid-column: 1 / 2 !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-search { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  
  /* Extra small: phone input group stack */
  .phone-input-group {
    flex-direction: column;
  }
  .phone-input-group select {
    width: 100%;
  }
  
  /* Reservation step buttons */
  #step-content div[style*="display:flex;gap:12px"] {
    flex-direction: column;
  }
  #step-content div[style*="display:flex;gap:12px"] .btn {
    width: 100%;
  }
}

/* =============================================
   ARAÇ GÖRSELLERİ — MOBİL OPTİMİZASYON
   ============================================= */

/* Araç kartları slider — mobilde tam genişlik */
@media (max-width: 768px) {
  /* Slider kartları mobilde tam ekran */
  .slider-track .card {
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  /* Araç görseli yüksekliği mobilde daha iyi oran */
  .card-img {
    height: 200px;
    object-fit: cover;
    object-position: center center;
  }

  /* Araç görsel wrapper taşmayı önle */
  .card-img-wrapper {
    overflow: hidden;
    border-radius: 0;
  }

  /* Araç kartları grid → tek sütun */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* Kart badge (Eco/Mittel/Ultra) pozisyonu */
  .card [style*="position:absolute"],
  .card [style*="position: absolute"] {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  /* Fiyat badge sağ alt köşede */
  .card-price-badge {
    font-size: 14px !important;
    padding: 6px 12px !important;
  }

  /* Araç özellikleri (Chauffeur, WLAN vs) */
  .card-body .flex-wrap {
    gap: 6px !important;
  }

  .card-body .badge,
  .card-body [style*="border-radius:50px"],
  .card-body [style*="border-radius: 50px"] {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Araç kart butonları tam genişlik */
  .card-footer {
    flex-direction: column;
    gap: 10px;
  }

  .card-footer .btn,
  .card-footer button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Çok küçük ekranda araç görseli */
  .card-img {
    height: 180px;
  }

  /* Slider kartlar */
  .slider-track .card {
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  /* Özel arkaplan görsellerli araç kartları */
  .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }
}

/* =============================================
   MOBİL KAPSAMLI OPTİMİZASYON — Tüm Sayfa
   ============================================= */
@media (max-width: 768px) {

  /* === SLIDER OVERLAY NAV DÜZELTME === */
  .slider-container {
    /* Extra padding for the overlay buttons on mobile */
    padding: 0 0 0 0;
  }

  .slider-nav {
    top: auto;
    bottom: -48px;
    transform: none;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    pointer-events: all;
    padding: 0;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* Add bottom spacing so the buttons don't overlap content below */
  #fleet-preview-section .slider-container {
    margin-bottom: 20px;
  }

  /* === ARAÇ SLIDER KARTLARI === */
  .slider-track {
    gap: 12px;
    padding: 8px 0 12px;
  }

  .slider-track .card {
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  /* === ARAÇ GÖRSELLERİ === */
  .card-img {
    height: 200px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: block;
  }

  .card-img-wrapper {
    overflow: hidden;
  }

  /* === ARAÇ KART FOOTER BUTONLARI === */
  .card-footer {
    flex-direction: column;
    gap: 10px;
  }

  .card-footer .btn,
  .card-footer a.btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* === GRID DÜZENLEMELERI === */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* === POPULAR ROUTES GRID === */
  .routes-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .route-card {
    min-height: 140px;
  }

  /* === FEATURES / WHY US === */
  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .feature-item {
    padding: 20px 14px !important;
  }

  .feature-title {
    font-size: 0.88rem !important;
  }

  .feature-text {
    font-size: 0.78rem !important;
  }

  /* === SECTION TYPOGRAPHY === */
  .section-title {
    font-size: 1.5rem !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 28px !important;
  }

  .page-section {
    padding: 48px 0 !important;
  }

  /* === HERO SEARCH === */
  .hero-search {
    padding: 20px 16px;
  }

  .hero-search-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* === HERO BADGE + TITLE === */
  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 2px;
    padding: 5px 14px;
  }

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

  .hero-subtitle {
    font-size: 0.9rem !important;
    letter-spacing: 2px;
    margin-bottom: 24px;
  }

  /* === RESERVATION LAYOUT === */
  .reservation-layout {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .summary-panel {
    position: static !important;
    padding: 16px;
  }

  /* === RESERVATION STEP CONTENT === */
  #step-content {
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Step grids: passenger form, payment */
  #step-content div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* === VEHICLE SELECT CARDS === */
  #step-content .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* === EXTRAS GRID === */
  #step-content div[style*="grid-template-columns:repeat"] {
    grid-template-columns: 1fr !important;
  }

  /* === PAGE BANNER === */
  .page-banner {
    padding: calc(var(--header-height) + 32px) 20px 32px;
  }

  .page-banner h1 {
    font-size: 1.6rem !important;
  }

  .page-banner p {
    font-size: 0.9rem;
  }

  /* === FOOTER === */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* === CONTACT PAGE === */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* === STEPPER === */
  .stepper {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-line {
    width: 20px !important;
  }

  .step-label {
    font-size: 0.55rem !important;
  }

  /* === STAT NUMBERS === */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* === GALLERY === */
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* === SERVICES PAGE === */
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* === HOTEL FILTER CHIPS === */
  .hotel-region-btn, .hotel-star-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* === HOTEL RESULTS GRID === */
  #hotel-results-grid {
    grid-template-columns: 1fr !important;
  }

  /* === TESTIMONIALS === */
  .grid-3 .card {
    min-height: auto !important;
  }

  /* === FLOATING WA BUTTON CLEARANCE (don't overlap content) === */
  .floating-wa-btn {
    bottom: 20px;
    right: 16px;
  }

  /* === COOKIE BANNER === */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* === PHONE INPUT === */
  .phone-input-group {
    flex-direction: column;
  }
  .phone-input-group select {
    width: 100%;
  }

  /* === CHAUFFEUR BENEFITS === */
  .chauffeur-benefits-grid {
    grid-template-columns: 1fr !important;
  }

  /* === ADMIN ROUTES FORM === */
  #route-form {
    grid-template-columns: 1fr !important;
  }

  #route-form div[style*="grid-column"] {
    grid-column: 1 / 2 !important;
  }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-title { font-size: 1.6rem !important; }
  .hero-search { padding: 16px 12px; }

  /* Slider cards even tighter */
  .slider-track .card {
    min-width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  /* Card images slightly shorter */
  .card-img {
    height: 175px;
  }

  /* Routes: single column on tiny phones */
  .routes-grid {
    grid-template-columns: 1fr !important;
  }

  /* Reservation step next/back buttons: stack */
  #step-content div[style*="display:flex"][style*="gap:12px"] {
    flex-direction: column !important;
  }

  #step-content div[style*="display:flex"][style*="gap:12px"] .btn {
    width: 100% !important;
  }

  /* Stepper labels hidden on very small */
  .step-label { display: none !important; }

  /* Stat grid */
  .stats-grid { grid-template-columns: 1fr !important; }

  /* Gallery grid */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; }
}
