/* assets/css/main.css */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom hover effects for cards */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #d4af37; /* Gold accent on hover */
}

/* Background image overlays */
.hero-overlay {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.page-header-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* Form inputs styling */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    background-color: #ffffff;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

/* Swiper custom styling */
.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
}
.swiper-pagination-bullet-active {
    background: #d4af37 !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease;
}
.swiper-button-next, .swiper-button-prev {
    color: #d4af37 !important;
    background: rgba(15, 23, 42, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #d4af37;
    color: #0f172a !important;
}

/* Date/Time Input Color Scheme */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Autocomplete Suggestions Scrollbar */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

/* Ensure suggestions are visible and styled */
#pickup-suggestions, #dropoff-suggestions {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 100;
}
