/* Custom styles and overrides */

:root {
    --color-terra-50: #fdf0ed;
    --color-terra-100: #fbe5df;
    --color-terra-500: #d95a38;
    --color-terra-600: #c94525;
    --color-sand-50: #fefce8;
    --color-sand-100: #fef9c3;
    --color-sand-200: #fef08a;
    --color-trust-800: #1e3a5f;
    --color-trust-900: #0f1f33;
}

html {
    scroll-behavior: smooth;
}

/* Service card hover animation */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

/* Navbar scroll behavior */
#navbar.scrolled {
    background: rgba(15, 31, 51, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--color-sand-50);
}

::-webkit-scrollbar-thumb {
    background: var(--color-terra-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-terra-600);
}
