/* Base styles and custom components */
:root {
    --color-terracotta-600: #c0603a;
    --color-clay-900: #7a1d15;
    --color-clay-700: #b82a1c;
    --color-sand-50: #fef7f4;
    --color-sand-100: #fdeee7;
}

html {
    scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fef7f4;
}
::-webkit-scrollbar-thumb {
    background: #c0603a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9a4c2e;
}

/* Selection color */
::selection {
    background: #c0603a;
    color: white;
}

/* Service card hover */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c0603a;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(122, 29, 21, 0.1);
}

/* Smooth focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .testimonial-card {
        transition: none;
    }
    .service-card::after {
        display: none;
    }
}
