@font-face {
    font-family: 'Lil Grotesk';
    src: url('/fonts/LilGrotesk[wght].woff2') format('woff2-variations'),
         url('/fonts/LilGrotesk[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body, button, input, select, textarea {
    font-family: 'Lil Grotesk', sans-serif;
}

/* Transparent navbar state */
.header-transparent {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.header-transparent .nav-link {
    color: #ffffff !important;
    border-color: transparent !important;
}

.header-transparent .nav-link:hover {
    color: #A39D6D !important; /* sage-leaf */
}

.header-transparent .nav-link-active {
    border-color: #ffffff !important;
}

.header-transparent .btn-login {
    color: #ffffff !important;
}

.header-transparent .btn-login:hover {
    color: #A39D6D !important;
}

.header-transparent .btn-order {
    background-color: #ffffff !important;
    color: #5D2336 !important; /* beetroot-plum */
}

.header-transparent .btn-order:hover {
    background-color: #5D2336 !important;
    color: #ffffff !important;
}

.header-transparent .logo-img {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

/* Scrolled navbar state (standard styling) */
.header-scrolled {
    background-color: rgba(251, 249, 244, 0.95) !important; /* bg-surface/95 */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.header-scrolled .logo-img {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Dark mode support for scrolled header */
.dark .header-scrolled {
    background-color: rgba(24, 25, 22, 0.95) !important; /* dark:bg-surface-container-low */
}

/* Scattered vegetable background pattern */
.bg-pattern-vegetables {
    position: relative;
    overflow: hidden;
}

.bg-pattern-vegetables::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/bg-pattern.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.08; /* Increase opacity so it is clearly visible. To adjust opacity, change this value (e.g. 0.10 for more visible, 0.05 for less). */
    z-index: 0;
    pointer-events: none;
}

/* Ensure contents stay on top of the background watermark */
.bg-pattern-vegetables > * {
    position: relative;
    z-index: 10;
}

/* Hamburger Menu Button Colors */
.header-transparent .mobile-menu-btn {
    color: #ffffff !important;
}
.header-scrolled .mobile-menu-btn {
    color: #420d21 !important; /* beetroot-plum / primary */
}

