/* Additional custom styles for The Rice Bin */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #0a1628;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .hamburger,
    .mobile-menu,
    #contactForm button {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-bg {
        background: #0a1628 !important;
        min-height: auto;
        padding: 40px 0;
    }

    .hero-bg::before {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .menu-card {
        border-width: 2px;
        border-color: #0a1628;
    }

    .btn-primary {
        border: 2px solid #0a1628;
    }
}

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

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-bg h1 {
        font-size: 2rem !important;
    }

    .font-serif.text-4xl {
        font-size: 2rem !important;
    }
}

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

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-bg {
        min-height: auto;
        padding: 80px 0;
    }
}
