/* =========================================================
   KenangaMart — Design Tokens
   Palet biru laut & langit — terinspirasi tambak dan
   perairan Kenanga, dengan aksen keemasan mangga Indramayu.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --teluk: #1D5FAD;
    --teluk-dark: #123E7A;
    --mangga: #FDB813;
    --mangga-dark: #D99A0A;
    --bara: #0B1F3A;
    --kertas: #F4F8FE;
    --daun: #4F7942;
    --teks: #101828;
    --teks-muda: #55607A;
    --putih: #FFFFFF;
    --garis: #DCE6F5;

    --font-judul: 'Poppins', sans-serif;
    --font-teks: 'Work Sans', sans-serif;

    --radius: 10px;
    --shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-teks);
    color: var(--teks);
    background: var(--kertas);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-judul);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bara);
    letter-spacing: -0.01em;
}
h1 { font-weight: 800; }

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { color: var(--teks-muda); max-width: 65ch; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teluk); color: var(--putih); }
.btn-primary:hover { background: var(--teluk-dark); }

.btn-mangga { background: var(--mangga); color: var(--bara); }
.btn-mangga:hover { background: var(--mangga-dark); }

.btn-outline { background: transparent; border-color: var(--teluk); color: var(--teluk); }
.btn-outline:hover { background: var(--teluk); color: var(--putih); }

.btn-wa { background: #25D366; color: var(--putih); }
.btn-wa:hover { background: #1DA851; }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--putih);
    border-bottom: 1px solid var(--garis);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-judul);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--teluk-dark);
}
.navbar-brand .logo-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}
.navbar-brand span { color: var(--mangga-dark); }
.navbar-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}
.navbar-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--teks);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--teluk);
    border-bottom-color: var(--mangga);
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--teluk-dark);
}

@media (max-width: 860px) {
    .navbar .container { height: 64px; }
    .navbar-brand { font-size: 1.15rem; }
    .navbar-brand .logo-mark { width: 28px; height: 28px; }
    .navbar-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--putih);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--garis);
        display: none;
        box-shadow: var(--shadow);
    }
    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: block; }
    .container { padding: 0 18px; }
}

@media (max-width: 480px) {
    .hero { padding: 40px 0 48px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .section { padding: 44px 0; }
    .card-footer { flex-direction: column; }
    .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 64px 0 80px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--kertas) 100%);
    overflow: hidden;
    position: relative;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teluk);
    margin-bottom: 12px;
}
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 1.05rem; margin-bottom: 28px; }
.text-justify-desc { text-align: justify; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual {
    position: relative;
    aspect-ratio: 4/3.2;
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -18%;
    width: 130%;
    height: 130%;
    background: linear-gradient(135deg, #E5F0FC 0%, #C9E0F8 100%);
    border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%;
    z-index: 0;
}
.hero-visual .visual-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--teluk);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .floating-badge { z-index: 3; }
.hero-visual .deco-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

/* ---------- Floating badge & avatar stack (gaya landing modern) ---------- */
.floating-badge {
    position: absolute;
    background: var(--putih);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teks);
    z-index: 3;
}
.floating-badge .badge-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--kertas);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--teluk);
}
.floating-badge .badge-value { font-family: var(--font-judul); font-size: 1.1rem; color: var(--teluk-dark); }
.floating-badge .badge-label { font-size: 0.72rem; color: var(--teks-muda); font-weight: 500; }

.avatar-stack { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-stack .avatars { display: flex; }
.avatar-stack .avatars span {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--putih);
    background: var(--teluk);
    color: var(--putih);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    margin-left: -10px;
}
.avatar-stack .avatars span:first-child { margin-left: 0; }
.avatar-stack .info { font-size: 0.82rem; color: var(--teks-muda); }
.avatar-stack .info strong { color: var(--teks); }

.secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--teks);
}
.secondary-link .play-circle {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--teluk);
    color: var(--teluk);
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Feature Grid (Kenapa KenangaMart) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-item {
    text-align: center;
    padding: 8px;
}
.feature-item .feature-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--kertas);
    color: var(--teluk);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.86rem; margin: 0 auto; }

@media (max-width: 700px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .floating-badge { padding: 9px 12px; font-size: 0.75rem; }
    .floating-badge .badge-icon { width: 28px; height: 28px; }
    .hero-visual .floating-badge[style*="right:-14px"] { right: 8px !important; }
    .hero-visual .floating-badge[style*="left:-14px"] { left: 8px !important; }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; }
}

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}
.section-header p { margin-top: 8px; }

