/* --- Root Variables --- */
:root {
    --primary: #1b4332; 
    --secondary: #d4a373; 
    --dark: #212529;
    --light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: var(--white);
    overflow-x: hidden; /* Mencegah scroll ke samping yang merusak tampilan HP */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* --- Navbar --- */
.navbar {
    background: transparent;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
}

.navbar.scrolled{
background: rgba(27, 67, 50, 0.95);
backdrop-filter: blur(6px);
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Gabungan Logo & Nama CV (Penyederhanaan dari kode Anda) */
.logo a {
    display: flex;
    align-items: center;
    gap: 15px; /* Jarak antara logo dan teks */
}

.logo img {
    height: 50px; 
    width: auto;
    transition: var(--transition);
}

.logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}
.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    transition: var(--transition);
}

.menu a:hover {
    color: var(--secondary);
}

/* --- Hero Section --- */
.hero {
    padding-top:80px;
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&q=80&w=1500') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Font otomatis mengecil di HP */
    margin-bottom: 20px;
}

.hero-content h1 span { color: var(--secondary); }

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212,163,115,0.4); }

.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* --- Layout Sections --- */
.section { padding: 100px 0; }
.bg-light { background: var(--light); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; color: var(--primary); }
.line { width: 60px; height: 4px; background: var(--secondary); margin: 15px auto; }

.section-value-chain-clean { text-align: center; margin-bottom: 60px; }
.section-value-chain-clean h2 { font-size: 2.2rem; color: var(--primary); }

/* --- Grids (About, Vision, Products, Team) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.vision-grid, .product-grid, .team-grid {
    display: grid;
    gap: 30px;
}

.vision-grid { grid-template-columns: 1fr 1fr; }
.product-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }

.card-style {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card-style:hover { transform: translateY(-10px); }

/* --- Contact Section (Side by Side Map) --- */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Memastikan Map di sebelah kanan */
    gap: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    align-items: stretch;
}

.contact-info { padding: 50px; }

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-list i { color: var(--secondary); font-size: 1.2rem; }

.contact-map {
    width: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Social Media --- */
.social-media { margin-top: 30px; }
.social-icons { display: flex; gap: 15px; }

.icon-box {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    font-size: 1.3rem;
    transition: var(--transition);
}

.icon-box:hover { transform: translateY(-5px); color: var(--white); }
.wa:hover { background: #25d366; }
.ig:hover { background: #e1306c; }
.tt:hover { background: #000; }

/* --- Footer --- */
footer { padding: 40px 0; background: #0d2119; color: #888; text-align: center; }

/* --- RESPONSIF (MEDIA QUERIES) --- */

@media (max-width: 1024px) {
    .product-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu { display: none; } /* Di HP, menu navigasi sebaiknya disembunyikan atau dibuat menu hamburger */
    
    .logo img { height: 40px; }
    .logo span { font-size: 1rem; }

    .about-grid, .vision-grid, .product-grid, .team-grid, .contact-box {
        grid-template-columns: 1fr; /* Semua grid jadi 1 kolom di HP */
    }

    .contact-info { padding: 30px; }
    .contact-map { min-height: 300px; }

    .section { padding: 60px 0; }
}

.vision-grid{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:40px;
text-align:center;
margin-top:50px;
}

@media (max-width: 900px){
.vision-grid{
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px){
.vision-grid{
grid-template-columns: 1fr;
}
}

.product-item{
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}

.product-item img{
width:100%;
display:block;
}

.product-item:hover{
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/*Our Premium Products*/
:root {
    --gold: #c5a059;
    --dark-green: #1a3c34;
}

/* Container Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-top: 40px;
}

/* Card Produk */
.product-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

/* Image Container */
.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover img {
    transform: scale(1.1); /* Efek zoom saat hover */
}

/* Info Box */
.p-info {
    padding: 25px;
    text-align: left;
}

.p-info h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

/* Garis dekorasi di bawah judul */
.p-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
}

.p-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tambahan Badge Export */
.export-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    color: white;
}

/*Our Value Chain: From Farm to Global Market*/
:root {
    --primary-green: #1a3c34;
    --accent-gold: #c5a059;
    --text-gray: #555;
    --bg-white: #ffffff;
}

.chain-wrapper-centered {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Membuat tinggi kartu sama rata */
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px 0;
}

.chain-card-centered {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px; /* Sudut melengkung halus sesuai gambar */
    width: 320px;
    
    /* Efek Bayangan Dasar (Sesuai Gambar) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Garis Emas di Bawah (Sesuai Gambar) */
    border-bottom: 4px solid var(--accent-gold);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Transisi Halus */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* EFEK HOVER (Saat Mouse Di Atas Kartu) */
.chain-card-centered:hover {
    /* Mengangkat kartu ke atas */
    transform: translateY(-12px); 
    
    /* Membuat bayangan lebih tebal & menyebar (efek kedalaman) */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); 
    
    /* Opsional: membuat border emas sedikit lebih terang */
    border-bottom-color: #e2bd78; 
}

.icon-frame {
    font-size: 45px;
    color: var(--primary-green);
    margin-bottom: 20px;
    /* Menghilangkan background bulat jika ingin persis kotak putih bersih */
    background: none; 
}

.chain-card-centered h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.chain-card-centered p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.chain-arrow-centered {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--accent-gold);
    margin: 0 15px;
    opacity: 0.5;
}

/* Responsif HP */
@media (max-width: 992px) {
    .chain-wrapper-centered {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .chain-arrow-centered {
        transform: rotate(90deg);
    }
}