html {
    scroll-behavior: smooth;
}

:root {
    --color-bg: #FAF6F0;

    --color-primary: rgba(238, 85, 50, 1);
    --color-accent: #FFA910;
    --color-text: #000000;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Hero New', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}


.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.mobile-only {
    display: none !important;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.z-50 {
    z-index: 50;
}


h1,
h2,
h3,
h4,
.font-display {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
}


#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}


nav {
    padding: 0rem 4rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;

    right: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 1.1vw, 1.2rem);
    white-space: nowrap;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}


.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

.red-dot {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(238, 85, 50, 0.5);
}

.mobile-menu-btn,
.mobile-order-btn {
    display: none;
}

.mobile-menu-btn {
    font-size: 1.8rem;
    color: #000;
    cursor: pointer;
}

.mobile-order-btn {
    font-size: 1rem;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}



.cta-container {
    display: inline-block;
    border: none;
    padding: 0;
    margin-top: 2rem;
    position: relative;
}

.cta-btn {
    background-color: var(--color-primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    border: none;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.3s;
    box-shadow: 0 10px 20px rgba(238, 85, 50, 0.3);
}

.cta-btn.ghost {
    background-color: #FAF6F0 !important;
    color: var(--color-primary) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-primary) !important;
    z-index: 10;
    position: relative;
}

.cta-btn:hover {
    transform: scale(1.05);
    background-color: rgba(238, 85, 50, 0.9);
}

.cta-btn.ghost:hover {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
}


.magnetic {
    display: inline-block;
}


section {
    padding: 8rem 4rem;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}


#hero {
    min-height: auto;
    isolation: isolate;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    position: relative;
    padding-top: 22rem;
    perspective: 1000px;

    padding-bottom: 2rem;

}

.hero-content {
    z-index: 2;
    position: relative;
    left: -20px;

}

.hero-right-side {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.hero-bg-text {
    position: fixed;
    width: 100vw;
    height: 100%;
    top: -2vh;
    left: 0;
    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    line-height: 0.8;
    opacity: 0.08;

}

.hero-bg-mobile {
    display: none;
}



.hero-subtitle {
    max-width: 600px;
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #222;




    transform: translate(8px, 0px);
}

.hero-bg-text span {
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12.5vw;

    color: transparent;
    -webkit-text-stroke: 2px #5c5c5c;

    white-space: nowrap;
    display: block;
}

.hero-img {
    width: 135%;
    height: auto;
    position: absolute;
    top: -100px;
    right: 0;

    transform: translateZ(0);
    filter: drop-shadow(-20px 20px 20px rgba(0, 0, 0, 0.3));
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: opacity, transform;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.hero-img.active {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator::after {
    content: '';
    width: 50px;
    height: 1px;
    background: #fff;
}


section {
    padding: 6rem 4rem;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    scroll-margin-top: 200px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #111;
}

p {
    line-height: 1.8;

    color: #666;
    margin-bottom: 1.5rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.3rem;

    font-family: 'Montserrat', sans-serif;

    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;

    color: #111;
}

.info-block p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;

}

.section-header p {
    color: #666;
    font-size: 1.2rem;
}

.overline {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.cta-btn.ghost {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.cta-btn.ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

.cta-btn.white {
    background: #fff;
    color: var(--color-primary);
}

.cta-btn.white:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.cta-btn.full {
    width: 100%;
    text-align: center;
}


#menu,
#full-menu {
    position: relative;
    z-index: 2;
    background: transparent;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Constrain grid for sections with few items to prevent huge cards */
.menu-grid-constrained {
    display: flex;
    /* Use flex to control exact positioning more easily for small counts */
    flex-wrap: wrap;
    justify-content: center;
    /* Center items horizontally */
    gap: 2rem;
    max-width: 100%;
}

.menu-grid-constrained .menu-card {
    flex: 0 0 calc(25% - 1.5rem);
    /* Force 1/4 width minus gap */
    max-width: calc(25% - 1.5rem);
}

@media (max-width: 1024px) {
    .menu-grid-constrained .menu-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .menu-grid-constrained {
        gap: 0.8rem;
    }

    .menu-grid-constrained .menu-card {
        flex: 0 0 calc(50% - 0.4rem);
        max-width: calc(50% - 0.4rem);
    }

    .menu-card {
        aspect-ratio: 1 / 1 !important;
        border-radius: 0.8rem !important;
    }

    .card-img-container {
        height: 75% !important;
        flex-grow: 0 !important;
        aspect-ratio: auto !important;
        min-height: 0 !important;
    }

    .menu-text {
        height: 25% !important;
        padding: 0 0.3rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-grow: 0 !important;
    }

    .menu-card h3 {
        font-family: var(--font-display) !important;
        font-size: 0.65rem !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        line-height: 1.1 !important;
        text-align: center !important;
        margin: 0 !important;
        width: 100% !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        letter-spacing: -0.01em !important;
    }
}

@media (min-width: 1025px) {

    /* If only 2 items, limit width so they don't stretch too much */
    .menu-grid-constrained {
        grid-template-columns: repeat(4, 1fr);
        /* Force 4 columns layout even if empty */
    }
}

.menu-card {
    background: #fff;

    border-radius: 1.5rem;
    overflow: hidden;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);

    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;

    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-15px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.card-img-container {
    width: 100%;
    height: 220px;

    overflow: hidden;
    background: #f0f0f0;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.menu-card:hover .card-img-container img {
    transform: scale(1.1) translateZ(0);
}

.menu-text {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    flex-grow: 1;
}

.menu-card h3 {
    font-size: 1.2rem;
    color: #222;
    margin: 0;
    font-weight: 800;
}


.menu-card p {
    display: none;
}

.menu-price {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0;
}


.card-image-placeholder,
.card-content,
.card-footer,
.add-btn {
    display: none;
}


.split-section {
    display: block;

    width: 100%;
    max-width: none;
    background: transparent;
    padding: 6rem 4rem;
}

.split-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.split-section.reverse .split-content {
    order: 2;
}

.split-section.reverse .split-image {
    order: 1;
}

.split-content h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: #111;
}

.split-image {
    position: relative;
    height: 500px;
    border-radius: 2rem;
    overflow: hidden;
}

.image-box {
    width: 100%;
    height: 100%;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #999;
    letter-spacing: 2px;
}


#catering {
    background: transparent;
    isolation: isolate;
    color: #111;
    text-align: left;
    padding: 6rem 4rem;


    width: 100%;
    max-width: none !important;

    display: block;

}

#catering .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.catering-info {
    flex: 1.5;
    max-width: 800px;
}

.catering-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}



