
/* =====================================================
   RUMAH MAKAN SIANG MALAM TEBET
   MENU PAGE CSS FINAL

   All colors use global semantic variables from style.css
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--color-background-dark);

    color: var(--color-text);

    font-family: var(--font-body);

    overflow-x: hidden;

    opacity: 0;

    transition:
        opacity .6s ease;
}


body.page-loaded {
    opacity: 1;
}


img {

    display: block;

    max-width: 100%;

    height: auto;

    user-select: none;

    -webkit-user-drag: none;
}


a {

    color: inherit;

    text-decoration: none;
}


button {

    border: none;

    background: none;

    cursor: pointer;

    font-family: inherit;
}


ul {
    list-style: none;
}


/* =====================================================
   GLOBAL LAYOUT
===================================================== */

.container {

    width:
        min(90%, var(--container-width));

    margin: auto;
}


section {

    position: relative;

    overflow: hidden;
}


.section {

    padding:
        120px 0;
}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4 {

    font-family:
        var(--font-heading);

    font-weight:
        500;

    line-height:
        .95;
}


h1 {

    font-size:
        clamp(
            70px,
            8vw,
            145px
        );
}


h2 {

    font-size:
        clamp(
            42px,
            5vw,
            80px
        );
}


h3 {
    font-size: 34px;
}


h4 {
    font-size: 24px;
}


p {
    line-height: 1.8;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.section-label {

    display: block;

    color: var(--color-secondary-light);

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        5px;

    text-transform:
        uppercase;

    margin-bottom:
        20px;
}


.section-title h2 {

    margin-bottom:
        25px;
}


.section-title span {

    color: var(--color-secondary-light);

    font-style:
        italic;
}


.section-description {

    max-width:
        700px;

    color: var(--color-text-muted);

    font-size:
        15px;

    line-height:
        1.9;
}


/* =====================================================
   BUTTON
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    font-size: 11px;

    font-weight: 600;

    border-radius: 50px;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: var(--transition);

    line-height: 1;

    white-space: nowrap;
}

.btn-gold {

    background: var(--gold);

    color: var(--maroon-deep);
}


.btn-gold:hover {

    background: var(--gold-light);

    transform: translateY(-3px);
}


.btn-outline {

    border: 1px solid rgba(212,177,106,.6);

    background: transparent;

    color: var(--gold-light);
}


.btn-outline:hover {

    background: var(--gold);

    color: var(--maroon-deep);
}




/* =====================================================
   HERO MENU
===================================================== */

.menu-hero {
    background-image: url("../images/menu/menubg_rendang.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: background-position;
}


/* =====================================================
   CATEGORY NAVIGATION
===================================================== */

.menu-navigation {

    position: static;

    top:
        var(--menu-sticky-top, 72px);

    z-index: 900;

    background: rgba(36, 7, 13, 0.96);

    backdrop-filter:
        blur(15px);

    border-top: 1px solid var(--color-border-light);

    border-bottom: 1px solid var(--color-border-light);
}


.menu-navigation .container {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap:
        35px;

    padding:
        22px 0;
}


.menu-navigation a {

    position: relative;

    color: var(--color-text-light);

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        3px;

    text-transform:
        uppercase;

    transition:
        .3s ease;
}


.menu-navigation a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: var(--color-secondary-light);

    transition:
        .3s ease;
    opacity: 0;
}


.menu-navigation a:hover,
.menu-navigation a.active {

    color: var(--color-secondary-light);
}


.menu-navigation a.active::after {

    width:
        0;
    opacity: 0;
}


/* =====================================================
   MENU PAGE
===================================================== */

.menu-page {

    position: relative;

    padding:
        140px 0 120px;

    background:
        linear-gradient(
            180deg,
            var(--cream),
            var(--white)
        );

    color: var(--color-primary-dark);
}


.menu-page::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .04;

    background:
        radial-gradient(
            circle,
            #000 1px,
            transparent 1px
        );

    background-size:
        28px 28px;

    pointer-events: none;
}


/* =====================================================
   MENU LAYOUT
===================================================== */

