/* Custom styles and overrides */

/* Smooth transitions for all interactive elements */
a, button, .service-card, .why-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection color */
::selection {
    background: rgba(194, 112, 78, 0.2);
    color: var(--charcoal, #2C2C2C);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--terracotta, #C2704E);
    outline-offset: 2px;
    border-radius: 2px;
}

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

::-webkit-scrollbar-track {
    background: var(--sand, #F5F0EB);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta, #C2704E);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-dark, #A85A3A);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html { scroll-behavior: auto; }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.5;
    }
}

/* Print styles */
@media print {
    nav, .hero-scroll, .menu-toggle { display: none; }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-bg, .hero-overlay { display: none; }
    
    .hero-content { color: inherit; }
    .hero h1, .hero p { color: inherit; }
    
    section { padding: 2rem 0; }
    
    footer { background: #fff; color: #333; }
}
