/* Base Styles & Variables */
:root {
    --primary-color: #8B5A2B;
    --primary-dark: #5C3A21;
    --secondary-color: #D2B48C;
    --accent-color: #F5DEB3;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #FAF9F6;
    --white: #FFFFFF;
    --wa-green: #25D366;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--primary-dark); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.w-full { width: 100%; display: block; }
.btn-primary, .btn-secondary, .btn-outline, .btn-order {
    display: inline-block; padding: 12px 24px; border-radius: 4px; font-weight: 600;
    transition: all 0.3s ease; cursor: pointer; font-family: var(--font-sans); text-align: center;
}
.btn-primary { background-color: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { background-color: var(--white); color: var(--primary-color); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.9); }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-order { background-color: transparent; color: var(--primary-color); border: 1.5px solid #e0d5c7; width: 100%; margin-top: auto; border-radius: 6px; padding: 12px 20px; font-size: 0.95rem; }
.btn-order:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--white); }
.header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { opacity: 0; transition: opacity 0.5s ease-in-out; font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: #AA0000; }
.logo.visible { opacity: 1; }
.nav a { margin: 0 15px; font-weight: 500; color: var(--text-main); transition: color 0.3s; }
.nav a:hover { color: var(--primary-color); }
.nav .btn-outline { margin-left: 15px; padding: 8px 16px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary-dark); }
.hero { height: 100vh; display: flex; align-items: center; text-align: center; color: var(--white); padding-top: 80px; }
.hero-content { max-width: 800px; }
.hero h1 { color: var(--white); font-size: 4rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.hero-cta { display: flex; gap: 20px; justify-content: center; }
.about { padding: 100px 0; background-color: var(--white); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 20px; font-size: 1.1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.stat-box { background-color: var(--bg-light); padding: 40px 20px; text-align: center; border-radius: 8px; border-bottom: 4px solid var(--primary-color); }
.stat-box h3 { font-size: 3rem; color: var(--primary-color); margin-bottom: 10px; }
.catalog { padding: 100px 0; }
.section-header { max-width: 620px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { color: var(--text-light); font-size: 1.1rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px; }
.product-card { background: var(--white); border: 1px solid #ece7e0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.product-card:hover { transform: translateY(-6px); border-color: #ddd2c4; box-shadow: 0 18px 38px rgba(0,0,0,0.10); }
/* contain: seluruh bagian produk tampil utuh, tidak ada sisi yang terpotong */
.product-img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 18px; transition: transform 0.7s ease; }
.product-card:hover .product-img { transform: scale(1.04); }
.product-info { padding: 26px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-info h3 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.product-info p { color: var(--text-light); margin-bottom: 25px; font-size: 0.95rem; }
.contact { padding: 100px 0; background-color: var(--white); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info > p { color: var(--text-light); margin-bottom: 40px; font-size: 1.1rem; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-item .icon { font-size: 24px; margin-right: 20px; margin-top: 5px; }
.contact-item h4 { font-size: 1.2rem; margin-bottom: 5px; }
.contact-item p { color: var(--text-light); }
.map-container { height: 400px; border-radius: 8px; overflow: hidden; }
.footer { background-color: var(--primary-dark); color: var(--white); padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: var(--white); font-size: 2rem; margin-bottom: 15px; }
.footer-brand h4 { color: var(--white); }
.footer-brand .contact-item p { color: var(--white); opacity: 0.85; }
.footer-brand p { opacity: 0.8; }
.footer-about { margin-bottom: 25px; max-width: 460px; line-height: 1.7; }
.footer-links h4 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links a { display: block; margin-bottom: 10px; opacity: 0.8; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.7; font-size: 0.9rem; }
@media (max-width: 992px) { .about-container, .contact-container { grid-template-columns: 1fr; } .hero h1 { font-size: 3rem; } }
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav.active { display: flex; }
    .nav a { margin: 10px 0; text-align: center; }
    .nav .btn-outline { margin: 10px 0 0 0; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; }
}
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bg-light); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: background-color 1s ease-in-out, opacity 1s ease-in-out; }
#preloader.fade-out { background-color: transparent; pointer-events: none; }
.preloader-logo { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-serif); font-size: 5rem; font-weight: 700; color: #AA0000; white-space: nowrap; z-index: 10000; transition: all 1s ease-in-out; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
#wood-overlay { position: absolute; top: -10%; right: -5%; width: 110%; height: 120%; background-color: #D2B48C; background-image: repeating-linear-gradient(45deg, #D2B48C 0px, #D2B48C 10px, #C19A6B 10px, #C19A6B 20px); border-radius: 4px; transition: width 2s ease-in-out; }
#wood-plane-container { position: absolute; top: 50%; left: -15%; transform: translate(-50%, -50%); transition: left 2s ease-in-out, opacity 0.5s ease-in-out; z-index: 2; }
.wood-plane-svg { filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3)); }
.shaving-curl { transform-origin: 60px 70px; animation: curlOut 0.5s infinite linear; }
@keyframes curlOut { 0% { transform: scale(0) rotate(0deg); opacity: 1; } 50% { transform: scale(1) rotate(-90deg); opacity: 1; } 100% { transform: scale(1.5) rotate(-180deg); opacity: 0; } }
.preloader-logo.reveal #wood-overlay { width: 0; }
.preloader-logo.reveal #wood-plane-container { left: 115%; opacity: 1; }
.preloader-logo.move-to-corner { top: 40px; left: calc(max(20px, (100vw - 1200px) / 2 + 20px)); transform: translate(0, -50%); font-size: 24px; }
.preloader-logo.move-to-corner #wood-overlay, .preloader-logo.move-to-corner #wood-plane-container { display: none; }
.hero-badge { display: inline-block; background-color: rgba(255, 255, 255, 0.2); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3); }
.highlight { color: var(--accent-color); }
.hero-features { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.feature-item { font-size: 1rem; font-weight: 500; }
.bg-light { background-color: #F9F7F3; }
.bg-dark { background-color: var(--primary-dark); color: white; }
.profile { padding: 100px 0; }
.profile-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.profile-img-wrapper { position: relative; }
.profile-img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background-color: var(--primary-color); color: white; padding: 20px; border-radius: 50%; text-align: center; width: 120px; height: 120px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.experience-badge .number { font-size: 2rem; font-weight: 700; line-height: 1; }
.experience-badge .text { font-size: 0.8rem; }
/* --- Galeri Proses Pengerjaan --- */
.workshop-gallery { margin-top: 100px; }
.workshop-gallery-head { text-align: center; max-width: 640px; margin: 0 auto 45px; }
.workshop-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-color); margin-bottom: 12px; }
.workshop-eyebrow::before, .workshop-eyebrow::after { content: ""; display: inline-block; width: 28px; height: 1px; background-color: var(--primary-color); vertical-align: middle; margin: 0 12px; opacity: 0.5; }
.workshop-gallery-head h3 { font-size: 2.1rem; margin-bottom: 12px; }
.workshop-gallery-head p { color: var(--text-light); }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.workshop-item { background-color: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.07); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.workshop-item:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(0,0,0,0.13); }
.workshop-img-box { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background-color: #ede8e1; }
.workshop-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.workshop-item:hover .workshop-img-box img { transform: scale(1.07); }
.workshop-img-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 45%); pointer-events: none; }
.workshop-step { position: absolute; top: 16px; left: 16px; z-index: 2; background-color: var(--primary-color); color: var(--white); font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.workshop-item figcaption { padding: 24px 22px 28px; }
.workshop-item figcaption h4 { font-size: 1.2rem; margin-bottom: 8px; }
.workshop-item figcaption p { color: var(--text-light); font-size: 0.93rem; margin: 0; }

.section-title-left { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary-dark); }
.profile-content p { margin-bottom: 15px; color: var(--text-light); }
.profile-list { list-style: none; margin-top: 20px; }
.profile-list li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.profile-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); }
/* Persegi: menampung foto tegak maupun melebar dengan sisa ruang paling seimbang */
.product-img-box { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background-color: #f1ece5; }
.product-img-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #a89c8c; font-size: 0.9rem; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--primary-color); color: white; padding: 5px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,0.18); }
.product-info .desc { font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

/* Spesifikasi: baris bersih tanpa kotak berwarna */
.specs { font-size: 0.875rem; margin-bottom: 24px; border-top: 1px solid #efeae3; }
.specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid #efeae3; }
.specs dt { color: var(--text-light); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; flex-shrink: 0; }
.specs dd { margin: 0; text-align: right; color: var(--primary-dark); font-weight: 500; }
.testimonials { padding: 80px 0; }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testi-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.testi-img { width: 100%; height: 300px; object-fit: cover; }
.testi-content { padding: 30px; }
.stars { color: #FFD700; margin-bottom: 15px; font-size: 1.2rem; }
.testi-content p { font-style: italic; margin-bottom: 15px; color: var(--text-light); }
.testi-content h4 { color: var(--primary-color); margin-top: 10px; font-family: var(--font-sans); font-size: 1rem; }
.info-section { padding: 60px 0; background-color: var(--primary-dark); color: white; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.info-box .icon { font-size: 2.5rem; margin-bottom: 15px; }
.info-box h3 { color: var(--accent-color); margin-bottom: 10px; }
.info-box p { opacity: 0.8; font-size: 0.95rem; }
.blog { padding: 100px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.blog-img { width: 100%; height: 250px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-date { font-size: 0.85rem; color: var(--primary-color); font-weight: 600; display: block; margin-bottom: 10px; }
.blog-content h3 { font-size: 1.3rem; margin-bottom: 15px; }
.blog-content p { color: var(--text-light); margin-bottom: 20px; }
.read-more { font-weight: 600; color: var(--primary-dark); font-size: 0.9rem; }
.read-more:hover { color: var(--primary-color); }
.custom-order { padding: 100px 0; }
.custom-order-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.co-text h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.co-text p { opacity: 0.8; margin-bottom: 30px; font-size: 1.1rem; }
.co-contact { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.wa-number { font-size: 2.5rem; color: var(--wa-green); font-family: var(--font-sans); margin-top: 5px; font-weight: 700; }
.co-form { background: white; padding: 40px; border-radius: 8px; color: var(--text-main); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-sans); font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.map-section { position: relative; }
.map-section iframe { display: block; width: 100%; }
/* Menutupi kartu info bawaan Google (yang kerap gagal memuat) dengan tombol sendiri */
.map-open-btn { position: absolute; top: 0; left: 0; z-index: 2; min-width: 330px; display: flex; align-items: center; gap: 12px; background-color: var(--white); padding: 14px 22px 14px 18px; border-bottom-right-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: background-color 0.3s; }
.map-open-btn:hover { background-color: var(--bg-light); }
.map-open-icon { font-size: 1.4rem; line-height: 1; }
.map-open-text { display: flex; flex-direction: column; line-height: 1.35; font-size: 0.95rem; color: var(--primary-color); font-weight: 600; }
.map-open-text strong { font-family: var(--font-serif); font-size: 1.05rem; color: var(--primary-dark); font-weight: 700; }
@media (max-width: 480px) { .map-open-btn { min-width: 0; width: 100%; padding: 12px 16px; border-bottom-right-radius: 0; } }
.floating-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: var(--wa-green); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; transition: transform 0.3s ease; }
.floating-wa:hover { transform: scale(1.1); }
@media (max-width: 992px) { .profile-container, .testi-grid, .blog-grid, .custom-order-container { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr; } .experience-badge { right: 20px; } .hero-features { flex-direction: column; gap: 10px; } .workshop-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .workshop-gallery { margin-top: 70px; } .workshop-gallery-head h3 { font-size: 1.7rem; } }

/* Admin Login Modal */
.login-modal { display: none; position: fixed; z-index: 10001; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); justify-content: center; align-items: center; }
.login-modal-content { background-color: #fefefe; padding: 30px; border-radius: 8px; width: 350px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); position: relative; font-family: var(--font-sans); }
.close-login { position: absolute; top: 10px; right: 15px; color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; }
.close-login:hover { color: #333; }
.login-modal-content h3 { margin-bottom: 20px; text-align: center; color: var(--primary-dark); }
.logo { cursor: pointer; }
