/*=============================================================
ANIMATIONS - Harley-Davidson Antalya
=============================================================*/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseOrange {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 106, 0, 0);
    }
}

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

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loader::after {
    content: "";
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 106, 0, 0.25);
    border-top-color: #ff6a00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero content entrance */
.hero-content {
    animation: fadeInUp 0.9s ease 0.2s both;
}

.heroSlider .swiper-slide-active .hero-content {
    animation: fadeInUp 0.8s ease both;
}

/* Cards */
.motorcycle-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.motorcycle-card:hover {
    transform: translateY(-8px);
}

/* WhatsApp pulse */
#whatsapp {
    animation: pulseOrange 2s infinite;
}

/* Section titles */
.section-title {
    animation: fadeInUp 0.7s ease both;
}

/* Model navigation items */
.model-item {
    transition: all 0.3s ease;
}

.model-item:hover,
.model-item.active {
    transform: translateY(-4px);
}
