/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

/* CSS Variables for Theme Management */
:root {
  --primary-green: #2d5016;
  --secondary-green: #3d6b1f;
  --accent-green: #4a7f22;
  --light-green: #f1f8e8;
  --mountain-blue: #4a90a4;
  --stone-gray: #6c757d;
  --warm-white: #fefefe;
  --soft-shadow: rgba(45, 80, 22, 0.1);
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --background-color: #ffffff;
  --card-background: #ffffff;
  --border-color: #e9ecef;
  --navbar-background: rgba(255, 255, 255, 0.98);
  --footer-background: #f8f9fa;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary-green: #4a7f22;
  --secondary-green: #3d6b1f;
  --accent-green: #5a9428;
  --light-green: #1a2f0a;
  --mountain-blue: #5ba0b4;
  --stone-gray: #8e9aaa;
  --warm-white: #1a1a1a;
  --soft-shadow: rgba(0, 0, 0, 0.3);
  --text-primary: #e8eaed;
  --text-secondary: #bdc1c6;
  --background-color: #121212;
  --card-background: #1e1e1e;
  --border-color: #333333;
  --navbar-background: rgba(30, 30, 30, 0.98);
  --footer-background: #1a1a1a;
}

/* Base Typography */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0; /* Ensure no default padding interferes */
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

/* Theme Toggle Button - Navbar Version */
.theme-toggle {
  background: var(--card-background);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--soft-shadow);
  font-size: 1rem;
  color: var(--text-primary);
}

.theme-toggle:hover {
  box-shadow: 0 4px 12px var(--soft-shadow);
  background: var(--primary-green);
  color: white;
}

.theme-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

/* Theme Toggle Icon Colors */
.theme-toggle .fa-sun {
  color: #ffa500; /* Orange for sun */
}

.theme-toggle .fa-moon {
  color: #4169e1; /* Royal blue for moon */
}

.theme-toggle:hover .fa-sun,
.theme-toggle:hover .fa-moon {
  color: white; /* White on hover */
}

/* Navigation */
.navbar {
  background-color: var(--navbar-background) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.fixed-top {
  z-index: 1040 !important;
}

/* Adjust body padding for fixed navbar */
body {
  padding-top: 0;
}

.navbar-brand {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-green) !important;
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: var(--light-green);
  color: var(--primary-green) !important;
}



@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem;
    border: 1px solid var(--border-color);
  }
  
  .navbar-nav {
    margin-bottom: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    border-radius: 8px;
    font-weight: 600;
  }
  
  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 8px var(--soft-shadow);
    background-color: var(--card-background);
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--text-primary);
  }
  
  .dropdown-item:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* Language Switcher Enhancements */
.dropdown-toggle::after {
  color: var(--primary-green);
  border-top-color: var(--primary-green);
  margin-left: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: var(--light-green);
  color: var(--primary-green);
}

.dropdown-item:active {
  background-color: var(--primary-green);
  color: white;
}

/* Mobile-specific Language Switcher */
@media (max-width: 991.98px) {
  .dropdown-menu {
    background: var(--light-green);
    border-radius: 8px;
  }
  
  .dropdown-item {
    padding: 1rem;
    border-radius: 6px;
    margin: 0.25rem 0;
    background: var(--card-background);
    border: 1px solid var(--border-color);
  }
  
  .dropdown-item:hover {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.3);
  }
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-section img {
  transition: transform 0.3s ease;
}

.hero-section:hover img {
  transform: scale(1.05);
}

.hero-section h1, .hero-section p, .hero-section .btn {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Cards */
.card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px var(--soft-shadow);
}

.card-img-top {
  border-radius: 16px 16px 0 0;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Tour Cards */
.tour-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Specific min-height for actual tour cards only */
.tour-card-only {
  min-height: 320px;
}

.transfer-card-only {
  min-height: 450px;
}

.tour-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px var(--soft-shadow);
}

/* Tour Card Clickable Link Overlay */
.tour-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  text-decoration: none;
  cursor: pointer;
}

.tour-card-link:hover {
  text-decoration: none;
}

.tour-card-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.15);
}

.tour-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(45, 80, 22, 0.1) 50%,
    rgba(45, 80, 22, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-card:hover .tour-card-overlay {
  opacity: 1;
}

.tour-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-green);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.tour-card-content {
  padding: 20px;
}

.tour-card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.tour-card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  min-height: 60px;
}

.tour-card-price {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-green);
}

.tour-card-duration {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Tour Card Title Overlay */
.tour-card-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px 15px 15px;
  z-index: 2;
}

