/* === Variabel Warna & Pengaturan Dasar === */
:root {
    --primary-color: #E1A697; /* Soft Peach */
    --secondary-color: #F8F4F1; /* Off-White */
    --dark-color: #4A4A4A; /* Dark Grey */
    --text-color: #6B6B6B; /* Medium Grey */
    --white-color: #FFFFFF;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

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

/* === Header & Navigasi === */
.main-header {
    background-color: var(--white-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
        
.nav-icons a {
    margin-left: 1.5rem;
}

.nav-icons svg {
    width: 22px;
    height: 22px;
    fill: var(--dark-color);
}

/* === Tombol === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #d19081;
    color: var(--white-color);
    transform: translateY(-3px);
}

/* === Section Umum === */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* === Hero Section === */
.hero {
    display: flex;
    align-items: center;
    min-height: 85vh;
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 500px;
}

.hero-image img {
    border-radius: 10px;
}

/* === Grid Layouts === */
.product-grid, .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    font-family: var(--body-font);
    font-weight: 600;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0 1rem 0;
}

.price-sale {
    color: #e74c3c;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* === Halaman Detail Produk === */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.product-detail-image img {
    border-radius: 10px;
    width: 100%;
}
.product-detail-info h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.product-detail-info .product-price {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.product-detail-info p {
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-group select, .form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: var(--body-font);
}

/* === Halaman Kontak === */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.contact-form .btn {
    width: 100%;
    border: none;
}

/* === Footer === */
.main-footer {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--body-font);
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul a {
    color: var(--secondary-color);
    font-weight: 300;
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.social-links a {
    margin-right: 1rem;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5a5a5a;
    font-size: 0.9rem;
}

/* === Media Queries for Responsiveness === */
@media (max-width: 992px) {
    .hero .container, .product-detail-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        margin-top: 3rem;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Sembunyikan untuk versi simpel, butuh JS untuk hamburger menu */
    }
    .section {
        padding: 3rem 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}