* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: #ff3e3e;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 15px;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #ff3e3e;
}

.nav-icons span {
    margin-left: 15px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-content h1 span {
    color: #ff3e3e;
}

/* Katalog / Product Section */
.products {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

.product-grid {
    display: grid !important;
    /* Memastikan 3 kolom tetap terjaga di layar lebar */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 40px; /* Jarak antar produk */
    width: 100%;
    justify-content: center;
}

/* Pastikan section products tidak membatasi lebar secara ekstrem */
.products {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tambahkan ini untuk memastikan gambar tidak 'meledak' keluar kotak */
.product-card {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
}

/* Update pada Section Title agar tidak terlalu nempel dengan foto */
.section-title {
    text-align: center;
    margin-bottom: 60px; /* Jarak judul ke katalog diperluas */
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 900;
}

/* Tambahkan Padding pada sisi kanan kiri agar tidak mepet layar */
.products {
    padding: 80px 8%; 
    max-width: 1300px;
    margin: 0 auto;
}

.product-card {
    background: #ffffff;
    transition: 0.3s;
    border: 1px solid #eeeeee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.price {
    font-weight: 700;
    color: #ff3e3e;
    margin-bottom: 15px;
    font-size: 18px;
}

.btn-cart {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-cart:hover {
    background: #ff3e3e;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
}

/* Responsif Mobile */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}