/* Custom CSS for Spearman Auto Body */

:root {
    --terracotta: #C05640;
    --terracotta-dark: #A04530;
    --sand: #F5F5F0;
    --stone-900: #1C1917;
    --stone-800: #292524;
    --stone-600: #57534E;
    --stone-500: #78716C;
    --stone-300: #D6D3D1;
    --stone-200: #E7E5E4;
    --stone-100: #F5F5F4;
}

/* Custom font classes */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Custom color classes */
.text-terracotta {
    color: var(--terracotta);
}

.bg-terracotta {
    background-color: var(--terracotta);
}

.bg-terracotta\\/10 {
    background-color: rgba(192, 86, 64, 0.1);
}

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

/* Animation for hero section */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--stone-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Service card hover effect */
.group:hover .group-hover\\:bg-terracotta {
    background-color: var(--terracotta);
}

.group:hover .group-hover\\:text-white {
    color: white;
}
