/* Custom styles complementing Tailwind CSS */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c95a28;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #f3c4b0;
    color: #1f3776;
}

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

/* Ensure navbar doesn't overlap content */
section[id] {
    scroll-margin-top: 80px;
}

/* Print styles */
@media print {
    .hero-gradient {
        background: #1f3776 !important;
        animation: none !important;
    }
    nav, .mobile-menu, #mobile-menu-btn {
        display: none !important;
    }
}

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

/* Very small screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1.1em;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
