/* Custom styles for Dominican Restaurant */

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-link {
    color: rgba(45, 31, 26, 0.85) !important;
}

#navbar.scrolled .nav-link:hover {
    color: #8a2626 !important;
}

#navbar.scrolled .font-serif {
    color: #1e1410 !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(138, 38, 38, 0.08);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Decorative divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8a2626, #ff8a45);
    border-radius: 2px;
    margin: 0 auto;
}

/* Image hover effects */
img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(138, 38, 38, 0.15);
    color: #1e1410;
}

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .group img {
        transition: none;
    }
    .group:hover img {
        transform: none;
    }
}
