:root {
    /* Colors */
    --primary: #154734; /* Dark Forest Green */
    --primary-light: #206B4E;
    --primary-dark: #0D2C20;
    --secondary: #D4AF37; /* Metallic Gold */
    --secondary-light: #E5C765;
    --accent-red: #D32F2F;
    --accent-blue: #1976D2;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Typography Utils */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, #FFF3B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold { color: var(--secondary); }
.text-white { color: var(--bg-white); }
.text-gray { color: #CBD5E1; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.d-inline-block { display: inline-block; }

.section-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(21, 71, 52, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bg-white);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--secondary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: var(--bg-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 999;
    padding: 100px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 20px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    color: var(--bg-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-nav-links .btn {
    text-align: center;
    margin-top: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('images/hero_bg.png') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 44, 32, 0.9) 0%, rgba(13, 44, 32, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero-text h1 {
    font-size: 4rem;
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text p {
    color: #E2E8F0;
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-top: 80px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.direksi-quote {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.5;
    margin: 30px 0;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--secondary);
}

.direksi-quote i {
    color: var(--secondary);
    opacity: 0.3;
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: 20px;
}

.direksi-signature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    font-size: 3rem;
    color: var(--text-gray);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(21, 71, 52, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.card-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Visi Misi Section */
.visi-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.visi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.visi-icon {
    font-size: 4rem;
    color: var(--secondary);
}

.visi-card p {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-top: 10px;
}

.misi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.misi-item {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border-top: 4px solid var(--primary);
}

.misi-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: -65px auto 20px;
    border: 4px solid var(--bg-light);
}

.misi-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(21, 71, 52, 0.05);
}

.misi-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.misi-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Core Values (ARTHA) */
.values-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.values-header .section-subtitle {
    color: var(--secondary);
}

.value-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.value-letter {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.value-content h3 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.value-content p {
    color: #CBD5E1;
}

/* Products Section */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse .product-info {
    direction: ltr;
}

.product-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.cpo-bg {
    background-image: url('images/cpo_image.png'); /* placeholder golden oil */
}

.hapo-bg {
    background-image: url('images/hapo_image.png'); /* placeholder industrial */
}

.product-info {
    padding: 50px;
}

.product-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.app-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
}

.app-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th, .spec-table td {
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.spec-table th {
    background-color: var(--primary);
    color: var(--bg-white);
    font-weight: 500;
}

.spec-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Quality & Distribution */
.qd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.qd-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.qd-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.qd-header i {
    font-size: 2.5rem;
}

.qd-header h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.qd-item {
    margin-bottom: 25px;
}

.qd-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.badges-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.badge-box {
    flex: 1;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.badge-box h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 5px;
}

.badge-box span {
    font-weight: 600;
    color: var(--text-gray);
}

.dist-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    background: var(--primary);
    padding: 20px;
    border-radius: 15px;
    color: var(--bg-white);
}

.d-icon {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.d-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('images/cta_bg.png') center/cover fixed;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 44, 32, 0.85);
}

.cta-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-title {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #CBD5E1;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-values {
    display: flex;
    gap: 20px;
}

.footer-values span {
    font-weight: 600;
    color: var(--secondary);
    position: relative;
}

.footer-values span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: var(--text-gray);
}

/* Animations (Intersection Observer) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.appear,
.fade-in-left.appear,
.fade-in-right.appear {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 3rem; }
    .about-grid, .values-wrapper, .qd-grid { grid-template-columns: 1fr; }
    .misi-grid { grid-template-columns: repeat(2, 1fr); }
    .product-showcase { grid-template-columns: 1fr; }
    .product-showcase.reverse { direction: ltr; }
    .product-image { min-height: 300px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-features { flex-wrap: wrap; gap: 20px; }
    .misi-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-values { flex-wrap: wrap; justify-content: center; }
    .dist-icons { flex-direction: column; gap: 30px; }
}