.menu-layout {

    position: relative;

    display: grid;

    grid-template-columns:
        320px 1fr;

    gap:
        70px;

    align-items: start;
}


/* =====================================================
   SIDEBAR CATEGORY
===================================================== */

.menu-sidebar {

    position: sticky;

    top: 120px;

    background:
        var(--white);

    border-radius:
        20px;

    overflow:
        hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
}


.sidebar-title {

    padding:
        35px;

    background:
        linear-gradient(
            135deg,
            var(--maroon-dark),
            var(--maroon)
        );

    color:
        var(--white);
}


.sidebar-title h3 {

    font-size:
        34px;

    margin-bottom:
        10px;
}


.sidebar-title p {

    color:
        rgba(255,255,255,.7);

    font-size:
        13px;
}


.menu-category-list li {

    border-bottom:
        1px solid #eee;
}


.menu-category-list li:last-child {

    border-bottom:
        none;
}


.menu-category-list a {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding:
        20px 30px;

    color:
        var(--maroon-dark);

    font-size:
        13px;

    font-weight:
        600;

    letter-spacing:
        1px;

    transition:
        .35s ease;
}


.menu-category-list a:hover,
.menu-category-list a.active {

    background: var(--cream-light);

    color:
        var(--gold-dark);

    padding-left:
        40px;
}


.menu-category-list span {

    color:
        #999;

    font-size:
        11px;
}


/* =====================================================
   MENU CONTENT
===================================================== */

.menu-content {

    display: flex;

    flex-direction:
        column;

    gap:
        100px;
}


.menu-category {

    scroll-margin-top:
        130px;
}


.premium-menu-grid {

    display:
        grid;

    gap:
        0;

    border-top:
        1px solid rgba(212,177,106,.12);
}


.premium-menu-item {

    display:
        flex;

    flex-direction:
        column;

    gap:
        6px;

    padding:
        18px 0 20px;

    border-bottom:
        1px solid rgba(212,177,106,.10);

    transition:
        transform .25s ease,
        color .25s ease;
}


.premium-menu-item:hover {

    transform:
        translateX(4px);
}


.premium-menu-item h4 {

    margin:
        0;

    color:
        var(--gold-light);

    font-size:
        22px;

    font-weight:
        500;

    line-height:
        1.3;

    letter-spacing:
        .02em;
}


.premium-menu-item p {

    margin:
        0;

    color: var(--white);

    font-size:
        13px;

    line-height:
        1.7;
}


/* =====================================================
   CATEGORY HEADER
===================================================== */

.category-header {

    text-align:
        center;

    margin-bottom:
        60px;
}


.category-header span {

    display:
        block;

    color:
        var(--gold);

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        5px;

    text-transform:
        uppercase;

    margin-bottom:
        15px;
}


.category-header h2 {

    color:
        var(--maroon-dark);

    margin-bottom:
        20px;
}


.category-header p {

    max-width:
        650px;

    margin:
        auto;

    color:
        var(--gray-dark);

    font-size:
        15px;

    line-height:
        1.9;
}


/* =====================================================
   MENU GRID
===================================================== */

.menu-items {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        30px;
}


/* =====================================================
   PREMIUM MENU CARD
===================================================== */

.menu-card {

    background:
        var(--white);

    border-radius:
        18px;

    overflow:
        hidden;

    border:
        1px solid rgba(184,146,74,.12);

    box-shadow:
        0 15px 40px rgba(0,0,0,.06);

    transition:
        .45s ease;

    transform-style:
        preserve-3d;
}


.menu-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 35px 70px rgba(0,0,0,.15);

    border-color:
        rgba(184,146,74,.35);
}


/* =====================================================
   MENU IMAGE
===================================================== */

.menu-card-image {

    width:
        100%;

    height:
        300px;

    overflow:
        hidden;

    background:
        #eee;
}


.menu-card-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1);

    transition:
        transform .8s ease;

    will-change:
        transform;
}


.menu-card:hover .menu-card-image img {

    transform:
        scale(1.12);
}


/* =====================================================
   MENU CARD BODY
===================================================== */