@media (max-width: 860px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-header > a.btn,
    .section-header > .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Card Grid ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.card {
    background: var(--putih);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-img {
    aspect-ratio: 4/3;
    background: var(--garis);
    overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--teluk-dark);
    background: #E5EFFB;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
    width: fit-content;
}
.card-title { font-size: 1.05rem; margin-bottom: 6px; }
.card-price { font-weight: 700; color: var(--mangga-dark); font-size: 1.05rem; margin: 8px 0; }
.card-footer { margin-top: auto; display: flex; gap: 10px; }
.card-footer .btn { padding: 8px 16px; font-size: 0.85rem; flex: 1; justify-content: center; }

/* ---------- Filter Bar ---------- */
.filter-bar {
    background: var(--putih);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-bar input,
.filter-bar select {
    font-family: var(--font-teks);
    padding: 10px 14px;
    border: 1px solid var(--garis);
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 160px;
}
.filter-bar button { flex: none; }

/* ---------- Teknologi Highlight ---------- */
.teknologi-block {
    background: linear-gradient(120deg, #1D5FAD 0%, #2E7BD6 100%);
    color: var(--putih);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.teknologi-block h3 { color: var(--putih); }
.teknologi-block p { color: #E3EEFB; }
.teknologi-block .card-tag { background: rgba(255,255,255,0.18); color: var(--putih); }
.teknologi-block .card-img { border-radius: 18px; overflow: hidden; }
.teknologi-block .btn-mangga { background: var(--mangga); color: var(--bara); }

@media (max-width: 860px) {
    .teknologi-block { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
    background: var(--teluk);
    color: var(--putih);
    padding: 40px 0;
}
.stats-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}
.stats-strip strong { display: block; font-family: var(--font-judul); font-size: 2rem; }
.stats-strip span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Trusted strip ---------- */
.trusted-strip {
    background: var(--kertas);
    padding: 28px 0;
    border-bottom: 1px solid var(--garis);
}
.trusted-strip p {
    text-align: center;
    font-size: 0.82rem;
    color: var(--teks-muda);
    margin: 0 auto 18px;
}
.trusted-strip .trusted-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trusted-strip .trusted-row span {
    font-family: var(--font-judul);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--teluk-dark);
    opacity: 0.65;
}

/* ---------- Closing CTA (gaya "Join Today") ---------- */
.cta-closing {
    background: var(--kertas);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.cta-closing .cta-quote {
    background: var(--putih);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 20px;
    font-family: var(--font-judul);
    font-weight: 600;
    font-size: 1rem;
    color: var(--teks);
    display: inline-block;
    margin-top: 18px;
}
.cta-closing .checklist { list-style: none; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.cta-closing .checklist li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--teks); }
.cta-closing .checklist li svg { color: var(--daun); flex-shrink: 0; }
.cta-card {
    background: var(--putih);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
}
.cta-card .cta-big { font-family: var(--font-judul); font-weight: 800; font-size: 2.2rem; color: var(--teluk); }
.cta-card .cta-sub { font-size: 0.85rem; color: var(--teks-muda); margin-bottom: 20px; }

@media (max-width: 860px) {
    .cta-closing { grid-template-columns: 1fr; padding: 32px 24px; }
}

@media (max-width: 700px) {
    .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--teks-muda);
    padding: 18px 0;
}
.breadcrumb a { color: var(--teluk); }

/* ---------- Detail Page ---------- */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.detail-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--garis);
    margin-bottom: 12px;
}
.detail-gallery-thumbs { display: flex; gap: 10px; }
.detail-gallery-thumbs img {
    width: 70px; height: 70px; object-fit: cover;
    border-radius: 8px; cursor: pointer; border: 2px solid transparent;
}
.detail-gallery-thumbs img.active { border-color: var(--teluk); }

@media (max-width: 860px) {
    .detail-layout { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bara);
    color: #D8CFBF;
    padding: 56px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 36px;
    margin-bottom: 36px;
}
.footer-grid h4 { color: var(--mangga); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer-brand { font-family: var(--font-judul); color: var(--kertas); font-size: 1.3rem; margin-bottom: 10px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.82rem;
    text-align: center;
    color: #A79E90;
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Forms (Kontak) ---------- */
.form-box {
    background: var(--putih);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--garis);
    border-radius: 8px;
    font-family: var(--font-teks);
    font-size: 0.92rem;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--teks-muda);
}
