/* style.css */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --bg-card-hover: #2a2a2a;
    --fg-primary: #f5f5f5;
    --fg-secondary: #a0a0a0;
    --fg-muted: #666666;
    --accent: #d4a574;
    --accent-light: #e8c9a8;
    --accent-dark: #b8956a;
    --border: #333333;
    --success: #25d366;
    --radius: 12px;
    --radius-lg: 20px;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary) !important;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--fg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-200px) translateX(30px); opacity: 0.5; }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--fg-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
}

.logo-sub {
    font-size: 12px;
    color: var(--fg-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav { display: flex; }
}

.nav-link {
    color: var(--fg-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover { color: var(--fg-primary); }

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fg-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 200px;
    padding: 20px;
}

.mobile-link {
    display: block;
    color: var(--fg-secondary);
    text-decoration: none;
    padding: 12px 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease forwards;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-desc {
    font-size: 18px;
    color: var(--fg-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    animation: fadeUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
}

.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--fg-secondary);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 80%;
    z-index: 0;
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual { display: block; }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(80px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), transparent);
    top: 20%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-dark), transparent);
    bottom: 30%;
    right: 30%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--fg-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-lg { padding: 18px 36px; }
.btn-full { width: 100%; }

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--fg-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Katalog */
.katalog {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-muted);
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--fg-primary);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--fg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* FIX: Ukuran Ikon Produk */
.product-icon {
    width: 80px;
    height: 80px;
    color: var(--accent);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    opacity: 1;
}

.product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--fg-primary);
}

.product-code {
    font-size: 12px;
    color: var(--fg-muted);
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-price {
    font-size: 13px;
    color: var(--fg-secondary);
    font-style: italic;
}

.btn-hubungi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--success);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-hubungi:hover {
    background: #20bd5a;
    transform: scale(1.02);
}

.btn-hubungi svg {
    width: 16px;
    height: 16px;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 48px;
}

/* Tentang */
.tentang {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.tentang-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .tentang-grid { grid-template-columns: 1fr 1fr; }
}

.tentang-text {
    font-size: 16px;
    color: var(--fg-secondary);
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--fg-secondary);
}

.tentang-card-inner {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}

.tentang-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--accent);
}

.tentang-icon-large svg {
    width: 100%;
    height: 100%;
}

.tentang-card-inner h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.tentang-card-inner p {
    color: var(--fg-secondary);
}

/* CTA */
.cta-section { padding: 80px 0; }

.cta-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--fg-secondary);
    margin-bottom: 32px;
}

/* Kontak */
.kontak {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .kontak-grid { grid-template-columns: 1fr 1fr; }
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kontak-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.kontak-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    border-radius: 12px;
    flex-shrink: 0;
}

.kontak-icon svg {
    width: 100%;
    height: 100%;
}

.kontak-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: var(--success);
}

.kontak-icon.email, .kontak-icon.location {
    background: rgba(212, 165, 116, 0.1);
    color: var(--accent);
}

.kontak-item h4 {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}

.kontak-item a, .kontak-item p {
    font-size: 15px;
    color: var(--fg-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontak-item a:hover { color: var(--accent); }

.kontak-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.kontak-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--fg-secondary);
}

.form-group input, .form-group textarea {
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--fg-primary);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-main { grid-template-columns: 2fr 1fr; }
}

.footer-desc {
    font-size: 14px;
    color: var(--fg-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--fg-primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--fg-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--fg-muted);
}

/* Floating WA */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

.wa-float:hover {
    transform: scale(1.1);
}

/* Animation Trigger Utility */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}