/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F5F2E6; /* Warna cream latar belakang sesuai gambar */
    color: #C1322E; /* Warna hijau tua teks utama */
    overflow-x: hidden;
}

/* ==========================================================================
   2. FIXED NAVBAR STYLES (Membuat Navbar Stay/Diam di Atas)
   ========================================================================== */
.main-header {
    position: fixed; /* Kunci posisi agar tidak ikut ter-scroll */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 242, 230, 0.95); /* Warna latar belakang dengan transparansi tipis */
    backdrop-filter: blur(8px); /* Efek blur kaca di belakang navbar */
    padding: 20px 0;
    z-index: 1000; /* Memastikan navbar berada di layer paling depan */
    border-bottom: 1px solid rgba(193, 50, 46, 0.05); /* Garis batas tipis di bawah navbar */
}

.navbar {
    display: flex;
    justify-content: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.navbar ul li a {
    text-decoration: none;
    color: #C1322E;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.navbar ul li a.active {
    border-bottom: 3px solid #C1322E;
}

/* ==========================================================================
   3. CONTENT CONTAINER (Mencegah konten awal tertutup oleh navbar)
   ========================================================================== */
.content-container {
    margin-top: 90px; /* Jarak atas disesuaikan dengan tinggi navbar */
    min-height: calc(100vh - 90px);
    position: relative;
}

/* ==========================================================================
   4. SISTEM ANIMASI PERPINDAHAN PAGE
   ========================================================================== */
.page-section {
    display: none; /* Sembunyikan halaman secara default */
    opacity: 0;
    transform: translateY(15px); /* Efek awal sedikit bergeser ke bawah */
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ketika halaman aktif dipicu oleh JavaScript */
.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Style default untuk halaman selain beranda */
.dummy-page {
    padding: 80px 10%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dummy-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #C1322E;
    margin-bottom: 20px;
}

.dummy-page p {
    font-size: 18px;
    line-height: 1.6;
    color: #556B5C;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    padding: 40px 10%;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: #C1322E;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.5;
    color: #3D5647;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #C1322E; /* Hijau Tua */
    color: #FFFFFF;
    border: 1px solid #C1322E;
}

.btn-primary:hover {
    background-color: #9e2623;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #C1322E;
    border: 1px solid #FCC837;
}

.btn-secondary:hover {
    background-color: #FCC837;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 85%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.05); 
}

/* ==========================================================================
   7. FEATURES / GRID KEUNGGULAN
   ========================================================================== */
.features {
    padding: 0 10% 60px 10%;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background-color: #FFFFFF;
    border: 1px solid #FCC837;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.02);
}

.feature-icon {
    font-size: 36px;
    color: #C1322E;
    margin-bottom: 15px;
    opacity: 0.8;
}

.feature-box h3 {
    font-size: 16px;
    color: #C1322E;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-box p {
    font-size: 13px;
    color: #6B7C72;
    line-height: 1.4;
}

/* ==========================================================================
   8. PRODUK UNGGULAN
   ========================================================================== */
.products {
    padding: 40px 10% 80px 10%;
    text-align: center;
}

.products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #C1322E;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    text-align: center;
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.04);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 20px;
    color: #C1322E;
    font-weight: 700;
    margin-top: 10px;
}

.products-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES (Optimasi Mobile)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .features-container, .products-grid {
        grid-template-columns: repeat(2, 1fr);
        flex-direction: column;
    }
    .hero-text { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { justify-content: center; }
}

@media (max-width: 576px) {
    .features-container, .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 { font-size: 40px; }
    .navbar ul { gap: 15px; }
    .navbar ul li a { font-size: 15px; }
    .content-container { margin-top: 80px; }
}

/* ==========================================================================
   STYLE HALAMAN PROFIL (TENTANG KAMI) - SUPER RAPI & MIRIP GAMBAR
   Lanjutkan tempel kode ini di bagian paling bawah stylesheet kamu
   ========================================================================== */

