/* Custom Styles for Raven Tire & Auto Repair */

/* Base Reset & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f172a; /* Matches raven-900 */
    color: #e2e8f0; /* Matches slate-200 */
}

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

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

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

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

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

.card-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Gold Shadow Effect */
.shadow-gold {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* Text Gradients */
.text-gradient-gold {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Input Autofill Styling for Dark Theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #0f172a inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

/* Fade In Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}
