/* Custom styles for Lane's Coffee Shop and Travel Store */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #68cd9b;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(8, 15, 25, 0.98) !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

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

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Custom focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3db87a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure hero text is always visible */
.hero-content {
    opacity: 1 !important;
}

/* Reduced motion preference */
@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;
    }
    
    img {
        transition: none;
    }
}

/* Ensure all text has sufficient contrast */
.text-midnight-600 {
    color: #4c6582;
}

.text-midnight-500 {
    color: #657f9f;
}

/* Mobile menu button active state */
#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

#mobile-menu-btn.active svg path {
    transition: transform 0.3s ease;
}

/* Ensure all interactive elements are accessible */
button, a {
    cursor: pointer;
}

/* Print styles */
@media print {
    header, footer, .cta-banner {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
