/* Custom styles for Conrad's Bed and Breakfast */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #E86A54;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #17171d;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #E86A54;
}

/* Subtle image loading animation */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #E86A54;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 400px;
}

/* Mobile link active state */
.mobile-link.active {
    background: rgba(232, 106, 84, 0.1);
    color: #f47056;
}

/* Print styles */
@media print {
    nav, #contact, .map-container iframe {
        display: none;
    }

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

    .hero-bg {
        background: #f5f5f5 !important;
    }
}