.menu-card-body {

    padding:
        30px;
}


.menu-card-title {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        15px;

    margin-bottom:
        15px;
}


.menu-card-title h3 {

    font-size:
        30px;

    color:
        var(--maroon-dark);
}


.menu-card-title span {

    color:
        var(--gold-dark);

    font-size:
        11px;

    letter-spacing:
        2px;

    text-transform:
        uppercase;
}


.menu-card-body p {

    color:
        var(--gray-dark);

    font-size:
        14px;

    line-height:
        1.8;
}


/* =====================================================
   FULL WIDTH MENU CARD
===================================================== */

.menu-card-wide {

    grid-column:
        1 / -1;
}


.menu-card-wide .menu-card-image {

    height:
        420px;
}


/* =====================================================
   MENU LIST STYLE
===================================================== */

.menu-list {

    display:
        flex;

    flex-direction:
        column;

    border-top:
        1px solid rgba(212,177,106,.12);
}


.menu-list-item {

    position:
        relative;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        20px;

    padding:
        20px 0;

    border-bottom:
        1px solid rgba(212,177,106,.12);

    transition:
        .35s ease;
}


.menu-list-item + .menu-list-item {

    border-top:
        1px solid rgba(212,177,106,.10);
}


.menu-list-item:last-child {

    border-bottom:
        1px solid rgba(212,177,106,.12);
}


.menu-list-item:hover {

    padding-left:
        15px;
}


.menu-list-item::before {

    content:
        "";

    position:
        absolute;

    left:
        -25px;

    width:
        20px;

    height:
        1px;

    background:
        var(--gold);

    opacity:
        0;

    transition:
        .35s ease;
}


.menu-list-item:hover::before {

    opacity:
        1;
}


.menu-list-item h4 {

    font-size:
        22px;

    color:
        var(--maroon-dark);
}


.menu-list-item p {

    margin-top:
        5px;

    font-size:
        13px;

    color:
        var(--gray-dark);
}


.menu-list-item .price {

    color:
        var(--gold-dark);

    font-weight:
        600;

    white-space:
        nowrap;
}


/* =====================================================
   SIGNATURE SECTION
===================================================== */

.signature-section {

    position:
        relative;

    padding:
        150px 0;

    background:
        linear-gradient(
            135deg,
            var(--maroon-deep),
            var(--color-primary-dark),
            var(--maroon-deep)
        );

    overflow:
        hidden;
}


.signature-section::before {

    content:
        "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    border:
        1px solid rgba(212,177,106,.08);

    top:
        -220px;

    right:
        -220px;
}


.signature-section::after {

    content:
        "";

    position:
        absolute;

    width:
        350px;

    height:
        350px;

    border-radius:
        50%;

    border:
        1px solid rgba(212,177,106,.05);

    bottom:
        -150px;

    left:
        -150px;
}


/* =====================================================
   SIGNATURE GRID
===================================================== */

.signature-grid {

    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    width:
        100%;

    gap:
        80px;

    align-items:
        center;
}


/* =====================================================
   SIGNATURE IMAGE
===================================================== */

.signature-image {

    position:
        relative;

    height:
        720px;

    overflow:
        hidden;
}


.signature-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform .9s ease;

    backface-visibility:
        hidden;
}


.signature-image:hover img {

    transform:
        scale(1.07);
}


.signature-image::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            to top,
            var(--overlay-maroon-medium),
            transparent 50%
        );

    z-index:
        1;
}


.signature-image::after {

    content:
        "";

    position:
        absolute;

    inset:
        25px;

    border:
        1px solid rgba(212,177,106,.45);

    z-index:
        2;
}


/* =====================================================
   SIGNATURE CONTENT
===================================================== */

.signature-content {

    position:
        relative;

    z-index:
        2;

    width:
        100%;

    max-width:
        560px;

    box-sizing:
        border-box;
}


.signature-label {

    display:
        inline-block;

    margin-bottom:
        20px;

    color:
        var(--gold-light);

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        5px;

    text-transform:
        uppercase;
}


