/* Critical CSS for Performance */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6;
    color: #333;
}

/* Lazy loading for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Performance optimization */
a, button {
    touch-action: manipulation;
}

/* Mobile-first responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* ==================================== */
/* MODERN HERO SECTION STYLES */
/* ==================================== */

/* Harita Büyütme (Zoom) Efekti */
.map-background-container .map-image-wrapper,
.map-background-container iframe {
    transform: scale(1.15) translateY(-5%); 
    transition: transform 1s ease-out;
}

/* Taxi float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1.05);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* Taksi Konum Düzeltmesi (Kesilmeyi önlemek için bottom artırıldı) */
.taxi-image-container {
    position: absolute;
    bottom: 5rem; /* 80px - Kesin konumlandırma */
    left: 4%;
}
@media (max-width: 768px) {
    .taxi-image-container {
        bottom: 4rem; /* Mobil için */
        left: 2%;
    }
}

/* Modern Pin (İşaretçi) Stili */
@keyframes pulse-pin {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.modern-pin {
    width: 18px;
    height: 18px;
    /* Sarı/Turuncu Rota ile uyumlu vurgu rengi */
    background: linear-gradient(45deg, #FF9800, #FFD700); 
    border-radius: 50%;
    box-shadow: 0 0 10px #FF9800, 0 0 5px #FFD700;
    animation: pulse-pin 1.5s infinite ease-in-out;
}

/* Modern Rota Çizgileri Stili ve Animasyonu */
@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.modern-routes-svg .route-line {
    stroke: url(#route-gradient); 
    stroke-width: 4px;
    stroke-dasharray: 10 8;
    animation: dash 2s linear infinite;
}

/* CTA Buton Işıltı Efekti */
.button-glow:hover {
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.8), 0 0 30px rgba(255, 140, 0, 0.5);
}

/* Taksi görseli şeffaflığı */
#taksi-gorsel {
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal;
}
