/*
 * EuroSwift Theme Main Styles (v2.2.0)
 * Updated: Premium Gradient, Pulsing Badges, Marquee Fixes, Dark Mode Textures
 */

/* =========================================
   1. CORE & UTILITIES
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Selection Color (Branding) */
::selection {
    background-color: #FFD000;
    color: #000000;
}

.premium-gradient {
    background: linear-gradient(180deg, #000000 0%, #111111 100%);
}

.text-glow {
    text-shadow: 0 0 25px rgba(255, 208, 0, 0.6);
}

/* Glassmorphism Helper (For Rescue/Dark Sections) */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide Scrollbar Utility (For Mobile Tabs) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* =========================================
   2. ANIMATIONS
   ========================================= */
@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; 
    overflow: hidden;
    width: 100%;
    /* Ensure nice separation from hero */
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content; 
    animation: marquee-fast 60s linear infinite; 
}

.marquee-track:hover { animation-play-state: paused; }

.fade-in-text {
    transition: opacity 0.3s ease-in-out;
}

/* =========================================
   3. COMPONENTS
   ========================================= */
.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;
    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.4); /* Slightly darker for better text contrast */
}

.hero-slide.active { opacity: 1; }

/* =========================================
   4. 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);
}

/* --- Brand Catalog Tabs --- */
.brand-tab-btn:hover {
    transform: translateY(-1px);
}

/* --- Fleet Carousels (Swiper) --- */
/* Target all new brand swipers */
[class*="swiper-fleet-"] {
    overflow: hidden;
    padding-bottom: 3rem !important; /* Space for pagination */
}

.swiper-slide {
    height: auto !important; 
}

.swiper-pagination-bullet-active {
    background: var(--tw-color-euro-accent) !important;
    width: 20px;
    border-radius: 4px;
    transition: width 0.3s;
}

/* --- 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; 
}

@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;
}