.signature-content h2 {

    color:
        var(--white);

    font-size:
        clamp(
            42px,
            5vw,
            72px
        );

    line-height:
        .95;

    margin-bottom:
        30px;
}


.signature-content h2 span {

    color:
        var(--gold-light);

    font-style:
        italic;
}


.signature-content p {

    color:
        rgba(255,255,255,.7);

    font-size:
        15px;

    line-height:
        2;

    margin-bottom:
        30px;
}


/* =====================================================
   SIGNATURE FEATURES
===================================================== */

.signature-features {

    display:
        grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:
        25px;

    margin:
        45px 0;
}


.signature-feature {

    display:
        flex;

    gap:
        18px;

    align-items:
        flex-start;

    padding:
        20px;

    border:
        1px solid rgba(212,177,106,.15);

    transition:
        .4s ease;
}


.signature-feature:hover {

    border-color:
        rgba(212,177,106,.5);

    transform:
        translateY(-6px);
}


.signature-feature-icon {

    width:
        48px;

    height:
        48px;

    flex-shrink:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    border:
        1px solid rgba(212,177,106,.45);

    color:
        var(--gold-light);
}


.signature-feature h4 {

    font-size:
        18px;

    color:
        var(--white);

    margin-bottom:
        5px;
}


.signature-feature p {

    margin:
        0;

    font-size:
        13px;

    color:
        rgba(255,255,255,.6);

    line-height:
        1.6;
}


/* =====================================================
   CHEF QUOTE
===================================================== */

.chef-quote {

    position:
        relative;

    margin-top:
        50px;

    padding-left:
        30px;
}


.chef-quote::before {

    content:
        "";

    position:
        absolute;

    left:
        0;

    top:
        0;

    height:
        100%;

    width:
        3px;

    background:
        var(--gold);
}


.chef-quote p {

    font-family:
        var(--font-heading);

    font-size:
        30px;

    font-style:
        italic;

    color:
        var(--cream);

    line-height:
        1.5;
}


.chef-quote span {

    display:
        block;

    margin-top:
        15px;

    color:
        var(--gold-light);

    font-size:
        11px;

    letter-spacing:
        4px;

    text-transform:
        uppercase;
}


/* =====================================================
   SIGNATURE BUTTON
===================================================== */

.signature-content .btn {

    margin-top:
        20px;
}


/* =====================================================
   SIGNATURE CARD
   IMAGE + CONTENT FULL WIDTH
===================================================== */

.signature-card {

    position:
        relative;

    width:
        100%;

    min-width:
        0;

    border-radius:
        30px !important;

    overflow:
        hidden !important;

    isolation:
        isolate;

    clip-path:
        inset(
            0 round 30px
        );
}


.signature-card img {

    display:
        block;

    width:
        100%;

    height:
        420px;

    object-fit:
        cover;

    object-position:
        center;

    border-radius:
        0 !important;

    transform:
        scale(1);

    transform-origin:
        center center;

    transition:
        transform 1.2s cubic-bezier(.22,1,.36,1);

    will-change:
        transform;

    backface-visibility:
        hidden;
}


.signature-card:hover img {

    transform:
        scale(1.12);
}


.signature-card .signature-content {

    position:
        relative;

    z-index:
        2;

    display:
        block;

    width:
        100%;

    max-width:
        none;

    margin:
        0;

    padding:
        24px 24px 28px;

    box-sizing:
        border-box;

    background:
        var(--maroon);
}


.signature-card .signature-content span {

    display:
        block;

    margin-bottom:
        8px;

    font-size:
        12px;

    font-weight:
        600;

    letter-spacing:
        2px;
}


.signature-card .signature-content h3 {

    margin:
        0 0 10px;

    font-size:
        24px;

    line-height:
        1.2;
}


.signature-card .signature-content p {

    margin:
        0;

    font-size:
        15px;

    line-height:
        1.7;
}


/* =====================================================
   RESTAURANT FEATURE STRIP
===================================================== */

.restaurant-feature {

    padding:
        80px 0;

    background:
        var(--maroon-dark);
}