#catering p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2.5rem;
}

.catering-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cat-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    width: fit-content;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.red-fill {
    background: var(--color-primary);
    color: #fff;
}

.white-outline {
    background: #fff;
    color: #111;
    border: 2px solid #e0e0e0;
}

.catering-carousel {
    flex: 1.2;
    height: 550px;
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #111;
    /* Dark background for loading */
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;

    /* 모바일 깜빡임/글리치 방지 하드웨어 가속 */
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-perspective: 1000;
    perspective: 1000;
}

.carousel-img.active {
    opacity: 1;
    z-index: 1;
}


.marquee,
.banner-content {
    display: none;
}


#ordering {
    background: transparent;
    text-align: center;
    padding: 6rem 0;
    width: 100vw;
    max-width: none !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.delivery-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.delivery-card {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #222;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    font-size: 1.5rem;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.delivery-card .go-icon {
    color: var(--color-primary);
    transition: transform 0.2s, color 0.3s;
}

.delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.delivery-card:hover .go-icon {
    transform: translateX(5px);
    color: #fff;
}


.delivery-card.uber {
    border: 2px solid #06C167;
}

.delivery-card.uber:hover {
    background: #06C167;

}

.delivery-card.doordash {
    border: 2px solid #FF3008;
}

.delivery-card.doordash:hover {
    background: #FF3008;

}

.delivery-card.skip {
    border: 2px solid #EF3D28;
}

.delivery-card.skip:hover {
    background: #EF3D28;

}


#contact {
    background: transparent;
    text-align: center;
    scroll-margin-top: 10vh;
    /* Centers section on scroll */
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-form .cta-btn {
    width: 100%;
    /* Match exactly the width of the input boxes on desktop */
}

@media (max-width: 768px) {
    .contact-form .cta-btn {
        width: 80%;
        /* 80% width on mobile to be wide but not full width */
    }
}

