/* VroomTech Site Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Logo and Animation Styles */
.logo-container {
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-container:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Enhanced scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.4));
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.6), rgba(6, 182, 212, 0.6));
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 50%, #1d4ed8 100%);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Network animation */
@keyframes networkPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.network-line {
    animation: networkPulse 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Smooth animations */
@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Glass morphism effect */
.glass {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-lg {
    height: 2.75rem;
    padding: 0.5rem 2rem;
}

/* Focus styles */
:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 4px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

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

/* Service card colors */
.service-blue { border-left: 4px solid #3b82f6; }
.service-green { border-left: 4px solid #22c55e; }
.service-purple { border-left: 4px solid #a855f7; }
.service-orange { border-left: 4px solid #f97316; }
.service-red { border-left: 4px solid #ef4444; }
.service-cyan { border-left: 4px solid #06b6d4; }

/* Services dropdown */
#services-dropdown.show {
    opacity: 1;
    visibility: visible;
}
