/* ===== Custom Styles for The Burrow ===== */

/* Smooth scroll behavior handled in HTML via scroll-behavior */

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #e7b4dc;
    color: #2c0f25;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .room-card-img {
        height: 180px;
    }

    .amenity-card {
        padding: 22px 18px;
    }

    .cta-banner {
        border-radius: 24px;
        padding: 2rem 1.5rem;
    }

    .form-input {
        padding: 12px 14px;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .room-card-img {
        height: 200px;
    }
}

/* ===== Print styles ===== */
@media print {
    .navbar,
    .hero-bg,
    .hero-overlay,
    .reveal.hidden-reveal {
        display: none !important;
    }

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

    a {
        color: #000;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        opacity: 0.6;
    }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-bg {
        animation: none;
        transform: scale(1);
    }

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

    .amenity-card,
    .room-card {
        transition: none !important;
    }

    .btn-primary,
    .btn-outline {
        transition: none !important;
    }
}

/* ===== High contrast mode ===== */
@media (prefers-contrast: high) {
    .amenity-card {
        border: 2px solid #4d1f42;
    }

    .room-card {
        border: 2px solid #4d1f42;
    }

    .form-input {
        border-width: 3px;
    }
}

/* ===== Landscape phones ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 4rem;
    }
}

/* ===== Tablet landscape ===== */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .section-title {
        font-size: 2rem;
    }
}