.input-group {
    width: 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    background: #f9f9f9;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}


footer {
    background: #111;
    color: #fff;
    padding: 4rem;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex: 2;
    justify-content: center;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--color-primary);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.9rem;
}


.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    text-align: left;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #444;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;

    gap: 2rem;
    max-width: 300px;

}

.mt-medium {
    display: inline-block;
    margin-top: 2rem;
}

.mt-large {
    margin-top: 3rem;
}


@media (max-width: 1024px) {

    section,
    .split-section,
    #catering {
        padding: 5rem 1rem !important;
        scroll-margin-top: 100px;
    }

    main>section:first-of-type {
        padding-top: 8rem !important;
    }

    .split-section .content-wrapper {


        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .split-section.reverse .split-content {
        order: 1;

    }

    /* Add specific scroll margin for contact section on mobile */
    #contact {
        scroll-margin-top: 15vh;
        /* Consistent with desktop */
    }

    .split-section.reverse .split-image {
        order: 2;

    }

    .split-image {
        width: 100%;
        height: 300px;
    }

    .split-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .split-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .overline {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .catering-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .form-container h2 {
        font-size: 1.8rem;
    }

    .form-container p {
        font-size: 0.9rem;
    }

    .catering-info {
        max-width: none !important;
    }

    .location-grid {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }


    .mobile-map-btn {
        display: block !important;
        margin: 1.5rem auto 0 auto;
        text-align: center;
        width: 80%;
        order: 3;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}


.mobile-map-btn {
    display: none;
}


@media (max-width: 1024px) {
    nav {
        height: 80px;

        padding: 0 2.5rem;
        align-items: center;
        border-bottom: none;

        overflow: visible;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        background: #FAF6F0;
        z-index: 100;
        display: flex;
        justify-content: space-between;
    }


    nav::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: calc(50% - 75px);

        height: 2px;
        background: #000;
    }


    nav::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: calc(50% - 75px);

        height: 2px;
        background: #000;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 10px;

        transform: translateX(-50%);
        z-index: 200;

        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
        width: auto;
    }

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
        height: 110px !important;

        width: auto;
        background: transparent;

        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .mobile-menu-btn {
        display: block;
        color: #000;
        z-index: 101;
        cursor: pointer;
        position: absolute;
        left: 15%;
        transform: translateX(-50%);
        margin-left: 0;
    }

    .mobile-menu-btn i {
        font-size: 1.4rem;
    }

    .mobile-order-btn {
        display: block;
        font-weight: 700;
        font-size: 0.8rem;
        color: #000;
        text-decoration: none;
        z-index: 101;
        margin-right: 0;
        font-family: 'Inter', sans-serif;
        position: absolute;
        right: 15%;
        transform: translateX(50%);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FAF6F0;
        /* Match body bg */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 90;
        padding-top: 4rem;
        /* Spacing for logo */
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    #hero {
        display: flex;
        flex-direction: column;
        padding-top: 12rem;

        text-align: center;
        padding-bottom: 4rem;
    }

    .hero-right-side {
        width: 100%;
        order: -1;

        justify-content: center;
        margin-bottom: 1rem;
        transform: scale(0.9);
        flex-direction: column;

        align-items: center;
        display: grid;
        grid-template-areas: 'images' 'controls';
        justify-items: center;
    }

    .hero-img {
        grid-area: images;
        width: 90vw;
        position: relative;

        display: block;

        top: auto;
        right: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;

        transform: translateZ(0) !important;
        will-change: opacity, visibility;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }

    .hero-img.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;

    }

    .hero-content {
        order: 1;
        left: 0 !important;

        padding: 0 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 15vw;

        line-height: 0.9;
        margin-bottom: 1rem;
        color: #111;

    }

    .hero-subtitle {
        font-size: 1rem;
        color: #222;
        margin-bottom: 2rem;
        transform: translate(0, 0);

    }

    .cta-container {
        margin: 0 auto 2rem auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cta-btn {
        width: 80%;

        padding: 1rem 0;
        background-color: var(--color-primary);
        font-size: 1rem;
    }


    .hero-controls {
        grid-area: controls;
        position: relative !important;

        bottom: auto !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 1rem;
        z-index: 5;
    }


    #catering .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .catering-info {
        display: contents;
    }

    .catering-title {
        order: 1;
        margin-bottom: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .catering-carousel {
        order: 2;
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        display: block !important;
        position: relative !important;
        background: transparent !important;
        z-index: 50 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 2rem;
        overflow: hidden;
        margin-bottom: 0.5rem;
        perspective: 1000px;
    }

    .mobile-only {
        order: 3;
        margin-top: 0rem;
    }

    .cat-btn {
        font-size: 1rem;
    }

    .carousel-track {
        height: 300px !important;
        width: 100% !important;
        position: relative !important;
        z-index: 51 !important;
        display: block !important;
    }

    .carousel-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important;
        opacity: 0;
        z-index: 52;
        transition: opacity 0.5s ease;
        /* 아래 3줄이 모바일 글리치를 잡는 핵심입니다 */
        will-change: opacity;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-img.active {
        opacity: 1 !important;
        z-index: 60 !important;
    }

    .hero-bg-desktop {
        display: none;
    }

    .hero-bg-mobile {
        display: flex;
    }

    .hero-bg-text {
        width: 150vw;

        left: 0;

        height: 120vh;

        top: -13vh;
        transform: none;

        justify-content: center;
        gap: 1rem;

        z-index: -10;

        opacity: 0.08;
    }

    .hero-bg-text span {
        font-size: 15vh !important;

        white-space: nowrap !important;

        width: auto;
        display: block;
        -webkit-text-stroke: 1px #333;
        color: transparent;
    }
}


