:root {
  --primary-color: #2d3436;
  --accent-color: #0068F4;
  --accent-hover: #0056CC;
  --bg-color: #F3F4F6;
  --card-bg: #FFFFFF;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --success-color: #10b981;
  --glass-border: rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.premium-nav {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  letter-spacing: -1px;
}

.hero-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0984e3 0%, #6c5ce7 100%);
  color: white;
  border-radius: 0 0 50px 50px;
  margin-bottom: -50px;
}

.search-box {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  z-index: 10;
  /* Sidebar-specific flex layout */
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  max-height: calc(100vh - 150px);
  min-height: 400px;
  overflow: hidden;
}

/* Copy of search-box but with isolated padding for Booking page */
.booking-card-premium {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  z-index: 10;
  padding: 2.5rem 2.5rem !important;
}

@media (max-width: 991px) {
  .search-box {
    max-height: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
  }

  .offcanvas-full-mobile {
    width: 100% !important;
    height: 100% !important;
  }

  .offcanvas-full-mobile .offcanvas-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
  }
}

.offcanvas-lg.offcanvas-start {
  width: 320px;
}

@media (max-width: 768px) {
  .booking-card-premium {
    padding: 1.5rem !important;
  }
}

.filter-header {
  padding: 1.25rem 1.25rem 0.5rem;
  flex-shrink: 0;
}

.premium-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 104, 244, 0.2);
}

.premium-btn:hover {
  background: var(--accent-hover);
  color: white;
}

.car-card {
  background: white;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.car-card img {
  height: 200px;
  object-fit: cover;
}

.footer-premium {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0;
  margin-top: 5rem;
}

/* Vehicle Group Cards - Yolcu360 Style */
.vehicle-group-card {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.vehicle-group-card:hover {
  box-shadow: var(--shadow);
}

.vehicle-group-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
}

.vehicle-placeholder-img {
  width: 100%;
  height: 150px;
  background: var(--bg-color);
  border-radius: 8px;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  background: none;
  padding: 0;
}

.spec-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Feature Icons & Badges */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-color);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}

