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


    .active-tab {
        background-color: #d30000; /* warna merah Anda */
        color: white !important;
    }


/* Hero Background */
.hero-section {
    /* Gambar kota yang clean, cerah, dan estetik */
    background-image: url('https://images.unsplash.com/photo-1624950207310-a0d766111a24?q=80&w=1936&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efek Parallax saat scroll */
    position: relative;
}

.hero-overlay {
    /* Gradient: Putih Solid (Kiri) -> Transparan (Kanan) */
    /* Ini kunci agar teks terbaca TAPI gambar kota tetap muncul di kanan */
    background: linear-gradient(
        90deg, 
        #ffffff 10%, 
        rgba(255,255,255,0.95) 40%, 
        rgba(255,255,255,0.6) 60%, 
        rgba(255,255,255,0.0) 100%
    );
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(5px);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 3s infinite ease-in-out;
}

/* Card Hover Effects */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Shadow Top for Fleet Section overlap */
.shadow-top {
    box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, 0.1);
}

/* Range Slider Customization */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #e11d48;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.2);
    transition: box-shadow 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.3);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 2px;
}

/* Date Input Styling */
input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    color: #475569;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}