/* Variabel Warna & Reset */
:root {
    --primary: #2563eb;
    --secondary: #64748b;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Navigasi */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 25px; }

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)), 
                url('images.unsplash.com');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
}

/* Grid System */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Kartu Produk */
.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }

.card img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 20px; }

.price {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--primary);
}

/* Tim Card */
.bg-light { background: var(--light); }

.team-card {
    text-align: center;
    padding: 20px;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.role { color: var(--primary); font-size: 0.9rem; font-weight: 600; }

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* Responsive Tablet & HP */
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Untuk simple-nya menu disembunyikan */
    .hero-content h1 { font-size: 2rem; }
}

/* Tambahkan ini di bagian bawah file style.css Anda */

.btn-wa {
    display: block;
    background: #25d366; /* Warna Hijau WhatsApp */
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-wa:hover {
    background: #128c7e;
    transform: scale(1.02);
}

/* Memastikan harga dan tombol tertata rapi */
.card-body h3 {
    margin-bottom: 10px;
}

.price {
    display: block;
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Kelas Gambar Responsif Global */
.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.img-fluid {
    width: 100%;
    height: 250px; /* Tinggi seragam untuk kartu produk */
    object-fit: cover; /* Agar gambar tidak gepeng */
    display: block;
}

/* Penyesuaian Hero agar Gambar dan Teks Berdampingan */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 120px 20px 80px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}
<style>
    .swiper {
        width: 100%;
        height: auto;
        border-radius: 15px; /* Opsional: mempercantik sudut */
    }
    .swiper-slide img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
</style>

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column; /* Gambar pindah ke bawah teks di HP */
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}