/* Söke Şehiriçi Kooperatifi - Kurumsal Ege Mavisi & Beyaz Tema */
:root {
  --primary-navy: #0f3d68;
  --primary-blue: #165b9c;
  --accent-cyan: #0284c7;
  --accent-teal: #0d9488;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

/* Header & Nav */
.header-nav-link {
  position: relative;
  transition: all 0.2s ease;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0284c7;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.header-nav-link:hover::after,
.header-nav-link.active::after {
  width: 100%;
}

.header-nav-link.active {
  color: #0284c7 !important;
  font-weight: 600;
}

/* Hero Badge */
.hero-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Glassmorphism Cards */
.card-soft {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -2px rgba(15, 61, 104, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(15, 61, 104, 0.12);
  border-color: #cbd5e1;
}

/* Hat Numarası Rozeti */
.route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #0f3d68 0%, #165b9c 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 61, 104, 0.25);
}

.route-badge-3b {
  width: auto;
  min-width: 52px;
  padding: 0 10px;
}

/* Timeline & Stops */
.route-timeline {
  position: relative;
  padding-left: 20px;
}

.route-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #cbd5e1;
}

.route-timeline-item {
  position: relative;
  margin-bottom: 12px;
}

.route-timeline-item:last-child {
  margin-bottom: 0;
}

.route-timeline-dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #0284c7;
}

.route-timeline-item.start .route-timeline-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}

.route-timeline-item.end .route-timeline-dot {
  background: #ef4444;
  box-shadow: 0 0 0 2px #ef4444;
}

/* Mobil Alt Sabit Bar (Quick Action Bar) */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 50;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 18px rgba(15, 61, 104, 0.08);
    padding: 6px 4px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  }
  
  body {
    padding-bottom: 76px; /* mobil bar alanı için boşluk */
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