/* --- 1. SEKSI UTAMA: ABOUT HERO --- */
.about-hero {
    padding: 60px 10% 40px 10%;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Jarak renggang yang pas antara teks dan gambar */
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 800;
    color: #C1322E; /* Hijau tua khas Mama Tina */
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #3D5647; /* Hijau kecokelatan untuk teks panjang */
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: 100%;
    max-width: 460px;
    height: 460px;
    border-radius: 24px; /* Sudut melengkung halus sesuai gambar */
    box-shadow: 0px 15px 35px rgba(193, 50, 46, 0.08); /* Bayangan estetik */
}

/* --- 2. SEKSI KOTAK PUTIH: ABOUT BADGES --- */
.about-badges {
    padding: 30px 10% 50px 10%;
}

.badges-container {
    background-color: #FFFFFF;
    border: 1.5px solid #FCC837; /* Warna bingkai cream keemasan tipis sesuai gambar */
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 20px; /* Padding dalam agar lega */
    text-align: center;
    box-shadow: 0px 8px 24px rgba(193, 50, 46, 0.03);
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(252, 200, 55, 0.6); /* Garis pembatas antar kolom */
    padding: 0 10px;
}

.badge-item:last-child {
    border-right: none; /* Hilangkan garis pembatas di item paling kanan */
}

.badge-icon {
    font-size: 34px;
    color: #C1322E;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kustomisasi khusus ikon panah bawah agar memiliki lingkaran luar seperti di gambar */
.badge-icon .fa-arrow-down {
    border: 3px solid #C1322E;
    border-radius: 50%;
    padding: 4px 9px;
    font-size: 22px;
    font-weight: bold;
}

.badge-item h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #C1322E;
    line-height: 1.5;
}

/* --- 3. SEKSI ALUR: PROSES PRODUKSI --- */
.production-process {
    padding: 50px 10% 100px 10%;
    text-align: center;
}

.production-process h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #C1322E;
    margin-bottom: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.process-step {
    flex: 1;
    text-align: center;
}

.step-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Memastikan gambar kotak sempurna */
    overflow: hidden;
    border-radius: 18px; /* Kelengkungan sudut gambar */
    margin-bottom: 20px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.04);
}

.step-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Efek interaktif premium saat kursor mendekati kotak proses */
.process-step:hover .step-img-wrapper img {
    transform: scale(1.06);
}

.process-step h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #C1322E;
    font-weight: 600;
    line-height: 1.4;
}

/* Mengatur posisi ikon panah (>) agar sejajar pas di tengah-tengah antar kotak gambar */
.process-arrow {
    font-size: 24px;
    color: #C1322E;
    opacity: 0.9;
    align-self: flex-start;
    margin-top: calc(10% - 12px); /* Kalkulasi otomatis menaruh panah tepat di center gambar */
}

/* --- 4. RESPONSIVE MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .about-image {
        justify-content: center;
    }
    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 30px;
    }
    .badge-item {
        border-right: none;
    }
    .process-timeline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .process-arrow {
        display: none; /* Sembunyikan tanda panah di tablet/HP agar tidak berantakan */
    }
}

@media (max-width: 576px) {
    .about-text h2 {
        font-size: 38px;
    }
    .badges-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

/* ==========================================================================
   TAMBAHAN KHUSUS: STYLE HALAMAN KATALOG PRODUK
   Lanjutkan tempel kode ini di bagian paling bawah stylesheet kamu
   ========================================================================== */

/* Container Utama Halaman Produk */
.product-catalog-section {
    padding: 60px 10% 100px 10%;
}

/* Grid layout pembentuk 3 kolom sesuai gambar referensi */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Jarak renggang antar kartu */
    margin-bottom: 60px;
}

/* Desain Kartu Box Varian Rasa */
.catalog-card {
    background-color: #FFFFFF;
    border: 1px solid #FCC837; /* Bingkai tipis warna krem keemasan */
    border-radius: 20px; /* Sudut melengkung halus */
    overflow: hidden;
    box-shadow: 0px 8px 24px rgba(193, 50, 46, 0.02); /* Bayangan super halus */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek angkat kartu sedikit saat di-hover */
.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 30px rgba(193, 50, 46, 0.06);
}

