/* Custom styles and overrides */
:root {
    --terracotta-500: #e85d32;
    --terracotta-600: #d94a24;
    --sand-500: #eab308;
    --warm-900: #483d37;
    --warm-800: #574942;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 247, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #574942 !important;
}

.nav-scrolled .nav-text {
    color: #483d37 !important;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

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

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(232, 93, 50, 0.1) !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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

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

/* Mobile menu button animation */
#menu-icon {
    transition: all 0.3s ease;
}

.menu-open #menu-icon {
    animation: menuIcon 0.3s ease forwards;
}

@keyframes menuIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(90deg); }
}
