/* Custom styles for Academy Street Bed & Breakfast */

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

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a192f;
}
::-webkit-scrollbar-thumb {
    background: #C5A059;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu.closed {
    transform: translateY(-100%);
    opacity: 0;
}

/* Subtle hover effect for images */
img {
    transition: transform 0.5s ease;
}

/* Ensure proper spacing for sections */
section {
    position: relative;
}

/* Custom selection color */
::selection {
    background-color: #C5A059;
    color: #0a192f;
}