/* Pembungkus Gambar di Dalam Kartu */
.catalog-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* Perbandingan aspek landscape proporsional sesuai gambar */
    overflow: hidden;
}

.catalog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Efek zoom gambar halus saat kartu disentuh */
.catalog-card:hover .catalog-img-wrapper img {
    transform: scale(1.04);
}

/* Area Teks Informasi di Dalam Kartu */
.catalog-info {
    padding: 15px 20px 20px 20px;
    text-align: left; /* Teks rata kiri sesuai gambar referensi */
}

.catalog-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #C1322E;
    margin-bottom: 12px;
}

.catalog-info p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #556B5C; /* Warna teks deskripsi agak kalem */
}

/* Style Teks Penutup di Bagian Bawah */
.catalog-footer-text {
    text-align: center;
    max-width: 700px;
    margin: 80px auto 0 auto;
    padding: 0 20px;
}

.catalog-footer-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #C1322E;
}

/* ==========================================================================
   OPTIMASI LAYOUT RESPONSIVE (MOBILE FRIENDLY)
   ========================================================================== */
@media (max-width: 992px) {
    /* Mengubah susunan dari 3 kolom menjadi 2 kolom pada tablet */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .product-catalog-section {
        padding: 50px 5% 80px 5%;
    }
    .catalog-footer-text {
        margin-top: 60px;
    }
    .catalog-footer-text p {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    /* Menjadi 1 kolom memanjang ke bawah pada layar smartphone */
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .catalog-info {
        padding: 20px;
    }
    .catalog-info h3 {
        font-size: 22px;
    }
    .catalog-footer-text p {
        font-size: 16px;
    }
}

/* ==========================================================================
   TAMBAHAN KHUSUS: STYLE HALAMAN LOKASI & ULASAN DINAMIS (PHP)
   Lanjutkan tempel kode ini di bagian paling bawah stylesheet kamu
   ========================================================================== */

/* --- 1. AREA PETA LOKASI --- */
.location-section {
    padding: 40px 10% 20px 10%;
    text-align: center;
}

.location-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #C1322E;
    margin-bottom: 10px;
}

.location-header p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    color: #C1322E;
    font-weight: 500;
    margin-bottom: 35px;
}

.map-container {
    width: 100%;
    height: 420px;
    background-color: #F5F2E6; /* Warna abu-krem cadangan sebelum map load */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.02);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Layout Lokasi dan Kontak */
.location-contact-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: flex-start;
}

.map-container { flex: 2; height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; border-radius: 15px; }

.contact-card {
    flex: 1;
    background: #fff;
    padding: 55px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    text-decoration: none;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.contact-list a:hover { color: #C1322E; padding-left: 5px; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .location-contact-wrapper { flex-direction: column; }
    .map-container { height: 300px; width: 100%; }
}

/* --- 2. LAYOUT UTAMA SEKSI ULASAN --- */
.reviews-section {
    padding: 60px 10% 100px 10%;
}

.reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #C1322E;
    text-align: center;
    margin-bottom: 45px;
    letter-spacing: 1px;
}

.reviews-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px; /* Jarak renggang antar kolom komentar dan form */
}

/* Kolom Kiri: List Komentar */
.reviews-list {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px; /* Batas tinggi scroll agar halaman tidak kepanjangan */
    overflow-y: auto;  /* Aktifkan scrollbar internal jika komentar menumpuk banyak */
    padding-right: 10px;
}

