/* Custom styles for L'aroma Dei Cafe */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(249, 240, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(107, 58, 93, 0.08);
}

/* Nav links underline animation */
.nav-link {
    position: relative;
}

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

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

/* Mobile links */
.mobile-link {
    position: relative;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #6B3A5D;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5C518;
    transition: width 0.3s ease;
}

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

/* Hero text gradient accent */
h1 span, h2 span {
    background: linear-gradient(135deg, #6B3A5D 0%, #C26FA3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu item hover */
.bg-plum-50:hover,
.bg-amber-50:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-plum-50,
.bg-amber-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gallery image hover */
.group:hover img {
    transform: scale(1.05);
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

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

/* Selection color */
::selection {
    background: #E8C2DB;
    color: #3E2136;
}