.feature-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        30px;
}


.feature-box {

    text-align:
        center;

    padding:
        35px 20px;

    border:
        1px solid rgba(212,177,106,.15);

    transition:
        .4s ease;
}


.feature-box:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(212,177,106,.5);
}


.feature-number {

    display:
        block;

    font-family:
        var(--font-heading);

    font-size:
        60px;

    color:
        var(--gold-light);

    line-height:
        1;

    margin-bottom:
        15px;
}


.feature-box span {

    color:
        rgba(255,255,255,.75);

    font-size:
        12px;

    letter-spacing:
        3px;

    text-transform:
        uppercase;
}


/* =====================================================
   SIMA EXPERIENCE
===================================================== */

.coffee-experience {

    position:
        relative;

    padding:
        180px 0;

    background-image:
        url("../images/cafe/floor-2.png");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    background-attachment:
        fixed;
}


.experience-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            var(--overlay-maroon-medium),
            var(--overlay-maroon-dark)
        );
}


.experience-center {

    position:
        relative;

    z-index:
        2;

    max-width:
        760px;

    margin:
        auto;

    text-align:
        center;
}


.experience-center h2 {

    color:
        #fff;

    margin-bottom:
        30px;

    line-height:
        .95;
}


.experience-center h2 span {

    color:
        var(--gold-light);

    font-style:
        italic;
}


.experience-center p {

    max-width:
        620px;

    margin:
        auto;

    color:
        rgba(255,255,255,.85);

    line-height:
        2;

    font-size:
        15px;
}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.reveal {

    opacity:
        0;

    transform:
        translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.active {

    opacity:
        1;

    transform:
        translateY(0);
}


/* =====================================================
   DESSERT SECTION
===================================================== */

.dessert-section {

    position:
        relative;

    padding:
        150px 0;

    background:
        linear-gradient(
            180deg,
            var(--cream),
            var(--white)
        );

    color:
        var(--maroon-deep);
}


.dessert-header {

    text-align:
        center;

    margin-bottom:
        80px;
}


.dessert-header .section-label {

    color:
        var(--gold-dark);
}


.dessert-header h2 {

    font-size:
        clamp(
            42px,
            5vw,
            72px
        );

    margin-bottom:
        20px;
}


.dessert-header h2 span {

    color:
        var(--gold-dark);

    font-style:
        italic;
}


.dessert-header p {

    max-width:
        700px;

    margin:
        auto;

    color:
        var(--gray-dark);

    line-height:
        1.9;
}


/* =====================================================
   DESSERT GRID
===================================================== */

.dessert-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        35px;
}


/* =====================================================
   DESSERT CARD
===================================================== */

.dessert-card {

    background:
        var(--white);

    overflow:
        hidden;

    border-radius:
        18px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

    transition:
        .45s ease;

    transform-style:
        preserve-3d;
}


.dessert-card:hover {

    transform:
        translateY(-12px);

    box-shadow:
        0 40px 80px rgba(0,0,0,.15);
}


.dessert-image {

    height:
        320px;

    overflow:
        hidden;

    background:
        #eee;
}


.dessert-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform .8s ease;
}


.dessert-card:hover img {

    transform:
        scale(1.08);
}


/* =====================================================
   DESSERT CONTENT
===================================================== */

.dessert-content {

    padding:
        35px;
}


.dessert-content h3 {

    color:
        var(--maroon-dark);

    font-size:
        32px;

    margin-bottom:
        15px;
}


.dessert-content p {

    color:
        var(--gray-dark);

    font-size:
        14px;

    line-height:
        1.8;
}


/* =====================================================
   DESSERT LIST
===================================================== */

.dessert-list {

    margin-top:
        25px;
}


.dessert-list li {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin-bottom:
        14px;

    font-size:
        14px;

    color:
        var(--maroon-dark);
}


.dessert-list li::before {

    content:
        "";

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        var(--gold);
}


/* =====================================================
   DESSERT FEATURE STRIP
===================================================== */

.dessert-feature {

    margin-top:
        100px;

    padding:
        60px;

    background:
        var(--maroon-dark);

    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        40px;
}