/* Mengkustom tampilan scrollbar kolom komentar agar cantik */
.reviews-list::-webkit-scrollbar { width: 6px; }
.reviews-list::-webkit-scrollbar-thumb { background-color: #E2DEC5; border-radius: 10px; }

/* Desain Kartu Komentar */
.review-card {
    background-color: #FFFFFF;
    border: 1px solid #E2DEC5;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.01);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-card-header strong {
    font-size: 15px;
    color: #C1322E;
    font-weight: 700;
}

.review-date {
    font-size: 12px;
    color: #8C9A90;
}

.review-stars {
    margin-bottom: 10px;
}

.review-stars i {
    font-size: 14px;
    margin-right: 2px;
}

.text-amber { color: #FFC107; } /* Bintang emas kuning */
.text-light { color: #E2DEC5; } /* Bintang kosong */

.review-text-content {
    font-size: 14px;
    color: #C1322E;
    line-height: 1.5;
    font-weight: 500;
}

/* --- 3. KOLOM KANAN: FORM INPUT ULASAN --- */
.review-form-box {
    flex: 0.9;
    background-color: #FFFFFF;
    border: 1px solid #FCC837;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.01);
}

.review-form-box h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #C1322E;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-group label {
    width: 100px;
    font-size: 16px;
    font-weight: 600;
    color: #C1322E;
    padding-top: 10px;
}

.form-group input[type="text"],
.form-group textarea {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #C1322E;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: #C1322E; /* Border berubah hijau tua saat diklik */
}

/* LOGIKA INTERAKTIF INPUT BINTANG (RATING) */
.rating-input-stars {
    display: flex;
    flex-direction: row-reverse; /* Dibalik agar logika CSS hover berjalan ke kanan */
    justify-content: flex-end;
    margin-top: 5px;
}

.rating-input-stars input { display: none; } /* Sembunyikan radio default */

.rating-input-stars label {
    width: auto !important;
    padding: 0 4px !important;
    font-size: 26px;
    color: #CCCCCC;
    cursor: pointer;
    transition: color 0.2s;
}

/* Efek warna emas saat hover atau ketika bintang di-check */
.rating-input-stars input:checked ~ label,
.rating-input-stars label:hover,
.rating-input-stars label:hover ~ label {
    color: #FFC107;
}

/* --- 4. BUTTON SIMPAN/KIRIM --- */
.form-action {
    display: flex;
    justify-content: flex-end;
}

.btn-submit-review {
    background-color: #C1322E;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-review:hover {
    background-color: #9e2623;
}

.empty-review {
    color: #FF7F00;
    font-style: italic;
    text-align: center;
    padding: 30px 0;
}

/* --- 5. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .reviews-container {
        flex-direction: column;
        gap: 40px;
    }
    .reviews-list, .review-form-box {
        width: 100%;
        flex: none;
    }
    .location-header h2 { font-size: 42px; }
}

@media (max-width: 576px) {
    .location-section, .reviews-section { padding-left: 5%; padding-right: 5%; }
    .form-group { flex-direction: column; }
    .form-group label { width: 100%; margin-bottom: 6px; padding-top: 0; }
}

/* ==========================================================================
   OPTIMASI MOBILE RESPONSIVE (Mencegah patah di layar HP)
   ========================================================================== */
@media (max-width: 600px) {
    .contact-title {
        font-size: 40px;
    }
    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    .contact-buttons-list {
        max-width: 100%; /* Memenuhi layar di HP agar mudah ditekan jempol */
        padding: 0 10px;
    }
    .btn-platform {
        font-size: 18px;
        padding: 14px 20px;
    }
    .btn-platform i, .tokopedia-svg-icon {
        font-size: 22px;
        width: 22px;
        height: 22px;
        left: 20px;
    }
    .phone-link {
        font-size: 26px;
    }
    .phone-link i {
        font-size: 22px;
    }
}

/* ==========================================================================
   ANIMASI FADE-IN KHUSUS KONTEN (NAVBAR TETAP STAY / TIDAK IKUT BERUBAH)
   ========================================================================== */

/* Animasi hanya disuntikkan ke pembungkus konten utama */
.content-container {
    animation: fadeInKonten 0.4s ease-in-out forwards;
}

/* Proses transisi kepekatan halaman secara halus */
@keyframes fadeInKonten {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ==========================================================================
   ARTIKEL KAMI SECTION - SESUAI GAMBAR
   ========================================================================== */

.articles-section {
    padding: 50px 10% 70px 10%;
}

.articles-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #C1322E;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px 18px 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.10);
}

.article-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #F5F2E6;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
}

.article-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #C1322E;
    margin-bottom: 4px;
}

.article-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #556B5C;
    line-height: 1.5;
    margin-bottom: 8px;
}

