/* Keokuk Motor Lodge — Custom Styles */
/* All primary styles are in index.html; this file provides additional utility classes and overrides */

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A1F14;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ─── Selection ─── */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #FAF8F4;
}

/* ─── Focus States ─── */
:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* ─── Smooth image loading ─── */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ─── Print styles ─── */
@media print {
    .navbar,
    .mobile-menu,
    .hero-bg,
    .hero-pattern,
    .experience-icon,
    .location-map {
        display: none !important;
    }

    body {
        background: #fff;
        color: #1a1a1a;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    .hero-title,
    .section-title,
    .cta-title {
        color: #1a1a1a;
    }
}

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

/* ─── High contrast ─── */
@media (prefers-contrast: high) {
    .stat-card,
    .room-card,
    .experience-card {
        border-color: rgba(201, 168, 76, 0.5);
    }

    .nav-links a,
    .btn-secondary {
        color: #FAF8F4;
    }
}

/* ─── Landscape phone optimization ─── */
@media (max-width: 480px) and (orientation: landscape) {
    .hero-content {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stat-card {
        min-width: 120px;
        padding: 0.75rem 1rem;
    }

    .stat-card-number {
        font-size: 1.25rem;
    }
}
