/* Additional custom styles */
html {
    scroll-behavior: smooth;
}

/* Ensure proper spacing for fixed navigation */
section {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background-color: #FF6B6B;
    color: #ffffff;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Loading state for form button */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, .mobile-menu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-charcoal-900,
    .bg-charcoal-800,
    .bg-charcoal-700 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-300,
    .text-gray-400 {
        color: black !important;
    }
}

/* Reduced motion preferences */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-charcoal-700 {
        background-color: #000000 !important;
    }
    
    .text-gray-400 {
        color: #ffffff !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}
