/* Custom styles for Starbucks Omaha */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Selection color */
::selection {
    background: rgba(4, 120, 82, 0.2);
    color: #0f172a;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(8, 15, 26, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* Menu lines animation */
.menu-line-1 {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.menu-line-2 {
    transition: opacity 0.3s ease;
    opacity: 1;
}
.menu-line-3 {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

body.menu-open .menu-line-1 {
    transform: translateY(6px) rotate(45deg);
}
body.menu-open .menu-line-2 {
    opacity: 0;
}
body.menu-open .menu-line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Image hover effects */
.rounded-3xl img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button focus states */
a:focus-visible, button:focus-visible {
    outline: 2px solid #5fe8be;
    outline-offset: 2px;
    border-radius: 9999px;
}

/* Subtle pattern for hero */
.bg-pattern {
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
