/* Custom Styles for Top Shop Auto Care */

:root {
    --forest-dark: #1a3c2a;
    --forest-light: #2d5a3f;
    --offwhite: #f5f5f0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
}

html {
    scroll-behavior: smooth;
}

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

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

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

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

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

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

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

.hero-badge {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Service Card Hover */
.group:hover .group-hover\:bg-forest-dark {
    transition: background-color 0.3s ease;
}

.group:hover .group-hover\:text-emerald-300 {
    transition: color 0.3s ease;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background-color: rgba(245, 245, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(26, 60, 42, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* Button Hover Effects */
button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 60, 42, 0.3);
}

/* Image Hover Effects */
.group:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}
