/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* efek scroll halus */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fef7e8; /* warna hangat seperti kain batik */
    color: #3e2a1f;
    line-height: 1.6;
}

/* ========== PANEL SELAMAT DATANG (HERO DENGAN BACKGROUND FOTO) ========== */
.hero {
    /* Ganti URL foto di bawah dengan foto batik yang Anda inginkan */
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed; /* efek parallax sederhana */
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* overlay agar teks kontras dengan background foto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* gelap transparan */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-hero {
    background-color: #b87c4f;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    border: 1px solid #ffddb0;
}

.btn-hero:hover {
    background-color: #9b5e2e;
    transform: scale(1.05);
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #ffffffdd;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: #b87c4f;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #3e2a1f;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #b87c4f;
    border-bottom: 2px solid #b87c4f;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #b87c4f;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* ========== SECTION PRODUK & SLIDER MANUAL ========== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 40px 0 10px;
    font-family: 'Playfair Display', serif;
}

.section-title span {
    color: #b87c4f;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: #6b4c2c;
}

/* wrapper slider manual + gambar */
.produk-slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
    background: #fff6ed;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.gambar-utama {
    flex: 1.5;
    min-width: 280px;
    text-align: center;
}

.gambar-utama img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    object-fit: cover;
}

.product-caption {
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.3rem;
    background: #b87c4f20;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
}

/* slider manual (thumbnails di sebelah kanan) */
.slider-manual {
    flex: 1;
    min-width: 220px;
    background: #f5e9dd;
    padding: 20px;
    border-radius: 24px;
}

.slider-manual h3 {
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 5px solid #b87c4f;
    padding-left: 12px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    max-height: 380px;
    overflow-y: auto;
}

.thumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #eedbcb;
}

.thumb-item:hover {
    background: #e7d5c4;
    transform: translateX(5px);
}

.thumb-item.active {
    background: #b87c4f;
    color: white;
    border-color: #b87c4f;
}

.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.thumb-info {
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.slider-btn {
    background: #b87c4f;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    flex: 1;
}

.slider-btn:hover {
    background: #8b5a34;
}

/* grid produk tambahan */
.produk-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.produk-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    width: 260px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.produk-card:hover {
    transform: translateY(-8px);
}

.produk-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.produk-card h3 {
    margin: 15px 0 5px;
}

.btn-beli {
    background: #b87c4f;
    border: none;
    padding: 8px 20px;
    color: white;
    border-radius: 30px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 500;
}

/* ========== TENTANG SECTION ========== */
.tentang-section {
    background: #f3e9de;
    padding: 60px 0;
    margin: 40px 0;
}

.tentang-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.tentang-img {
    flex: 1;
}

.tentang-img img {
    width: 100%;
    border-radius: 30px;
}

.tentang-teks {
    flex: 1;
}

.tentang-teks h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.tentang-teks i {
    font-size: 2rem;
    color: #b87c4f;
    margin-top: 20px;
    display: block;
}

/* ========== KONTAK ========== */
.kontak-section {
    padding: 50px 20px;
}

.kontak-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.info-kontak p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.info-kontak i {
    width: 30px;
    color: #b87c4f;
}

.social a {
    color: #3e2a1f;
    font-size: 1.8rem;
    margin-right: 15px;
    transition: 0.2s;
}

.kontak-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontak-form input, .kontak-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: inherit;
}

.kontak-form button {
    background: #b87c4f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    background: #2d241a;
    color: #e2cfb5;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .produk-slider-wrapper {
        flex-direction: column;
    }
    .thumbnails {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .thumb-item {
        width: 130px;
    }
}