.hero-controls {
    position: absolute;
    bottom: 0%;

    left: 35%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 20;

}

.hero-arrow {
    background: none;
    border: none;
    color: #222;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    padding: 0.5rem;
}

.hero-arrow:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 0.8rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    background-color: #d1d1d1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.3);
}


.hero-right-side {
    position: relative;
}




#reviews {
    background: transparent;
    padding: 6rem 4rem;
    width: 100%;
    max-width: none;
    display: block;
    overflow: hidden;

}

#reviews .content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.reviews-header {
    position: sticky;
    top: 100px;
}

.reviews-header h2 {
    font-size: 3rem;
    line-height: 1;
    margin: 1rem 0 2rem 0;
    color: #111;
}

.big-score {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    display: block;
}

.rating-display .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.review-link {
    color: #111;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s;
}

.review-link:hover {
    border-bottom-color: #111;
    gap: 1rem;
}


.reviews-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;


    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    cursor: grab;

    user-select: none;

}

.reviews-track.active {
    cursor: grabbing;

}

.reviews-track::-webkit-scrollbar {
    display: none;
}


.simple-card {
    min-width: 350px;
    max-width: 350px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 380px;


    transition: transform 0.3s ease;
}

.simple-card:hover {
    transform: translateY(-5px);
    border-color: #000;

}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quote-icon {
    font-size: 2rem;
    color: #eee;

}

