/* ===== Custom Styles for 801AutoBodyShop ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(26, 94, 58, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(26, 94, 58, 0.12);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a5e3a;
    border-radius: 1px;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #1a5e3a;
    color: #fdfbf7;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #1a5e3a;
}

.btn-primary:hover {
    background: #144a2e;
    border-color: #144a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 94, 58, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    color: #1a5e3a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #eaf5ee;
    transform: translateY(-2px);
}

/* ===== Service Cards ===== */
.service-card {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2d7a4f;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

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

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: #b2d9be;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #83c096;
}
