/* Custom styles for Lewis Hall — complementing Tailwind CDN */

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #528339;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #c6d9b6;
    color: #111b0c;
}

/* Print styles */
@media print {
    #navbar, #mobile-menu, .btn-primary, form {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* 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;
        scroll-behavior: auto !important;
    }
    .card-hover:hover {
        transform: none;
    }
    img {
        transition: none;
    }
}

/* Landscape phone fix */
@media (max-height: 500px) and (orientation: landscape) {
    #navbar {
        height: 56px;
    }
    #navbar nav > div {
        height: 56px;
    }
    .hero-overlay {
        background: linear-gradient(135deg, rgba(33,52,25,0.85) 0%, rgba(49,80,35,0.7) 100%);
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
