/* Custom styles for Tcs Painting Llc website */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F4;
}
::-webkit-scrollbar-thumb {
    background: #e8a08e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d65336;
}

/* Selection color */
::selection {
    background: #f1c7bb;
    color: #63231d;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #e8a08e;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure mobile menu transitions smoothly */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Print styles */
@media print {
    nav, .cta-pattern, button, form {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
