/*
 * EuroSwift Theme Main Styles (v1.8.0)
 * Updated: Fleet Grid Fixes, Process Connector, FAQ Scrollbar
 */

/* =========================================
   1. CORE & UTILITIES
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #334155;
}

.premium-gradient {
    background: linear-gradient(180deg, #000000 0%, #111111 100%);
}

.text-glow {
    text-shadow: 0 0 25px rgba(255, 208, 0, 0.6);
}

/* =========================================
   2. ANIMATIONS & TICKER FIXES
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ripple-yellow {
    0% { box-shadow: 0 0 0 0 rgba(255, 208, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 208, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 208, 0, 0); }
}

.animate-pulse-fast { animation: ripple-yellow 1.5s infinite; }

/* FIX: Announcement Ticker Animation */
@keyframes marquee-fast {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.feature-marquee-wrapper {
    min-height: 40px; /* Stable height */
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content; /* Critical for continuous scroll */
    animation: marquee-fast 60s linear infinite; /* Faster scroll */
}

.marquee-track:hover { animation-play-state: paused; }

.fade-in-text {
    transition: opacity 0.3s ease-in-out;
}

/* =========================================
   3. COMPONENTS & UTILITY FIXES
   ========================================= */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    position: relative;
    /* Ensure uniform button size */
    min-height: 48px;
    padding: 0.75rem 1.5rem; 
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.floating-btn {
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.5);
}

.hero-slide.active { opacity: 1; }

/* =========================================
   4. CUSTOM SCROLLBAR (NEW)
   ========================================= */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* =========================================
   5. SECTION SPECIFIC STYLES
   ========================================= */

/* --- Feature Marquee Bar --- */
.feature-bar-wrapper {
    background-color: #FFD000; 
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(255, 208, 0, 0.3);
}

/* --- Why Choose Us (Interactive Tabs) --- */
.why-tab-btn {
    border: 2px solid var(--tw-color-euro-accent);
    color: var(--tw-color-euro-accent);
    background-color: transparent;
    cursor: pointer;
    white-space: nowrap;
    /* Responsive sizing */
    flex-grow: 1; /* Allow stretching on mobile/small screens */
    font-size: 0.875rem; /* text-sm */
}

@media (min-width: 640px) { /* sm breakpoint */
    .why-tab-btn {
        flex-grow: 0; /* Stop stretching on larger screens */
    }
}

.why-tab-btn:hover {
    background-color: #fff7ed; 
}

.why-content-pane {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

/* --- Fleet Carousels (Swiper) --- */
.swiper-fleet-luxury, .swiper-fleet-suv, .swiper-fleet-sedan, .swiper-fleet-van {
    /* Ensures the carousel height adjusts to the tallest card in the visible set */
    overflow: visible; /* Changed to visible to allow shadow hover effects */
    padding-bottom: 2rem; /* Space for shadow/pagination */
}

.swiper-slide {
    height: auto !important; /* Critical for vertical alignment */
}

.swiper-pagination-bullet-active {
    background: var(--tw-color-euro-accent) !important;
}

/* --- Adventure Card --- */
.adventure-card {
    background: #111111;
    border: 2px solid #FFD000;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    position: relative; 
    text-align: center;
    margin-top: 2rem; /* Add spacing on mobile */
}

@media (min-width: 1024px) {
    .adventure-card {
        position: sticky;
        top: 100px;
        margin-top: 0;
    }
}

.adventure-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; 
    transform: translateX(-50%);
    width: 50%; height: 4px;
    background: #FFD000;
    box-shadow: 0 0 15px #FFD000;
}

/* --- Footer --- */
footer ul li a {
    color: #FFFFFF;
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.2s;
}
footer ul li a:hover {
    color: #FFD000 !important;
    opacity: 1;
    padding-left: 5px;
}