.tour-card-title-text {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Ensure Details button is properly clickable */
.tour-details-btn {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Transfer Card Specific Styles */
.transfer-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 140px; /* Fixed height for transfer content */
  overflow: hidden;
}

.transfer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  min-height: 60px;
  position: relative;
  background: var(--card-background);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-green), var(--accent-green));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 80, 22, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--primary-green);
  border-radius: 12px;
  font-weight: 600;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  border-radius: 12px;
  font-weight: 600;
}

/* Section Styles */
.section-title {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: var(--light-green);
  border: 1px solid var(--border-color);
  margin-bottom: 6rem !important;
  margin-top: 4rem;
  padding: 4rem 2rem !important;
  min-height: 400px;
  position: relative;
  clear: both;
  z-index: 1;
}

[data-theme="dark"] .why-choose-section {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background-color: var(--footer-background);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  clear: both;
  position: relative;
  flex-shrink: 0;
  z-index: 0;
}

.footer h5, .footer h6 {
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer p {
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer .text-muted {
  opacity: 0.85;
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .footer .text-muted {
  color: var(--text-secondary) !important;
  opacity: 1;
}

.footer ul li a {
  display: inline-block;
  padding: 0.25rem 0;
  line-height: 1.4;
  color: var(--text-secondary);
}

[data-theme="dark"] .footer ul li a {
  color: var(--text-secondary);
}

.footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3, .footer .col-lg-4 {
  margin-bottom: 2rem;
}

/* Form Controls */
.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(45, 80, 22, 0.25);
}

/* Ensure proper page layout */
main {
  padding-bottom: 3rem;
}

/* Add extra spacing before footer on all pages */
main:last-child {
  margin-bottom: 3rem;
}

/* Ensure minimum gap before footer */
main > *:last-child,
main .container:last-child,
main section:last-child {
  margin-bottom: 3rem !important;
}



/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .tour-card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .nav-link:hover {
    background-color: transparent;
  }
  
  .tour-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .why-choose-section {
    margin-bottom: 3rem;
    padding: 2rem 1rem !important;
  }
  
  .tour-card-image {
    height: 220px;
  }
  
  .theme-toggle {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    z-index: 1020;
  }
  
  /* Mobile navbar fixes */
  .navbar-toggler {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1041 !important;
  }
  
  /* Green burger menu icon in dark mode on mobile */
  [data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234a7f22' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  
  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1039 !important;
    background: var(--navbar-background) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 4px 12px var(--soft-shadow) !important;
  }
  
  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: auto !important;
    margin-top: 0 !important;
    background-color: var(--light-green) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
  }
  
  .footer h5, .footer h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .footer ul li {
    margin-bottom: 0.6rem;
  }
  
  .why-choose-section {
    margin-bottom: 4rem !important; /* Ensure enough space before footer */
    margin-top: 2rem;
    min-height: 350px;
    padding: 2rem 1.5rem !important;
    clear: both;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .why-choose-section {
    margin-bottom: 5rem !important;
    margin-top: 3rem;
    clear: both;
  }
}

@media (max-width: 576px) {
  .tour-card-content {
    padding: 20px;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  

}

/* Animation Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language Switcher */
.dropdown-menu {
  background-color: var(--card-background) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px var(--soft-shadow) !important;
  z-index: 1050 !important;
  display: none;
}

.dropdown-menu.show {
  display: block !important;
}

.dropdown-item {
  color: var(--text-primary) !important;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--light-green) !important;
  color: var(--primary-green) !important;
}

/* Ensure dropdown toggle is visible and clickable */
.dropdown-toggle {
  display: flex !important;
  align-items: center;
  cursor: pointer !important;
}

.dropdown-toggle::after {
  margin-left: 0.5rem !important;
}

/* Override Bootstrap focus styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-green);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--text-secondary);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Tour Details Page Styles */
.tour-details-header {
  background: linear-gradient(135deg, var(--light-green) 0%, rgba(255, 255, 255, 0.9) 100%);
  padding: 2rem 0;
  margin-bottom: 0;
}

.tour-main-image {
  height: 400px;
  object-fit: cover;
  border-radius: 0.375rem 0.375rem 0 0;
}

.tour-thumbnail {
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tour-thumbnail:hover,
.tour-thumbnail.active {
  border-color: var(--primary-green);
  transform: scale(1.05);
}

.more-photos-indicator {
  height: 60px;
  background-color: var(--light-green);
  cursor: pointer;
  border: 2px solid var(--border-color);
}

.tour-description {
  line-height: 1.7;
}

.tour-description h1, 
.tour-description h2, 
.tour-description h3 {
  color: var(--primary-green);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.tour-description p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tour-description ul, 
.tour-description ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.tour-description li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.highlight-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.highlight-item:last-child {
  border-bottom: none;
}

.price-display {
  margin-bottom: 0.5rem;
}

.quick-info .info-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.quick-info .info-item:last-child {
  border-bottom: none;
}

.breadcrumb-item a {
  color: var(--primary-green);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--secondary-green);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

/* Dark mode styles for tour details */
[data-theme="dark"] .tour-details-header {
  background: linear-gradient(135deg, var(--card-background) 0%, rgba(30, 30, 30, 0.9) 100%);
}

[data-theme="dark"] .more-photos-indicator {
  background-color: var(--card-background);
  border-color: var(--border-color);
}

[data-theme="dark"] .tour-description h1,
[data-theme="dark"] .tour-description h2,
[data-theme="dark"] .tour-description h3 {
  color: var(--primary-green);
}

[data-theme="dark"] .tour-description p,
[data-theme="dark"] .tour-description li {
  color: var(--text-primary);
}

/* Responsive adjustments for tour details */
@media (max-width: 991px) {
  .tour-photos {
    position: static !important;
  }
  
  .tour-main-image {
    height: 300px;
  }
  
  .tour-details-header {
    padding: 1rem 0;
  }
  
  .tour-details-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .tour-main-image {
    height: 250px;
  }
  
  .tour-thumbnail {
    height: 50px;
  }
  
  .more-photos-indicator {
    height: 50px;
  }
}

/* Transfer Details Styles */
.transfer-title {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.transfer-frequency {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.transfer-meta {
  margin-top: 1.5rem;
}

.transfer-info-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.transfer-info-card:hover {
  box-shadow: 0 4px 12px var(--soft-shadow);
  transform: translateY(-2px);
}

.transfer-info-icon {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.transfer-section {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px var(--soft-shadow);
}

.route-info {
  position: relative;
  padding: 1rem 0;
}

.route-point {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.route-point:last-child {
  margin-bottom: 0;
}

.route-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.route-icon.start {
  background-color: var(--primary-green);
  color: white;
}

.route-icon.end {
  background-color: var(--accent-green);
  color: white;
}

.route-line {
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-green), var(--accent-green));
  z-index: 0;
}

.route-details h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card {
  background-color: var(--card-background);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 8px 24px var(--soft-shadow);
  transform: translateY(-4px);
}

.pricing-card.group-price {
  border-color: var(--mountain-blue);
}

.pricing-card.group-price:hover {
  border-color: var(--mountain-blue);
  box-shadow: 0 8px 24px rgba(74, 144, 164, 0.3);
}

.pricing-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.pricing-icon {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-right: 0.75rem;
}

.group-price .pricing-icon {
  color: var(--mountain-blue);
}

.pricing-header h4,
.pricing-header h5 {
  margin: 0;
  color: var(--text-primary);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
}

.group-price .price .amount {
  color: var(--mountain-blue);
}

.price .unit {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.transfer-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--soft-shadow);
}

.transfer-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.transfer-hero-image:hover {
  transform: scale(1.05);
}

.transfer-placeholder-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--light-green), var(--primary-green));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.transfer-placeholder-image i {
  opacity: 0.7;
}

.transfer-placeholder-image p {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.booking-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--soft-shadow);
  overflow: hidden;
}

.booking-card-header {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
  color: white;
  padding: 1.25rem;
}

.booking-card-header h4 {
  color: white;
  font-weight: 600;
}

.booking-card-body {
  padding: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  color: var(--primary-green);
  width: 20px;
  margin-right: 0.75rem;
  text-align: center;
}

.info-item span {
  color: var(--text-secondary);
}

.info-item strong {
  color: var(--text-primary);
}

/* Transfer Details Responsive */
@media (max-width: 992px) {
  .transfer-title {
    font-size: 2rem;
  }
  
  .transfer-section {
    padding: 1.5rem;
  }
  
  .pricing-cards {
    gap: 0.75rem;
  }
  
  .route-point {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .transfer-title {
    font-size: 1.75rem;
  }
  
  .transfer-section {
    padding: 1rem;
  }
  
  .transfer-info-card {
    padding: 0.75rem;
  }
  
  .transfer-hero-image,
  .transfer-placeholder-image {
    height: 250px;
  }
  
  .route-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .route-line {
    left: 20px;
    top: 40px;
    bottom: 40px;
  }
}

@media (max-width: 576px) {
  .transfer-meta .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .pricing-card {
    padding: 1rem;
  }
  
  .price .amount {
    font-size: 1.5rem;
  }
  
  .booking-card-header {
    padding: 1rem;
  }
  
  .booking-card-body {
    padding: 1rem;
  }
}

/* Dark Mode Text Visibility Fixes */
[data-theme="dark"] .card-title,
[data-theme="dark"] .h4,
[data-theme="dark"] h3.card-title,
[data-theme="dark"] h4.card-title,
[data-theme="dark"] h5.card-title {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] small.text-muted {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .highlight-item span {
  color: var(--text-primary);
}

[data-theme="dark"] .quick-info .info-item,
[data-theme="dark"] .quick-info .info-item span,
[data-theme="dark"] .quick-info .info-item strong {
  color: var(--text-primary);
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .transfer-title {
  color: var(--text-primary);
}

[data-theme="dark"] .booking-card-header h4,
[data-theme="dark"] .booking-card-header h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .info-item span {
  color: var(--text-primary);
}

[data-theme="dark"] .route-details h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .pricing-header h4,
[data-theme="dark"] .pricing-header h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .pricing-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .alert-info {
  background-color: rgba(74, 127, 34, 0.2);
  border-color: var(--primary-green);
  color: var(--text-primary);
}

/* Tour Booking Modal - Dark Mode */
[data-theme="dark"] .modal-content {
  background-color: #2b2b2b;
  color: var(--text-primary);
}

[data-theme="dark"] .modal-header {
  background-color: #4a7f22;
  border-bottom: 1px solid #3a6518;
}

[data-theme="dark"] .modal-header .modal-title {
  color: #ffffff;
}

[data-theme="dark"] .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .modal-body {
  background-color: #2b2b2b;
}

[data-theme="dark"] .modal-body .form-label {
  color: var(--text-primary);
  font-weight: 500;
}

[data-theme="dark"] .modal-body .form-control,
[data-theme="dark"] .modal-body .form-select {
  background-color: #1a1a1a;
  border-color: #444;
  color: var(--text-primary);
}

[data-theme="dark"] .modal-body .form-control:focus,
[data-theme="dark"] .modal-body .form-select:focus {
  background-color: #1a1a1a;
  border-color: var(--primary-green);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(74, 127, 34, 0.25);
}

[data-theme="dark"] .modal-body .form-control::placeholder {
  color: #888;
}

[data-theme="dark"] .modal-body .alert-info {
  background-color: rgba(74, 127, 34, 0.2);
  border-color: var(--primary-green);
  color: var(--text-primary);
}

[data-theme="dark"] .modal-body .alert-info h6 {
  color: var(--text-primary);
}

[data-theme="dark"] .modal-footer {
  background-color: #2b2b2b;
  border-top: 1px solid #444;
}

/* Booking Confirmation Page - Dark Mode */
[data-theme="dark"] .card {
  background-color: #2b2b2b;
  color: var(--text-primary);
  border-color: #444;
}

[data-theme="dark"] .card-header {
  background-color: #4a7f22 !important;
  border-bottom-color: #3a6518;
  color: #ffffff !important;
}

[data-theme="dark"] .card-header .card-title,
[data-theme="dark"] .card-header .card-text {
  color: #ffffff !important;
}

[data-theme="dark"] .card-body {
  background-color: #2b2b2b;
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .info-item small {
  color: #999;
}

[data-theme="dark"] .info-item .fw-bold {
  color: var(--text-primary);
}

/* Booking Confirmation - Add spacing between labels and values */
.info-item small {
  display: inline-block;
  margin-right: 0.5rem;
}

.info-item .fw-bold {
  display: inline-block;
}

[data-theme="dark"] .service-info-card {
  background-color: #1a1a1a !important;
  color: var(--text-primary);
  border: 1px solid #444;
}

[data-theme="dark"] .service-info-card h6 {
  color: var(--text-primary);
}

[data-theme="dark"] .tour-description {
  color: var(--text-primary);
}

[data-theme="dark"] .special-requests-card {
  background-color: #1a1a1a !important;
  color: var(--text-primary);
  border: 1px solid #444;
}

[data-theme="dark"] .special-requests-card p {
  color: var(--text-primary);
}

[data-theme="dark"] .price-summary-card {
  background-color: rgba(74, 127, 34, 0.2) !important;
  border-color: var(--primary-green) !important;
}

[data-theme="dark"] .bg-light {
  background-color: #2b2b2b !important;
}

[data-theme="dark"] .next-step-item h6 {
  color: var(--text-primary);
}

[data-theme="dark"] .next-step-item small {
  color: #999 !important;
}

[data-theme="dark"] .badge.bg-warning {
  background-color: #856404 !important;
  color: #fff !important;
}