/* General Styling */
:root {
    --primary-color: #a47551; /* Coklat Kayu */
    --secondary-color: #f3f0e9; /* Krem */
    --dark-color: #333333;
    --light-color: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Header & Navigasi */
header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Style untuk Logo dan Nama Brand */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 50px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto; 
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease; 
    border: 2px solid var(--primary-color); 
    cursor: pointer;
    font-family: var(--font-body);
}

.cta-button:hover {
    background: #8e6545;
    border-color: #8e6545;
}

/* Tombol di Hero */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; 
}

/* ============================= */
/* KODE BARU: Tombol WhatsApp */
/* ============================= */
.cta-button.cta-whatsapp {
    background: #25d366; /* Warna hijau WhatsApp */
    border: 2px solid #25d366;
    color: var(--light-color);
}

.cta-button.cta-whatsapp:hover {
    background: #1da851; /* Warna hijau sedikit lebih gelap saat hover */
    border-color: #1da851;
    color: var(--light-color);
}

.cta-button.cta-whatsapp i {
    margin-right: 8px; 
}
/* ============================= */


/* Features Section (Slider) */
.features {
    padding: 4rem 0;
    text-align: center;
}

.feature-item {
    max-width: 300px;
    margin: 0 auto; 
}
.feature-item img {
    border-radius: 50%;
    height: 80px;
    width: 80px;
    object-fit: cover;
}

.feature-item h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}

/* Product Showcase (Terlaris) */
.product-showcase {
    background: var(--secondary-color);
    padding: 4rem 0;
    text-align: center;
}

.product-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Product Catalog */
.product-catalog {
    padding: 4rem 0;
    text-align: center;
}

.product-catalog h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Style Grid Produk (Berlaku untuk Terlaris & Katalog) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-card h4, .product-card p {
    padding: 0 1.5rem;
}

.product-card h4 {
    margin-top: 1rem;
    font-size: 1.3rem;
}

.product-card p {
    flex-grow: 1; 
}

.product-button {
    display: block;
    margin: 1.5rem;
    text-align: center;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.product-button:hover {
    background: var(--primary-color);
}

/* Untuk 'Load More' */
.product-card.product-hidden {
    display: none;
}

#load-more-btn {
    display: block;
    margin: 2rem auto 0;
}


/* About Us Section */
.about-us {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 0;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}
.about-image, .about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Process Section (Slider) */
.process-section {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}
.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.process-step {
    text-align: center;
}
.process-step .process-number {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Testimonial Section (Slider) */
.testimonial-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
    text-align: center;
}
.testimonial-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.testimonial-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%; 
}
.testimonial-card .rating {
    font-size: 1.5rem;
    color: #f0ad4e;
    margin: 0 0 1rem;
}
.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-card .customer-name {
    font-weight: 700;
    color: var(--primary-color);
}

/* QnA Section (Accordion) */
.qna-section {
    padding: 4rem 0;
}
.qna-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.qna-item {
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}
.qna-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}
.qna-question::after {
    content: '+'; /* Ikon plus */
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.qna-question.active::after {
    content: '−'; /* Ikon minus */
    transform: rotate(180deg);
}
.qna-answer {
    max-height: 0; /* Jawaban tersembunyi */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.qna-answer p {
    padding: 0 0 1.5rem;
    margin: 0;
}

/* Style untuk Slider */
.swiper-slide {
  height: auto;
  padding-bottom: 40px; 
}
.swiper-pagination-bullet {
  background: var(--dark-color);
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
}

/* Bagian Kontak & Lokasi */
.contact-location-section {
    padding: 4rem 0;
    background: var(--secondary-color);
}
.contact-location-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.contact-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
.contact-info, .contact-map {
    flex: 1;
}
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
}
.info-item div {
    flex: 1;
}
.info-item strong {
    font-size: 1.1rem;
}
.info-item p {
    margin: 0;
}
.info-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}
.info-item a:hover {
    color: var(--primary-color);
}
.contact-map .map-container {
    border-radius: 8px;
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}
.map-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}
.map-button:hover {
    background-color: #8e6545;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 1.5rem 0;
}


/* =========================== */
/* KODE UNTUK TAMPILAN MOBILE  */
/* =========================== */
@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column; 
        gap: 1rem; 
        align-items: center; 
    }
    .hero-buttons .cta-button {
        width: 100%; 
        box-sizing: border-box; 
    }

    .about-us {
        flex-direction: column;
        gap: 1.5rem;
        padding: 3rem 20px;
    }

    /* "Koleksi Terlaris" (1 kolom) */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* "Katalog Produk" (2 kolom) */
    .product-grid.catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; 
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .product-showcase, .product-catalog, .contact-location-section, .process-section, .testimonial-section, .qna-section, .features {
        padding: 3rem 20px;
    }
    
    .contact-map iframe {
        height: 350px;
    }

    nav ul {
        display: none;
    }
}