.btn-readmore {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #C1322E;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-readmore::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-readmore:hover {
    color: #FCC837;
}

.btn-readmore:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .articles-section {
        padding: 40px 5% 50px 5%;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .article-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .article-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .article-image {
        width: 100%;
        height: 180px;
    }
    
    .articles-section h3 {
        font-size: 26px;
    }
    
    .article-content h4 {
        font-size: 18px;
    }
}

/* --- CSS KHUSUS HALAMAN ARTIKEL --- */

/* Wrapper Utama Halaman */
#artikel-page-wrapper {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 120px 20px 20px 20px; /* Padding atas agar tidak tertutup header */
}

/* Header (Judul & Tombol Kembali) */
.articles-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    padding: 10px 0;
}

/* Tombol Back (Panah Kiri) */
.back-btn {
    position: absolute;
    left: 0;
    color: #C1322E !important;
    text-decoration: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.back-btn:hover {
    transform: translateX(-4px);
}

/* SVG untuk tombol Back */
.back-btn svg {
    width: 32px;
    height: 32px;
    fill: #C1322E;
}

/* Judul Halaman (FONT DISESUAIKAN DENGAN HALAMAN LAIN) */
.page-title {
    font-size: 26px;
    font-weight: 700; /* Biasanya bold untuk Playfair Display */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C1322E !important;
    margin: 0 !important;
    text-align: center;
    z-index: 10;
}

/* List Artikel (Wrapper) */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Kartu Artikel Item */
.article-card-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #FCC837;
    border-radius: 16px;
    padding: 16px 20px;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(193, 50, 46, 0.02); 
}

.article-card-item:hover {
    transform: translateY(-2px);
    border-color: #C1322E;
    box-shadow: 0 8px 20px rgba(193, 50, 46, 0.06);
}

/* Kotak Gambar */
.article-img-box {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
}

.article-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Konten Teks */
.article-text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Judul di dalam kartu */
.article-text-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #C1322E !important;
    margin: 0 !important;
    line-height: 1.2;
}

/* Paragraf di dalam kartu */
.article-text-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #333 !important;
    margin: 0 !important;
    
    /* FITUR POTONG TEKS 4 BARIS */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

/* Link / Tombol Panah Hijau */
.arrow-link-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 8px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.arrow-link-box:hover {
    transform: translateX(6px);
}

/* Ikon Panah Segitiga Pakai CSS */
.arrow-icon-shape {
    width: 0; 
    height: 0; 
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 32px solid #C1322E;
}

/* Responsif untuk Mobile/Tablet */
@media (max-width: 768px) {
    #artikel-page-wrapper {
        padding: 100px 15px 60px 15px;
        margin: 0 auto;
    }

    .articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .back-btn {
        position: static;
        margin-bottom: 0px;
        padding: 0;
    }
    
    .page-title {
        font-size: 22px;
        width: 100%;
        text-align: left;
    }
    
    .article-card-item {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 14px 16px;
    }
    
    .arrow-link-box {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: 5px;
    }

    .article-img-box {
        width: 80px;
        height: 80px;
    }

    .article-text-box h3 {
        font-size: 17px;
    }
    
    .article-text-box p {
        font-size: 13px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* --- CSS KHUSUS HALAMAN TEMUKAN / MITRA --- */

/* Wrapper Utama Halaman */
#temukan-page-wrapper {
    max-width: 1100px; /* Lebih lebar untuk menampung 3 kolom */
    margin: 0 auto 80px auto;
    padding: 120px 20px 20px 20px; /* Padding atas agar tidak tertutup header */
}

/* Header Area (Judul & Tombol Kembali) */
.temukan-header-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    padding: 10px 0;
}

/* Tombol Back */
.temukan-back-btn {
    position: absolute;
    left: 0;
    color: #C1322E !important;
    text-decoration: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.temukan-back-btn:hover {
    transform: translateX(-4px);
}

.temukan-back-btn svg {
    width: 32px;
    height: 32px;
    fill: #C1322E;
}

/* Judul Utama */
.temukan-page-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #C1322E !important; /* Warna hijau tua sesuai gambar */
    margin: 0 !important;
    text-align: center;
    letter-spacing: 1px;
    z-index: 10;
}

