/* Custom styles for Da Bar */

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

/* Navbar styles */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #1e2026;
}

#navbar.scrolled .nav-logo-text {
    color: #1e2026;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b3f;
    transition: width 0.2s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #7a7e88;
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: #ff6b3f;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 63, 0.3);
}

.menu-tab:not(.active):hover {
    color: #ff6b3f;
}

/* Gallery hover effect */
.gallery-img {
    cursor: pointer;
}

.gallery-img img {
    transition: transform 0.5s ease;
}

.gallery-img:hover img {
    transform: scale(1.05);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(24px);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 4px 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .gallery-img img {
        transition: none;
    }

    .gallery-img:hover img {
        transform: none;
    }

    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9fa2a9;
}
