*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #C0573E;
    color: #F5F0E8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0C0E;
}
::-webkit-scrollbar-thumb {
    background: #252930;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C0573E;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C0573E, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover::before {
    opacity: 1;
}

/* Process Steps */
.process-step::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #C0573E, transparent);
    margin: 0 auto;
}
.process-step:last-child::after {
    display: none;
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 1;
    color: #C0573E;
    opacity: 0.1;
    pointer-events: none;
}

/* Mobile menu animation */
.menu-open #bar1 {
    transform: translateY(5px) rotate(45deg);
}
.menu-open #bar2 {
    opacity: 0;
}
.menu-open #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #C0573E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Select dropdown styling */
select option {
    background: #1C1F26;
    color: #F5F0E8;
}
