/* Custom styles for Blacks Collision Repair Center */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0e14;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6e1436;
}

/* Selection color */
::selection {
    background: rgba(110, 20, 54, 0.6);
    color: #fff;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 14, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero image hover */
.group:hover img {
    transform: scale(1.05);
}

/* Service card hover effect */
.group:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
#testimonials .group:hover {
    transform: translateY(-4px);
}

/* Animated gradient border for process steps */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(110, 20, 54, 0.3); }
    50% { border-color: rgba(110, 20, 54, 0.8); }
}

/* Fade-in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Pulse animation for scroll indicator */
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

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

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

/* Image aspect ratio utilities */
.aspect-card-tall {
    aspect-ratio: 3/4;
}
.aspect-card-wide {
    aspect-ratio: 4/3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, #form-success, .floating-badge {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-neutral-950, .bg-neutral-900 {
        background: white !important;
        color: black !important;
    }
}
