/*
Theme Name: Aloka Cipta Mandiri
Theme URI: https://alokacipta.com
Author: Sandy Aprilyanto
Author URI: https://alokacipta.com
Description: Tema Custom Premium untuk Ekspor Daun Ketapang.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, export, business
Text Domain: aloka-theme
*/
/* == PENGATURAN GLOBAL & VARIABEL == */
:root {
    /* Color Palette */
    --primary-color: #1a3c1e; /* Hijau Deep Forest */
    --secondary-color: #c5a059; /* Emas Elegan (Gold) */
    --text-color: #333333;
    --bg-light: #f9f9f7; 
    --white: #ffffff;
    
    /* Font Stack */
    --font-heading: 'Lora', serif; 
    --font-body: 'Montserrat', sans-serif; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* Typography Styling */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.text-center { text-align: center; }

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 0; 
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}
.cta-button.primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-button.outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-button.outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* == HEADER & NAV == */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
header.scrolled {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--white); font-weight: 700; letter-spacing: 1px;
}
.logo img { height: 40px; }
.logo span { font-size: 1.1rem; }
header.scrolled .logo { color: var(--primary-color); }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a {
    text-decoration: none; color: var(--white); font-size: 0.9rem;
    font-weight: 500; text-transform: uppercase; transition: color 0.3s;
}
header.scrolled nav ul li a { color: var(--primary-color); }
nav ul li a:hover { color: var(--secondary-color); }

.nav-btn { border: 1px solid var(--white); padding: 8px 20px; }
header.scrolled .nav-btn { border-color: var(--primary-color); }

.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 2px; background-color: var(--white); margin: 5px; transition: 0.3s; }
header.scrolled .burger div { background-color: var(--primary-color); }

/* == HERO SECTION == */
#hero {
    position: relative; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: -1;
}
.hero-content { max-width: 800px; padding: 0 20px; z-index: 1; }
.hero-content .subtitle {
    display: block; font-size: 1rem; letter-spacing: 3px; margin-bottom: 10px; font-weight: 600; color: var(--secondary-color);
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; max-width: 600px; margin: 0 auto 40px auto; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* == TRUST BAR == */
#trust-bar { background-color: var(--primary-color); color: var(--white); padding: 40px 0; }
.trust-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; divide-x: 1px solid rgba(255,255,255,0.2);
}
.trust-item h3 { color: var(--secondary-color); font-size: 2rem; margin-bottom: 5px; font-family: var(--font-body); }
.trust-item p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

/* == ABOUT SECTION == */
#about { padding: 100px 0; background-color: var(--bg-light); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: #555; margin-bottom: 25px; }
.features-list { display: grid; gap: 15px; margin-bottom: 30px; }
.f-item { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.text-link {
    color: var(--primary-color); text-decoration: none; font-weight: 700;
    border-bottom: 2px solid var(--secondary-color); padding-bottom: 2px;
}
.about-image .img-box { position: relative; }
.about-image img {
    width: 100%; border-radius: 4px; box-shadow: 20px 20px 0px var(--secondary-color);
}

/* == PROCESS SECTION == */
#process { padding: 100px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.process-step { text-align: center; padding: 20px; }
.step-number {
    font-size: 3rem; font-weight: 700; color: rgba(0,0,0,0.05);
    line-height: 1; margin-bottom: -20px; position: relative; z-index: -1;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--primary-color); }
.process-step p { font-size: 0.95rem; color: #666; }

/* == PRODUCT SECTION (NEW GRID 4) == */
#product { padding: 100px 0; background-color: var(--bg-light); }
#product .section-header { text-align: center; margin-bottom: 50px; }

/* Grid 4 Kolom Baru */
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Style Kartu Minimalis */
.product-card.minimal {
    border: none;
    background: transparent;
    transition: transform 0.3s ease;
}

.product-card.minimal:hover {
    transform: translateY(-10px);
}

/* Kotak Gambar Transparan */
.card-image-transparent {
    height: 280px; /* Tinggi seragam */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff; /* Putih bersih */
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    /* Sedikit shadow halus */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.card-image-transparent img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Memberi efek bayangan realistis pada daun PNG */
    filter: drop-shadow(5px 10px 10px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

.product-card.minimal:hover .card-image-transparent img {
    transform: scale(1.1) rotate(2deg); /* Efek zoom & miring sedikit saat hover */
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.size-tag {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.desc {
    font-size: 0.85rem;
    color: #888;
}

.center-btn { text-align: center; }

/* == EXPORT SECTION == */
#export { padding: 80px 0; background-color: var(--white); }
.export-box {
    background-color: var(--primary-color); color: var(--white);
    padding: 60px; display: flex; justify-content: space-between; align-items: center; border-radius: 4px;
}
.export-text h2 { color: var(--white); }
.export-text p { opacity: 0.8; margin-bottom: 20px; }
.cert-icons { display: flex; gap: 15px; flex-wrap: wrap; }
.c-item {
    background: rgba(255,255,255,0.1); padding: 5px 15px;
    border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.3);
}

/* == CONTACT SECTION == */
#contact {
    padding: 100px 0;
    /* Ganti gambar background ini dengan salah satu daun jika mau, atau biarkan pattern */
    background: #222; 
    position: relative;
}
.contact-wrapper { position: relative; z-index: 2; text-align: center; color: var(--white); }
.contact-content h2 { color: var(--white); }
.contact-content p { color: #ddd; margin-bottom: 40px; }
.contact-details { display: flex; justify-content: center; gap: 50px; }
.detail-item { display: flex; flex-direction: column; }
.detail-item strong { color: var(--secondary-color); margin-bottom: 5px; }
.detail-item a, .detail-item span { color: var(--white); text-decoration: none; }

/* == FOOTER == */
footer {
    background-color: #111; color: #888; padding: 40px 0; border-top: 3px solid var(--secondary-color);
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.f-logo h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.f-logo p { font-size: 0.8rem; }
.f-copyright p { font-size: 0.8rem; }

/* == RESPONSIVE == */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .trust-grid { grid-template-columns: 1fr; gap: 20px; divide-x: 0; divide-y: 1px solid rgba(255,255,255,0.2); padding: 0 20px; }
    .about-layout { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    
    /* Responsif untuk Product Grid 4 */
    .product-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 15px; } /* Jadi 2 kolom di tablet/HP */
    .card-image-transparent { height: 200px; padding: 10px; }
    
    .export-box { flex-direction: column; text-align: center; gap: 30px; padding: 40px 20px; }
    .contact-details { flex-direction: column; gap: 30px; }
    
    /* Mobile Nav */
    .burger { display: block; }
    nav ul {
        position: absolute; right: 0; top: 60px; background-color: var(--white);
        height: 100vh; width: 70%; flex-direction: column; align-items: center; justify-content: flex-start;
        padding-top: 50px; transform: translateX(100%); transition: 0.5s ease; box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    nav ul li { margin: 20px 0; }
    nav ul li a { color: var(--primary-color); }
    .nav-btn { border-color: var(--primary-color); }
    .nav-active { transform: translateX(0%); }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--primary-color); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--primary-color); }
}