.feature-pill:hover {
  background: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.feature-pill i {
  font-size: 0.9rem;
  color: var(--accent-color);
}

.feature-summary-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.feature-summary-pill i {
  color: var(--accent-color);
  font-size: 1rem;
}

.price-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.free-cancellation {
  color: var(--success-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.free-cancellation svg {
  margin-right: 4px;
}

/* Accordion Sidebar */
.filter-sidebar {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.filter-sidebar .accordion-button {
  font-weight: 600;
  color: var(--text-main);
  padding: 1rem 1.25rem;
  box-shadow: none !important;
  background-color: white !important;
}

.filter-sidebar .accordion-button:not(.collapsed) {
  color: var(--accent-color);
}

.filter-sidebar .accordion-item {
  border: none;
  border-bottom: 1px solid var(--glass-border);
}

.filter-sidebar .accordion-item:last-child {
  border-bottom: none;
}

/* Sticky Filter Button & Fade */
.filter-scroll-container {
  overflow-y: auto !important;
  overflow-x: hidden;
  flex: 1;
  padding: 0 1.5rem;
  margin-right: 2px;
  scrollbar-width: thin;
}

.filter-scroll-container::-webkit-scrollbar {
  width: 4px;
}

.filter-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.filter-actions-sticky {
  flex-shrink: 0;
  background: white;
  padding: 1.5rem;
  z-index: 10;
  border-radius: 0 0 24px 24px;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.03);
  position: relative;
}

.filter-actions-sticky::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Static Pages ── */
.static-hero {
  background: linear-gradient(135deg, #0984e3 0%, #6c5ce7 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  border-radius: 0 0 40px 40px;
  margin-bottom: 2rem;
}

.static-hero h1 {
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.static-hero p {
  opacity: 0.8;
  font-size: 1.1rem;
}

.static-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.static-content h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.static-content h3 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.static-content p,
.static-content li {
  color: var(--text-muted);
  line-height: 1.8;
}

.static-content ul {
  padding-left: 1.25rem;
}

.static-content ul li {
  margin-bottom: 0.5rem;
}

.info-card {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s ease;
  height: 100%;
}

.info-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 104, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--text-main);
  background: white;
  box-shadow: none !important;
  padding: 1.25rem;
  border-radius: 12px !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: rgba(0, 104, 244, 0.04);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-body {
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.25rem 1.25rem;
}

.contact-form .form-control {
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 104, 244, 0.1);
}

/* Floating Action Sidebar */
.floating-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 1050;
}

.float-item {
  position: relative;
  display: block;
  text-decoration: none !important;
  border-radius: 12px 0 0 12px;
  height: 48px;
  width: 48px;
  overflow: hidden;
  transition: width 0.3s ease;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.float-item:hover {
  width: 180px;
  box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.25);
}

/* Booking Page Mobile Sticky Summary */
@media (max-width: 991px) {
  body .booking-mobile-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 8px 0 calc(0px + env(safe-area-inset-bottom)) !important;
    z-index: 2002 !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0) 0%, rgba(243, 244, 246, 0.96) 30%, #f3f4f6 100%) !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-shell {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    border-radius: 14px !important;
    box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden !important;
    margin: 0 2px !important;
    width: calc(100% - 4px) !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-summary {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
  }

  body .booking-mobile-summary-toggle {
    width: 100% !important;
    border: none !important;
    background: #ffffff !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    color: #111827 !important;
    cursor: pointer !important;
    list-style: none !important;
    user-select: none !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-summary-toggle::-webkit-details-marker {
    display: none !important;
  }

  body .booking-mobile-summary-toggle::marker {
    content: "" !important;
    font-size: 0 !important;
  }

  body .booking-mobile-summary-heading {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #111827 !important;
  }

  body .booking-mobile-summary-chevron {
    font-size: 1rem !important;
    color: #111827 !important;
    transition: transform 0.25s ease !important;
    flex-shrink: 0 !important;
  }

  body .booking-mobile-summary[open] .booking-mobile-summary-chevron {
    transform: rotate(180deg) !important;
  }

  body .summary-drawer {
    display: block !important;
    width: 100% !important;
    background: #dce8f8 !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-summary[open] .booking-mobile-summary-toggle {
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
  }

  body .summary-drawer-body {
    max-height: 52vh !important;
    overflow-y: auto !important;
    padding: 0 !important;
  }

  body .summary-price-block {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    display: block !important;
  }

  body .summary-price-block.office-payment {
    border-top: 1px solid rgba(17, 24, 39, 0.1) !important;
  }

  body .summary-block-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 16px !important;
    gap: 12px !important;
  }

  body .summary-block-title .label {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  body .summary-block-title .amount {
    font-weight: 800 !important;
    color: #111827 !important;
    font-size: 1.15rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  body .summary-item-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
    color: #666 !important;
  }

  body .summary-item-row .label {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #516174 !important;
  }

  body .summary-item-row .amount {
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: #516174 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  body .summary-item-row.muted {
    color: #6c7c8f !important;
    font-size: 0.76rem !important;
    margin-top: -8px !important;
    margin-bottom: 14px !important;
  }

  body .summary-item-row.bordered,
  body #summary-online-extras-mobile .summary-item-row:first-child,
  body #summary-office-items-mobile .summary-item-row:first-child {
    border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
    padding-top: 12px !important;
  }

  body .summary-item-row.text-success .label,
  body .summary-item-row.text-success .amount {
    color: #0f9f57 !important;
    font-weight: 700 !important;
  }

  body .booking-mobile-action {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-action .premium-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;
    background: #0068F4 !important;
    border: none !important;
    padding: 14px 20px !important;
    color: white !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    letter-spacing: 0.01em !important;
    box-sizing: border-box !important;
  }

  body .booking-mobile-footer.is-final-step .booking-mobile-action .premium-btn {
    background: #198754 !important;
  }

  body .pb-footer-mobile {
    padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
  }
}

.float-item .float-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.float-item .float-label {
  display: flex;
  align-items: center;
  height: 48px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding-left: 16px;
  padding-right: 52px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}

.float-item:hover .float-label {
  opacity: 1;
}

.float-whatsapp {
  background: #25D366;
}

.float-contact {
  background: #0068F4;
}

.float-instagram {
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
}

.float-facebook {
  background: #1877F2;
}

/* Legacy */
.floating-actions {
  display: none;
}

@media (max-width: 768px) {
  .floating-sidebar {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .float-item {
    height: 42px;
    width: 42px;
    border-radius: 10px 0 0 10px;
  }

  .float-item .float-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .float-item .float-label {
    height: 42px;
    padding-right: 46px;
  }

  .float-item:hover {
    width: 160px;
  }
}