/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Variabel Warna */
:root {
    --primary-color: #28a745; /* Hijau Segar */
    --secondary-color: #ffc107; /* Kuning Cerah */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

/* Pengaturan Dasar */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #555;
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Navigasi */
.navbar {
    transition: all 0.4s ease;
}
.navbar-brand strong {
    color: var(--primary-color);
}
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.hero-section h1,
.hero-section .lead {
    /* Format: horizontal-shadow vertical-shadow blur-radius color */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.47)), url('../images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
}
.hero-section .btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

/* Testimoni Card */
.testimoni-card {
    background-color: var(--light-color);
    border: 0;
    border-radius: 15px;
}
.testimoni-card img {
    border: 3px solid var(--primary-color);
}

/* Kontak */
#kontak ul {
    list-style: none;
    padding: 0;
}
#kontak ul li {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
}