/* Custom styles that complement Tailwind */

/* Ensure all images have consistent behavior */
img {
    max-width: 100%;
    height: auto;
}

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

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #86efac;
    color: #102a43;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Tablet and desktop */
@media (min-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

/* Reduce motion for accessibility */
@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;
    }
}

/* Print styles */
@media print {
    .hero-gradient {
        background: #102a43 !important;
    }
    
    nav, .mobile-menu {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Improved touch targets for mobile */
@media (max-width: 767px) {
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
}
