/* style.css */
html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

section {
    scroll-margin-top: 5rem; /* Matches the h-20 (20 * 4 = 80px) navbar height */
}
.nav-item.active {
    color: #DB3536; /* text-primary */
    border-bottom: 2px solid #DB3536;
}
@media (min-width: 1024px) {
    .writing-vertical {
        writing-mode: vertical-rl;
    }
}

.ink-wash-bg {
    background-image: url('../images/stir_fry_bg.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    mix-blend-mode: multiply;
    opacity: 0.1;
}
.lattice-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(143, 111, 109, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
}
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}
@keyframes crossfade {
    0%, 25% { opacity: 1; }
    35%, 100% { opacity: 0; }
}
.slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease-in-out;
    animation: crossfade 12s infinite;
}
.slider-image:nth-child(1) { animation-delay: 0s; }
.slider-image:nth-child(2) { animation-delay: 4s; }
.slider-image:nth-child(3) { animation-delay: 8s; }
.parchment-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../images/stir_fry_bg.png');
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* New Decorative Elements */
.meander-line {
    height: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='5' viewBox='0 0 100 5' preserveAspectRatio='none'%3E%3Crect x='0' y='1' width='100' height='1' fill='%23DB3536'/%3E%3Crect x='0' y='3' width='100' height='1' fill='%23DB3536'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 100% 100%;
    width: 100%;
}



.cloud-separator {
    display: none;
}


.gold-ribbon-l {
    position: relative;
    padding-left: 1.5rem;
    border-left: none !important;
}

.gold-ribbon-l::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='100' viewBox='0 0 6 100' preserveAspectRatio='none'%3E%3Crect x='1' y='0' width='1' height='100' fill='%23DB3536'/%3E%3Crect x='4' y='0' width='1' height='100' fill='%23DB3536'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}




.gold-ribbon-v {
    position: relative;
}

@media (min-width: 1024px) {
    .gold-ribbon-v::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='100' viewBox='0 0 20 100' preserveAspectRatio='none'%3E%3Crect x='1.5' y='0' width='1.5' height='100' fill='%23DB3536'/%3E%3Crect x='5' y='0' width='1.5' height='100' fill='%23DB3536'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }
}


.gold-ribbon-h {
    position: relative;
    padding-bottom: 2rem;
}

.gold-ribbon-h::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='8' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Crect x='0' y='1.5' width='100' height='1.5' fill='%23DB3536'/%3E%3Crect x='0' y='5' width='100' height='1.5' fill='%23DB3536'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}





.paper-cut-decoration {
    position: absolute;
    width: 30vw; /* Back to original PC size */
    height: 30vw;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
    opacity: 0.05;
}

@media (max-width: 767px) {
    .paper-cut-decoration {
        width: 120vw; /* Keep full page for mobile only */
        height: 120vw;
        opacity: 0.02;
    }
}




.paper-cut-flower { background-image: url('../images/paper_cut_flower.png'); }
.paper-cut-dragon { background-image: url('../images/paper_cut_dragon.png'); }



.hanging-item {
    animation: sway 4s ease-in-out infinite alternate;
    transform-origin: top center;
    mix-blend-mode: multiply;
}

/* Mobile Menu Styles */
#mobile-menu-overlay {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001; /* Higher than sticky button */
}


.mobile-menu-active {
    overflow: hidden;
}

/* Sticky Global Button (PERFECT CIRCLE) */
.sticky-order-btn {
    display: flex;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #DB3536;
    color: white !important;
    width: 85px; /* Fixed equal dimensions for circle */
    height: 85px;
    border-radius: 50% !important; /* Force perfect circle */
    box-shadow: 0 15px 35px -5px rgba(219, 53, 54, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255,255,255,0.2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}





.sticky-order-btn:active {
    transform: scale(0.9);
}


/* Show on all screens */
.sticky-order-btn {
    display: flex;
}




@keyframes sway {
    from { transform: rotate(-3deg); }
    to { transform: rotate(3deg); }
}

.chopsticks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


