@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');
@import url('https://fonts.bunny.net/css?family=instrument-sans:400,600,700,800');

:root {
    --orange: #C8361D;
    --orange-light: #e85a4d;
    --muted: #706f6c;
    --text: #1b1b18;
    --menu-start: 120px; /* ⬅️ OFFSET DARI TOP MENU SECTION */
    --sidebar-width: 200px;
    --sidebar-offset: 60px;
    --container-padding: 40px;
    --sidebar-right-padding: 30px;
    --content-shift: 40px;
    --divider-shift: 40px; /* ⬅️ TAMBAHAN JARAK KE KANAN */
    left: calc(
        var(--divider-left)
        + var(--content-shift)
        + 80px
    );

    --divider-left: calc(
        var(--sidebar-width)
        + var(--sidebar-right-padding)
        + var(--divider-shift)
    );
    }

* {
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    margin: 0;
    color: var(--text);
    background: #fff;
}

/* =====================
   HERO SECTION - SAMA SEPERTI HOME.BLADE
   ===================== */
.hero-section{position:relative;color:#fff;padding:80px 18px;overflow:hidden;}

/* SLIDESHOW BACKGROUND */
.hero-slideshow {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 1s ease-in-out;
    z-index: 0;
}

.hero-slideshow .slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GRADIENT OVERLAY - SAMA SEPERTI HOME */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        #C8361D 0%,
        #C8361D 40%,
        rgba(200, 54, 29, 0.85) 43%,
        rgba(200, 54, 29, 0.4) 49%,
        rgba(200, 54, 29, 0.15) 58%,
        rgba(200, 54, 29, 0) 90%
    );
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-left {
    flex: 1;
    color: #fff;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 0.95;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* NORDIC agak ke kiri */
.hero-title span:first-child {
    margin-left: -14px;
}

/* SELECTION agak ke kanan, mulai dari huruf R */
.hero-title span:last-child {
    margin-left: 70px; /* ⬅️ sejajar huruf R Nordic */
    font-size: 64px;
    opacity: 0.95;
}

.hero-title span {
    display: block;
}

.hero-tagline {
    font-size: 22px;
    color: #fffde8;
    font-weight: 600;
    margin: 0;
}


/* =====================
   GOFOOD CTA
   ===================== */
.gofood-wrapper{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;

    display: flex;
    justify-content: flex-end;
}


.gofood-btn{
    display: inline-flex;
    align-items: center;
    gap: 18px;

    height: 42px;
    padding: 0 16px;

    background: #029835;
    border: 3px solid #029835;
    border-radius: 999px;

    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;

    color: #ffffff;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.gofood-btn:hover{
    background: #01551d;
    color: #fff;
    transform: translateY(-2px);
}

/* Teks selalu di kiri */
.gofood-btn span{
    order: 1;
    white-space: nowrap;
}

/* Divider tengah */
.gofood-btn::after{
    content:"";
    order: 2;
    width: 2px;
    height: 60%;
    background: currentColor;
    opacity: .4;
}

/* Logo Grab di KANAN */
.gofood-btn img{
    order: 3;              /* ⬅️ ini yang memindahkan ke kanan */
    height: 30px;          /* besar */
    width: 30px;           /* fixed supaya button tidak membesar */
    object-fit: contain;
    flex-shrink: 0;
}

/* =====================
   MENU SECTION
   ===================== */
.menu-section {
    position: relative;
    padding: 0;
    background: #fff;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: var(--menu-start);     
    bottom: 0;
    left: calc(var(--divider-left) + var(--content-shift));
    width: 4px;
    background: var(--orange);
}


.menu-wrapper {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;

    /* ⬇️ KUNCI: kiri = 0 */
    padding-top: var(--menu-start);
    padding-right: var(--container-padding);
    padding-bottom: 80px;
    padding-left: var(--content-shift);
}


/* Sidebar Categories */
.menu-sidebar {
    flex: 0 0 var(--sidebar-width);
    padding-right: 24px;
    padding-left: 0;
    margin-left: -120px;

    /* ⬇️ KUNCI UTAMA */
    padding-top: var(--sidebar-offset);
}




.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-list li {
    margin: 0;
}

.cat-link {
    font-family: 'Montserrat', system-ui, sans-serif;
    display: block;
    padding: 12px 0;        /* ⬅️ sedikit lebih rapat */
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;        /* ⬅️ dari 22px → 19px */
    letter-spacing: 0.6px;  /* ⬅️ lebih halus */
    position: relative;
    transition: all 0.3s ease;
}


.cat-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--orange);
    transition: height 0.3s ease;
}

.cat-link:hover {
    padding-left: 4px;
}

.cat-link:hover::before {
    height: 20px;
}

.cat-link.active {
    gap: 16px; /* JARAK ANTAR ITEM */
    color: var(--orange);
}

.cat-link.active::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 32px;
    background: var(--orange);
}

/* Menu Divider */
.menu-divider {
    flex: 0 0 2px;
    /* height: auto;
    min-height: 600px; */
    background: var(--orange);
    margin: 0 30px;
}

/* Menu Items List */
.menu-list {
    flex: 1;
    padding-left: 56px;

    /* ⬇️ KUNCI: geser menu ke kanan */
    margin-left: 80px;
}

.menu-category {
    margin-bottom: 60px;
}

.menu-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Montserrat', system-ui, sans-serif; /* ⬅️ GANTI FONT */
    font-size: 30px;          /* sedikit lebih modern */
    font-weight: 700;
    padding-left: 0px;
    letter-spacing: 1px;      /* khas Montserrat */
    color: var(--orange);
    margin: 0 0 40px 0;
    text-transform: uppercase;
}

.items-container {
    display: grid;
    grid-template-columns: 1fr; /* ⬅️ 1 ITEM PER BARIS */
    gap: 48px; /* jarak antar menu */
    max-width: 900px; /* biar gak terlalu melebar */
}


.menu-item {
    position: relative;
    display: flex;
    gap: 30px;
    padding: 0;
    border-bottom: none;
    align-items: flex-start;
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    overflow: visible !important;
    z-index: 5;
}

.menu-item:last-child {
    border-bottom: none;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-image {
    flex: 0 0 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.05);
}

/* =====================
   TEXT BADGE (NEW / SPICY / BEST SELLER)
   ===================== */

.item-badge {
    position: absolute;
    top: -14px;
    left: -14px;
    z-index: 50;
    pointer-events: none;
}

/* Base badge */
.text-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* NEW */
.text-badge.new {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* SPICY */
.text-badge.spicy {
    background: linear-gradient(135deg, #ff1900, #c71b08);
    font-style: italic;
}

/* BEST SELLER */
.text-badge.best {
    background: linear-gradient(135deg, #f39c12, #d35400);
}


.item-details {
    flex: 1;
}

.item-name {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 24px;          /* sedikit lebih compact */
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--orange);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    max-width: 100%;
}

.item-price {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--text);
    margin: 0 0 14px 0;
}

.item-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
    max-width: 100%;
    white-space: pre-line;   /* ⬅️ KUNCI: enter di database → baris baru di browser */
}


.section,
.fade-up,
.menu-section,
.menu-wrapper,
.menu-list,
.items-container {
    overflow: visible !important;
}
