/* Custom styles for Level 1 Detailing and Body */

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

/* Custom selection color */
::selection {
    background-color: #d47f00;
    color: #1a0d12;
}

/* Service card animations */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

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

/* Gallery item transitions */
.gallery-item {
    overflow: hidden;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(26, 13, 18, 0.1);
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item img,
    .gallery-item > div {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d47f00;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    #back-to-top,
    .gallery-item > div {
        display: none !important;
    }
    
    body {
        color: #1f1f1f;
        background: white;
    }
    
    .bg-plum-900,
    .bg-plum-800 {
        background: #2d1520 !important;
        color: #1f1f1f !important;
    }
}
