/* Additional custom styles and utility classes */

/* Smooth scroll offset for fixed navigation */
section[id] {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-dark);
}

/* Selection color */
::selection {
    background: var(--plum);
    color: var(--white);
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .hero-buttons, .contact-form-wrapper {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 24px;
    }
}

/* Reduced motion */
@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;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--charcoal);
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}