.dessert-feature-item {

    text-align:
        center;
}


.dessert-feature-item strong {

    display:
        block;

    font-family:
        var(--font-heading);

    font-size:
        55px;

    color:
        var(--gold-light);

    margin-bottom:
        10px;
}


.dessert-feature-item span {

    font-size:
        11px;

    letter-spacing:
        3px;

    text-transform:
        uppercase;

    color:
        rgba(255,255,255,.7);
}


.reservation-buttons {

    display:
        flex;

    justify-content:
        flex-start;

    align-items:
        center;

    gap:
        16px;

    margin-top:
        45px;

    flex-wrap:
        wrap;
}

.reservation-buttons .btn {
    min-width: 220px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--color-primary-dark);

    padding-top:
        80px;
}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        50px;
}


.footer-column {

    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;
}


.footer-column h4 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        32px;

    color:
        var(--gold);

    margin-bottom:
        25px;
}


.footer-column a,
.footer-column p {

    color:
        rgba(244,241,235,.7);

    font-size:
        14px;

    transition:
        .35s ease;
}


.footer-column a:hover {

    color:
        var(--gold);

    transform:
        translateX(8px);
}


.footer-bottom {

    margin-top:
        60px;

    padding:
        25px 0;

    text-align:
        center;

    border-top:
        1px solid rgba(255,255,255,.1);
}


.footer-bottom p {

    color:
        rgba(244,241,235,.5);
}


/* =====================================================
   PERFORMANCE IMAGE CONTROL
===================================================== */

.menu-card img,
.dessert-card img,
.signature-image img {

    backface-visibility:
        hidden;

    transform:
        translateZ(0);

    object-position:
        center;
}


/*
   NOTE:
   .signature-card img tidak digabung ke selector
   di atas karena memiliki transform scale()
   untuk efek zoom hover.
*/


/* =====================================================
   PAGE LOADER
===================================================== */

#pageLoader {

    position:
        fixed;

    inset:
        0;

    background:
        var(--maroon-deep);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    z-index:
        99999;

    opacity:
        1;

    visibility:
        visible;

    transition:
        opacity .6s ease,
        visibility .6s ease;
}


#pageLoader.hide {

    opacity:
        0;

    visibility:
        hidden;
}

#pageLoader img {


    width:
        120px;


    animation:
        loaderPulse 2s infinite;

}

/* =====================================================
   MOBILE OVERLAY
===================================================== */




/* =====================================================
   LARGE DESKTOP
===================================================== */

@media(min-width:1600px) {

    .container {

        max-width:
            1400px;
    }


    .category-header h2 {

        font-size:
            72px;
    }
}


/* =====================================================
   LAPTOP OPTIMIZATION
===================================================== */


@media(max-width:1366px) {

    .section {

        padding:
            100px 0;
    }


    .menu-layout {

        gap:
            50px;
    }


    .signature-grid {

        gap:
            60px;
    }


    .signature-image {

        height:
            620px;
    }
}


/* =====================================================
   TABLET LANDSCAPE
===================================================== */

@media(max-width:1024px) {

    .menu-layout {

        grid-template-columns:
            280px 1fr;

        gap:
            40px;
    }


    .menu-sidebar {

        position:
            relative;

        top:
            auto;
    }


    .menu-items {

        grid-template-columns:
            repeat(2,1fr);
    }


    .signature-grid {

        grid-template-columns:
            1fr;

        gap:
            60px;
    }


    .signature-image {

        height:
            600px;
    }


    .feature-grid {

        grid-template-columns:
            repeat(2,1fr);
    }


    .dessert-grid {

        grid-template-columns:
            repeat(2,1fr);
    }


    .dessert-feature {

        grid-template-columns:
            repeat(2,1fr);
    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }
}


/* =====================================================
   TABLET SMALL
===================================================== */

