/* Custom styles for Days Inn by Wyndham Somerset PA */

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

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

/* Amenity card hover animation */
.amenity-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* Room card hover animation */
.room-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile nav link active state */
.mobile-nav-link.active {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

/* Subtle image zoom on hover */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 53, 0.2);
    color: #1f2937;
}

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

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Ensure all text meets contrast */
.text-charcoal-300,
.text-charcoal-400 {
    /* Already dark enough on charcoal-950 background */
}

/* Print styles */
@media print {
    header, footer, #contact {
        display: none;
    }

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

    a {
        color: #000;
    }
}