/* Sub Judul */
.temukan-sub-title {
    text-align: center;
    font-size: 18px;
    color: #111 !important;
    margin-bottom: 40px !important;
    margin-top: 5px !important;
    font-weight: 400;
}

/* Grid Layout 3 Kolom */
.temukan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom sama rata */
    gap: 30px; /* Jarak antar kotak */
    margin-bottom: 50px;
}

/* Kartu Item Lokasi */
.temukan-card-item {
    background-color: #fff;
    border: 1px solid #FCC837;
    border-radius: 16px;
    padding: 15px 15px 20px 15px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(193, 50, 46, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.temukan-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(193, 50, 46, 0.08);
}

/* Gambar di dalam Kartu */
.temukan-card-img-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Membuat kotak gambar menjadi persegi sempurna */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.temukan-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Teks Nama Toko */
.temukan-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #C1322E !important; /* Warna hijau tua sesuai gambar */
    margin: 0 !important;
    text-align: left; /* Rata kiri seperti gambar */
    width: 100%;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Footer / Catatan Kaki */
.temukan-footer-text {
    text-align: center;
    font-size: 16px;
    color: #111 !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsif untuk Tablet & Mobile */
@media (max-width: 992px) {
    .temukan-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom di tablet */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    #temukan-page-wrapper {
        padding: 100px 15px 60px 15px;
    }

    .temukan-header-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .temukan-back-btn {
        position: static;
        padding: 0;
        margin-bottom: 5px;
    }

    .temukan-page-title {
        font-size: 22px;
        width: 100%;
        text-align: left;
    }

    .temukan-sub-title {
        font-size: 16px;
        text-align: left;
    }

    .temukan-grid {
        grid-template-columns: 1fr; /* 1 kolom di HP */
        gap: 20px;
    }

    .temukan-card-title {
        font-size: 16px;
    }

    .temukan-footer-text {
        font-size: 14px;
        text-align: center;
    }
}

/* ==========================================================================
   BACKGROUND ABSTRAK KHUSUS (TAMBAHAN PALING BAWAH)
   ========================================================================== */

/* Shape Kuning di Pojok Kanan Atas */
body::before {
    content: '';
    position: fixed;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: #C1322E;
    opacity: 0.12;
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    pointer-events: none;
}

/* Shape Oranye di Pojok Kiri Bawah */
body::after {
    content: '';
    position: fixed;
    bottom: -120px;
    left: -120px;
    width: 550px;
    height: 550px;
    background: #C1322E;
    opacity: 0.10;
    border-radius: 40% 60% 40% 60% / 50% 50% 50% 50%;
    pointer-events: none;
}

/* Shape Merah Bata Bulat di Tengah (lebih samar) */
body .bg-shape-center {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: #C1322E;
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================================================================
   BACKGROUND ABSTRAK WAJIB MUNCUL (PALING BAWAH)
   ========================================================================== */

/* Memaksa background abstrak override var(--bg-cream) */
body {
    background-color: #F5F2E6 !important;
    background-image: 
        /* Blob Kuning Besar Kanan Atas */
        radial-gradient(circle at 85% 15%, rgba(252, 200, 55, 0.20) 0%, transparent 45%),
        /* Blob Oranye Besar Kiri Bawah */
        radial-gradient(circle at 15% 85%, rgba(255, 127, 0, 0.15) 0%, transparent 45%),
        /* Blob Merah Bata Tengah */
        radial-gradient(circle at 50% 50%, rgba(193, 50, 46, 0.06) 0%, transparent 50%)
        !important;
    background-blend-mode: normal !important;
    background-attachment: fixed !important;
}

/* ===== SLIDER STYLES ===== */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f3ed;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    text-align: center;
}

.slider-slide .slide-overlay h3 {
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slider-slide .slide-overlay p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #5a3e2b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #5a3e2b;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #5a3e2b;
    border-color: #5a3e2b;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #5a3e2b;
    border-color: #5a3e2b;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        max-width: 100%;
        height: 300px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
    }
}