@media(max-width:900px) {

    .menu-navigation {

        top:
            70px;
    }


    .menu-navigation .container {

        justify-content:
            flex-start;

        overflow-x:
            auto;

        flex-wrap:
            nowrap;

        gap:
            16px;

        padding:
            16px 20px;

        scrollbar-width:
            none;
    }


    .menu-navigation .container::-webkit-scrollbar {

        display:
            none;
    }


    .menu-navigation a {

        white-space:
            nowrap;

        font-size:
            10px;

        letter-spacing:
            2px;

        padding:
            6px 0;
    }
}


/* =====================================================
   MOBILE NAVBAR
===================================================== */

@media(max-width:768px) {

    body {

        font-size:
            14px;
    }


    body.menu-open {

        overflow:
            hidden;
    }


    .menu-hero,
    .footer {

        background-attachment:
            scroll;
    }


    .menu-navigation {

        position: sticky;

        top:
            var(--menu-sticky-top, 72px);

        z-index:
            15;

        padding:
            0;
    }

    .signature-grid {

        display:
            flex;

        flex-wrap:
            nowrap;

        gap:
            20px;

        overflow-x:
            auto;

        scroll-snap-type:
            x mandatory;

        scroll-behavior:
            smooth;

        -webkit-overflow-scrolling:
            touch;
    }

    .signature-card {

        flex:
            0 0 100%;

        max-width:
            100%;

        scroll-snap-align:
            start;
    }

    .signature-card img {

        height:
            260px;
    }

    .navbar-container > .btn {

        display: inline-flex;
    }


    h1 {

        letter-spacing:
            -1px;
    }


    h2 {

        letter-spacing:
            -.5px;
    }


    .section-label {

        font-size:
            10px;

        letter-spacing:
            3px;
    }


    .btn {

        width:
            100%;

        max-width:
            280px;
    }

    .navbar-container > .btn {

        width: auto;

        max-width: none;
    }


    .menu-navigation .container {

        justify-content:
            flex-start;
    }


    .signature-section {

        padding:
            90px 0;
    }


    .signature-image {

        height:
            260px;
    }


    .signature-features {

        grid-template-columns:
            1fr;
    }


    .chef-quote {

        padding-left:
            20px;
    }


    .chef-quote p {

        font-size:
            24px;
    }


    .dessert-section {

        padding:
            90px 0;
    }


    .dessert-grid{

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    }


    .dessert-image{

    height:140px;

    }


    .dessert-content{

    padding:14px;

    }

    .dessert-content h3{

    font-size:18px;

    }

    .dessert-feature {

        grid-template-columns:
            1fr;

        padding:
            40px 25px;
    }


    .coffee-experience {

        padding:
            120px 0;

        background-attachment:
            scroll;
    }


    .footer {

        padding:
            70px 0 30px;
    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            40px;
    }

    .menu-items{

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    }

    .menu-card-image{

    height:150px;

    }

    .menu-card-body{

    padding:14px;

    }


    .menu-card-title h3{

    font-size:18px;

    }

    .menu-card-body p{

    font-size:12px;

    line-height:1.5;

    }


}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:390px) {

    .container {

        width:
            88%;
    }


    .category-header h2 {

        font-size:
            32px;
    }


    .menu-card-title h3 {

        font-size:
            24px;
    }


    .signature-content h2 {

        font-size:
            34px;
    }


    .dessert-header h2 {

        font-size:
            36px;
    }


    .footer h4 {

        font-size:
            22px;
    }
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

a:focus-visible,
button:focus-visible {

    outline:
        2px solid var(--gold-light);

    outline-offset:
        4px;
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }
}


/* =====================================================
   PRINT CLEANUP
===================================================== */

@media print {

    *,
    *::before,
    *::after {

        animation:
            none !important;

        transition:
            none !important;
    }


    .whatsapp-floating,
    .back-to-top,
    .mobile-menu-btn,
    .mobile-overlay {

        display:
            none !important;
    }
}



/* =====================================================
   FINAL IMAGE OPTIMIZATION
===================================================== */

.gallery-image{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    cursor:pointer;

}

/* =====================================================
   FINAL END
   RUMAH MAKAN SIANG MALAM TEBET
   MENU PAGE CSS COMPLETE
===================================================== */
