/* Custom styles for Alfonso's Auto Upholstery */

:root {
    --burgundy: #780000;
    --blush: #FCE4D6;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-900: #1c1917;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5a0000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Service card hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(120, 0, 0, 0.1);
}

/* Image hover zoom */
.group:hover img {
    transform: scale(1.05);
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
