/* Custom styles and animations */
:root {
    --terra-500: #C85A3C;
    --terra-600: #B54328;
}

html {
    scroll-behavior: smooth;
}

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

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.5s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(200, 90, 60, 0.2);
    }
}

/* Ensure content is visible without JS */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #EAB896;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C85A3C;
}

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

/* Print styles */
@media print {
    #navbar,
    #mobileMenu,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
