/* ==========================================================================
   AKHİSAR VIP TAKSİ - LÜKS TASARIM VE AKILLI SİSTEM STİLLERİ
   ========================================================================== */

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

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 36, 0.75);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --bg-glass: rgba(10, 14, 23, 0.8);
  --accent-yellow: #FFB800;
  --accent-gold: #FFC72C;
  --accent-gold-hover: #e5a400;
  --accent-green: #25D366;
  --accent-green-hover: #1eb857;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-glass: rgba(255, 184, 0, 0.18);
  --border-glass-light: rgba(255, 255, 255, 0.08);
  --gold-glow: 0 0 35px rgba(255, 184, 0, 0.35);
  --green-glow: 0 0 30px rgba(37, 211, 102, 0.35);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 184, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(255, 184, 0, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #07090e 0%, #0a0e17 50%, #07090e 100%);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)); /* Space for mobile sticky footer */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a {
  overflow-wrap: break-word;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #07090e;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

/* Typography Overrides */
h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 184, 0, 0.4);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

/* Pulse Badge & Status */
.status-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite ease-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* Taxi Roof Light Indicator Effect */
.taxi-roof-glow {
  position: relative;
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, #FFB800, #F59E0B);
  color: #07090e;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.6);
  animation: roofFlicker 4s infinite alternate;
}

@keyframes roofFlicker {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 184, 0, 0.8)); }
  50% { opacity: 0.92; filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.5)); }
}

/* Luxury Button Styles */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFC72C 0%, #FFB800 60%, #D97706 100%);
  color: #07090e;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(255, 184, 0, 0.6);
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #1eb857 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-green:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2ce36e 0%, #20c65e 100%);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--border-glass-light);
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 184, 0, 0.4);
  transform: translateY(-2px);
}

/* Pulsing Phone Button Effect */
.pulse-call {
  animation: pulseCallAnim 2.5s infinite;
}

@keyframes pulseCallAnim {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(255, 184, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

.pulse-whatsapp {
  animation: pulseWaAnim 2.5s infinite;
}

@keyframes pulseWaAnim {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Leaflet Map Customization for Luxury Dark Theme */
#map {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  z-index: 10;
}

.leaflet-container {
  background-color: #0d131f !important;
}

.leaflet-tile {
  /* Temiz ve net harita gorunumu */
  transition: opacity 0.2s ease-in-out;
}

.leaflet-popup-content-wrapper {
  background: #0f1624 !important;
  color: #fff !important;
  border: 1px solid #FFB800 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
}

.leaflet-popup-tip {
  background: #0f1624 !important;
}

/* Quick destination pill */
.dest-pill {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #E2E8F0;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dest-pill:hover, .dest-pill.active {
  background: rgba(255, 184, 0, 0.15);
  border-color: var(--accent-yellow);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

/* Floating Sticky Mobile Footer */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 184, 0, 0.25);
  padding: 10px 16px;
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.7);
}

/* Taxi Card Badge */
.taxi-unit-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.8) 0%, rgba(11, 16, 26, 0.9) 100%);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 20px;
  padding: 24px;
  transition: var(--transition);
  overflow: hidden;
}

.taxi-unit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #FFB800, #F59E0B);
}

.taxi-unit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0d131f;
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 184, 0, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #111827;
  border: 1px solid var(--accent-yellow);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Animated gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF9D2 0%, #FFC72C 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Accordion FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.faq-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease;
  opacity: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-body {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-yellow);
}

/* Mobil Sabit Yeşil "Hemen Taksi Çağır" Butonu */
.sticky-call-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: stickyCallPulse 2s infinite;
}

.sticky-call-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: stickyCallShine 3s infinite;
}

@keyframes stickyCallPulse {
  0% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5), 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5), 0 0 0 14px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5), 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes stickyCallShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.sticky-call-btn:hover, .sticky-call-btn:active {
  background: linear-gradient(135deg, #2dd86b 0%, #1cb94f 50%, #16a34a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(34, 197, 94, 0.7);
}

/* Yerel SEO Bölümü */
.local-seo-section {
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.95) 0%, rgba(15, 22, 36, 0.9) 50%, rgba(7, 9, 14, 0.95) 100%);
}

.local-seo-section .location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.local-seo-section .location-tag:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: var(--accent-yellow);
  color: var(--accent-gold);
}
