/* Import Google Fonts di atas sudah ada di HTML */

/* CSS Variables untuk kemudahan kustomisasi */
:root {
    --primary-color: #d4a373; /* Coklat muda / karamel */
    --secondary-color: #faedcd; /* Krem muda */
    --dark-color: #6c584c; /* Coklat tua */
    --text-color: #333;
    --light-color: #fefae0;
    --logo-font: 'Pacifico', cursive;
    --body-font: 'Poppins', sans-serif;
}

/* Reset & Basic Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

/* Header & Navigasi */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--logo-font);
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 300%; /* 100% * jumlah slide */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--dark-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 10;
    border-radius: 5px;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section-dark {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: -2rem auto 3rem;
    color: #666;
}

/* Tentang Kami */
.tentang-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.tentang-image {
    flex: 1;
}

.tentang-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tentang-text {
    flex: 1;
}

.tentang-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Produk */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.produk-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.produk-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.produk-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: var(--dark-color);
}

.produk-card .harga {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.produk-card .deskripsi {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Kontak */
.kontak-info {
    text-align: center;
    font-size: 1.1rem;
}

.kontak-info p {
    margin-bottom: 1rem;
}

.kontak-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.kontak-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive (Untuk Tablet & Mobile) */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
    }

    header nav ul {
        padding: 1rem 0;
    }

    header nav ul li {
        margin: 0 1rem;
    }

    .tentang-content {
        flex-direction: column;
    }
}