/* Gyro Kingdom — Custom Styles */

/* Base resets and custom properties */
:root {
    --color-emerald-950: #022c22;
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-cream-50: #fefdf8;
    --color-cream-100: #fdf9ef;
    --color-cream-200: #faf3e0;
    --color-cream-300: #f5e9c8;
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #065f46;
    color: #fefdf8;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift on images with aspect-ratio */
.aspect-\[4\/3\],
.aspect-\[4\/5\] {
    position: relative;
}

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

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

/* Print styles */
@media print {
    nav,
    .reveal,
    #hero .absolute {
        display: none !important;
    }

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

    a {
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .menu-card {
        border: 1px solid ButtonText;
    }

    .btn-shine {
        border: 1px solid ButtonText;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .menu-card:hover {
        transform: none;
        box-shadow: none;
    }

    .aspect-\[4\/3\] img:hover {
        transform: none;
    }
}

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

/* Very narrow screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1.5rem;
    }
}
