/* ==================== GAYA GLOBAL & VARIABEL ==================== */
:root {
    --primary-color: #f27a5e; /* Warna oranye cerah untuk CTA */
    --secondary-color: #2c3e50; /* Warna abu-abu gelap untuk teks dan aksen */
    --light-color: #f8f9fa; /* Warna background section */
    --dark-color: #212529; /* Warna teks utama */
    --text-color: #6c757d; /* Warna teks sekunder */
    --border-color: #dee2e6;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* ==================== TYPOGRAFI ==================== */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== BUTTON ==================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e0684b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* ==================== HEADER & NAVIGASI ==================== */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.nav-icons a {
    color: var(--secondary-color);
}

/* ==================== HERO SECTION ==================== */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1920x1080.png?text=Hero+Image+Fashion') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==================== KATEGORI UNGGULAN ==================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.03);
}

.category-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==================== PRODUK TERBARU ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card h3 {
    margin: 15px 0 5px;
    font-size: 1.1rem;
}

.product-card .price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #1a252f;
}

/* ==================== BANNER PROMOSI ==================== */
#promo-banner {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
}

#promo-banner .section-title {
    color: #fff;
}

#promo-banner .section-subtitle {
    color: #ccc;
}

#promo-banner .btn-secondary {
    border-color: #fff;
    color: #fff;
    margin-top: 20px;
}

#promo-banner .btn-secondary:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item .feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-color);
}

/* ==================== TESTIMONI ==================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==================== NEWSLETTER ==================== */
#newsletter {
    background-color: var(--light-color);
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-family);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--secondary-color);
    color: #f1f1f1;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3, .footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li a {
    color: #b0b0b0;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.payment-methods img {
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section { padding: 60px 0; }
    .main-nav { display: none; } /* Untuk menu mobile, biasanya diganti dengan hamburger menu */
    .newsletter-form {
        flex-direction: column;
    }
}