:root {
    --cake-pink: #ffbdc4;
    --cake-yellow: #faae2b;
    --cake-blue: #8bd3dd;
    --cake-purple: #a683dd;
    --border-black: 3px solid #000;
    --neo-shadow: 8px 8px 0px #000;
}
html {
    scroll-behavior: smooth;
}
section,
h2[id] {
    scroll-margin-top: 200px;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Mono', monospace;
    background-color: #fdf6ec;
    color: #000;
}

/* =============================
   STICKY HEADER
============================== */
.top-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fdf6ec;
}

/* Running Text */
.marquee-banner {
    background-color: var(--cake-yellow);
    padding: 8px 0;
    border-bottom: var(--border-black);
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-content {
    white-space: nowrap;
    padding-right: 50px; /* jarak antar loop */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: var(--border-black);
    background-color: #fff;
}

.logo {
    font-family: 'Comfortaa', sans-serif;
    font-size: 20px;
    font-weight: 600;
    background: var(--cake-pink);
    padding: 6px 16px;
    border: var(--border-black);
    box-shadow: 4px 4px 0 #000;
    color: #000;
    text-decoration: none;

    display: inline-flex;
    align-items: center;

    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    cursor: pointer;
}


.btn-order {
    background-color: var(--cake-blue);
    border: var(--border-black);
    padding: 8px 18px;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    box-shadow: 4px 4px 0px #000;
    cursor: pointer;
    transition: 0.1s;
}

.btn-order:active {
    box-shadow: 0 0 0 #000;
    transform: translate(4px, 4px);
}

/* =============================
   CONTENT
============================== */
.container {
    max-width: 1100px;
    margin: 18px auto;   /* sebelumnya 40px → dirapatkan */
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-family: 'Comfortaa', sans-serif;
    font-size: 32px;

    margin-top: 10px;    /* ⬅ rapat ke atas */
    margin-bottom: 30px;/* sedikit dirapikan */

    background: var(--cake-purple);
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 20px;
    border: var(--border-black);
    box-shadow: 6px 6px 0px #000;
}

/* Grid Produk */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}

.cake-card {
    background: #fff;
    border: var(--border-black);
    box-shadow: var(--neo-shadow);
}


.cake-card:hover {
    transform: scale(1.02);
}


.cake-image {
    width: 100%;
}

.cake-image img {
    width: 100%;
    height: auto;
    display: block; /* WAJIB biar tidak ada space aneh */
}
/* Info (tetap disimpan, meski disembunyikan) */
.cake-info {
    padding: 15px;
    text-align: center;
}

.cake-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.cake-price {
    background: var(--cake-yellow);
    display: inline-block;
    padding: 4px 15px;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 16px;
}


/* =============================
   FOOTER
============================== */
footer {
    background: #000;
    color: #fff;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =============================
   ANCHOR MENU
============================== */
.anchor-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    background: #fff;
    border-bottom: var(--border-black);
}

.anchor-menu a {
    text-decoration: none;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    color: #000;
    padding: 6px 14px;
    border: 2px solid #000;
    box-shadow: 3px 3px 0px #000;
    background: var(--cake-blue);
    transition: 0.1s;
}

.anchor-menu a:active {
    box-shadow: 0 0 0 #000;
    transform: translate(3px, 3px);
}

/* =============================
   MOBILE OPTIMIZATION
============================== */
@media (max-width: 768px) {

    header {
        padding: 12px 16px;
    }

    .logo {
        font-size: 16px;
        padding: 4px 10px;
    }

    .btn-order {
        padding: 6px 14px;
        font-size: 13px;
    }

    .anchor-menu {
        gap: 10px;
        padding: 8px 10px;
    }

    .anchor-menu a {
        font-size: 13px;
        padding: 6px 10px;
        box-shadow: 2px 2px 0px #000;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
        padding: 4px 14px;
        box-shadow: 4px 4px 0px #000;
    }

    /* GRID MOBILE: 1 KOLOM (FIX) */
    .price-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Fokus gambar penuh */
    .cake-info {
        display: none;
    }

    .cake-image {
        aspect-ratio: 4 / 5;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
}

.wa-icon {
    width: 20px;
    height: 20px;
    display: block;
}
.logo.ig-only {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-family: 'Comfortaa', sans-serif;
    font-size: 20px;

    background: var(--cake-pink);
    padding: 6px 14px;
    border: var(--border-black);
    box-shadow: 4px 4px 0 #000;

    color: #000;
    text-decoration: none;
}

.logo.ig-only img {
    width: 18px;   /* SAMA KECIL DENGAN WA */
    height: 18px;
    object-fit: contain;
    display: block;
}

.logo.ig-only:active {
    box-shadow: 0 0 0 #000;
    transform: translate(4px, 4px);
}
.scroll-btn {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 6px;

    background: #000;
    color: #fff;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    padding: 10px 14px;

    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.scroll-btn:active {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 #000;
}
/* =============================
   TESTIMONI CAROUSEL (STABIL)
============================== */

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    touch-action: pan-y;
}

/* TRACK */
.testimonial-track {
    display: flex;
    will-change: transform;
    transition: transform 0.45s ease;
}

/* CARD */
.testimonial-card {
    flex: 0 0 auto;
    width: 250px;        /* ⬅ dari 280px → 250px */
    margin-right: 18px;  /* ⬅ sedikit dipersempit */

    background: #fff;
    border: var(--border-black);
    box-shadow: var(--neo-shadow);
}

/* IMAGE */
.testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* DOT */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.testimonial-dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border: 2px solid #000;
    cursor: pointer;
}

.testimonial-dots span.active {
    background: var(--cake-yellow);
}

/* MOBILE */
@media (max-width: 667px) {
    .testimonial-card {
        width: 210px;     /* dari 240px → 210px */
        margin-right: 14px;
    }
}