.simple-card .date {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.simple-card .review-text {
    font-size: 1.2rem;

    line-height: 1.5;
    color: #111;

    font-weight: 500;
    margin-bottom: auto;
}

.card-stars {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
    font-size: 1rem;
    display: flex;
    gap: 3px;
}

.reviewer-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-mini .name {
    font-weight: 700;
    font-size: 0.95rem;
}


@media (max-width: 1024px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reviews-header {
        position: static;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-track {
        width: 100vw;
        margin-left: -4rem;

        padding-left: 4rem;
        padding-right: 4rem;
    }

    .simple-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .reviews-track {
        margin-left: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.review-source {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-source i {
    color: #4285F4;

}

.review-source-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.review-source-link:hover {
    opacity: 0.7;
}

/* Order Popup Drawer Styles */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.side-drawer.open {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    transition: transform 0.2s;
    line-height: 1;
}

.drawer-close:hover {
    transform: rotate(90deg);
    color: var(--color-primary);
}

.drawer-content {
    padding: 4rem 2rem;
    height: 100%;
    overflow-y: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Section */
.drawer-header-new {
    margin-bottom: 2rem;
}

.drawer-logo-new {
    width: 350px;
    height: auto;
    margin-bottom: 0.5rem;
}

.drawer-header-new h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    /* Larger font */
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: -1px;
}

/* Card Section */
.drawer-card-new {
    background: #F9F9F9;
    /* Very light grey */
    width: 100%;
    padding: 3rem 2rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.drawer-address-new {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
    margin: 0;
}

.drawer-subtext-new {
    font-size: 1.2rem;
    font-weight: 800;
    /* Bold */
    color: #000;
    margin: 0;
}

/* App Links Grid - Updated */
.drawer-apps-new {
    display: flex;
    flex-direction: column;
    /* Stack vertically for clear CTAs */
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
}

.app-btn {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.app-logo {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #333;
    /* Default text color */
}

.app-cta {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.app-btn:hover .app-cta {
    color: var(--color-primary);
}

.app-btn.uber .app-logo {
    color: #000;
    letter-spacing: -1px;
}

.app-btn.uber .green {
    color: #06C167;
}

.app-btn.doordash .app-logo {
    color: #eb1700;
    letter-spacing: -1px;
}

/* Image logo styling base */
.app-logo-img {
    height: 30px;
    /* Base height for desktop */
    width: auto;
    object-fit: contain;
}

/* Adjust mobile font sizes and layout */
@media (max-width: 480px) {
    .side-drawer {
        width: 100%;
        max-width: none;
    }

    .drawer-header-new h2 {
        font-size: 2.5rem;
    }

    /* Stack content vertically on mobile to prevent overlap */
    .app-btn {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
        gap: 0.5rem;
    }

    .app-logo {
        font-size: 1.4rem;
    }

    /* Adjust logo height on mobile */
    .app-logo-img {
        height: 25px;
        /* Smaller for mobile */
    }

    .app-cta {
        font-size: 0.9rem;
        align-self: flex-end;
        /* Push CTA to the right */
        color: var(--color-primary);
    }
}

/* Button Text Toggle for Mobile */
.mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Instagram Feed Section */
#instagram-feed {
    background: transparent;
    padding: 4rem 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
    /* Fix for global section limit */
}

.insta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the header content */
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.insta-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #eee;
    padding: 5px;
}

.insta-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.insta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insta-username {
    font-size: 1.5rem;
    font-weight: 800;
    color: #C13515;
    /* Reddish color from screenshot */
    text-decoration: none;
    font-family: var(--font-display);
}

.insta-bio {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.insta-bio i {
    color: #444;
}

.separator {
    color: #ccc;
    margin: 0 5px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.insta-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Square aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    display: block;
}

.insta-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show overlay only if it has content (play icon) */
.insta-overlay i {
    color: #fff;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.insta-item:hover img {
    transform: scale(1.05);
}

.insta-item:hover .insta-overlay,
.insta-overlay:has(.show) {
    /* Fallback usually opacity 0 but let's make play icon visible always if video? Screenshot shows play icon visible. */
    opacity: 1;
}

/* Force overlay visible if intended to look like video preview */
/* Force overlay visible if intended to look like video preview */
.insta-overlay {
    opacity: 1;
    background: transparent;
    transition: background 0.3s ease;
}

.insta-item:hover .insta-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* But play icon should have background? No, screenshot just shows white play triangle. */
/* Actually in screenshot, play icon is visible without hover. */

.insta-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.insta-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.load-more {
    background: #333;
    color: #fff;
}

.follow-btn {
    background: #0095f6;
    /* Instagram blue */
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insta-btn:hover {
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insta-header {
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
    }

    .insta-profile-pic {
        margin: 0 auto 0 0;
    }
}

/* Hide Elfsight Branding - Refined */
a[href*="elfsight.com"],
.eapps-link,
.eapps-remove-link,
a[title="Free Instagram Feed widget for website"],
div[class*="elfsight-app"]>a:last-child {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

/* --- Category Navigation for Menu Page --- */
.menu-nav-container {
    position: sticky;
    top: 90px;
    /* Adjust based on your header height */
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    padding: 1rem 0;
}

.menu-category-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.menu-nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.menu-nav-link:hover {
    color: #111;
    background: #f0f0f0;
}

.menu-nav-link.active {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .menu-nav-container {
        top: 80px;
        padding: 0.8rem 0;
    }

    .menu-category-nav {
        gap: 0.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        /* Space for scrollbar */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .menu-category-nav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .menu-nav-link {
        font-size: 0.95rem;
        white-space: nowrap;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 1024px) {
    #menu {
        display: none !important;
    }
}