/* Custom styles for Auto Hail Specialists */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: #14c4a0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3dd8b8;
}

/* Selection color */
::selection {
    background: #14c4a0;
    color: #0a0e27;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 196, 160, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 196, 160, 0.6);
    }
}

/* Floating animation */
.float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse glow animation */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Custom utility classes */
.text-gradient {
    background: linear-gradient(135deg, #14c4a0 0%, #3dd8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Line animation */
.line-animation {
    position: relative;
    overflow: hidden;
}

.line-animation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #14c4a0, transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.line-animation:hover::after {
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #14c4a0;
    outline-offset: 2px;
}

/* 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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
