/* Custom styles and overrides */
:root {
    --trust-900: #0c4a6e;
    --trust-800: #075985;
    --trust-700: #0369a1;
    --trust-600: #0284c7;
    --trust-500: #0ea5e9;
    --trust-400: #38bdf8;
    --trust-300: #7dd3fc;
    --trust-200: #bae6fd;
    --trust-100: #e0f2fe;
    --trust-50: #f0f9ff;
    
    --terracotta-600: #c24329;
    --terracotta-500: #d4573a;
    --terracotta-400: #e07258;
    --terracotta-300: #ed9e8a;
    --terracotta-200: #f5c4b8;
    --terracotta-100: #fbe2dc;
    --terracotta-50: #fdf0ed;
    
    --sand-50: #fefce8;
    --sand-100: #fef9c3;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--trust-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--trust-800);
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(12, 74, 110, 0.15);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #d4573a 0%, #c24329 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c24329 0%, #a13522 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 87, 58, 0.3);
}

.btn-secondary {
    border: 2px solid #0c4a6e;
    color: #0c4a6e;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0c4a6e;
    color: white;
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #d4573a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Floating animation */
.card-float {
    animation: float 6s ease-in-out infinite;
}

.card-float-delay {
    animation: float 6s ease-in-out 2s infinite;
}

.card-float-slow {
    animation: float 8s ease-in-out 1s infinite;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid var(--trust-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
