/*
Theme Name:  Jamu Tamu
Theme URI:   https://yoursite.com
Author:      Your Name
Author URI:  https://yoursite.com
Description: Custom WordPress theme converted from HTML
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jamu-tamu
*/

/* ===== VARIABLES ===== */
:root {
  --green: #204B38;
  --cream: #FAF4DF;
  --orange: #E3572B;
  --white: #FFFFFF;
  --border: #5a7d6b;
  --muted: #4a6b58;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--green); background: var(--cream); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-accent { color: var(--orange); }
.text-light { color: var(--cream); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(32,75,56,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.nav-logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--cream); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 2rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: rgba(250,244,223,0.8); letter-spacing: 0.04em; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--orange); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden;
  background: var(--green);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(32,75,56,0.7); }
.hero-content { position: relative; z-index: 2; padding: 6rem 0; max-width: 720px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; color: var(--cream); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.125rem; color: rgba(250,244,223,0.8); margin-bottom: 2.5rem; max-width: 600px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 0.75rem 2rem; font-size: 0.9rem; font-weight: 600;
  border-radius: 0.375rem; transition: all 0.2s; cursor: pointer; border: 1px solid transparent;
}
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: #c74a24; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline-light { border-color: rgba(250,244,223,0.3); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: rgba(250,244,223,0.1); }

/* ===== SECTIONS ===== */
.section-dark { background: var(--green); color: var(--cream); padding: 6rem 0; }
.section-cream { background: var(--cream); color: var(--green); padding: 6rem 0; }
.section-cream h2, .section-dark h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-dark h2 { color: var(--cream); }

.paper-texture {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ===== DIVIDERS ===== */
.batik-divider {
  width: 100%; max-width: 280px; height: 1px; margin: 2rem auto;
  background: linear-gradient(90deg, transparent 0%, var(--border) 15%, var(--orange) 50%, var(--border) 85%, transparent 100%);
}
.batik-divider-dark {
  width: 100%; height: 1px; margin-bottom: 2rem;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 15%, rgba(227,87,43,0.6) 50%, rgba(255,255,255,0.15) 85%, transparent 100%);
}

/* ===== PHILOSOPHY ===== */
.philosophy-text { font-size: 1.125rem; color: var(--muted); max-width: 700px; margin: 0 auto; line-height: 1.8; }
.subtitle-light { color: rgba(250,244,223,0.6); margin-bottom: 3rem; }

/* ===== GRIDS ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 2rem; }

/* ===== FORMULA CARDS ===== */
.formula-card { text-align: center; }
.formula-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: var(--orange); }
.formula-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--cream); font-weight: 600; margin: 0.75rem 0 0.5rem; }
.formula-card p { font-size: 0.875rem; color: rgba(250,244,223,0.6); }

/* ===== RESULT CARDS ===== */
.result-card {
  border: 1px solid rgba(32,75,56,0.15); border-radius: 0.5rem; padding: 2rem; text-align: center;
  transition: box-shadow 0.3s;
}
.result-card:hover { box-shadow: 0 10px 30px rgba(32,75,56,0.1); }
.result-industry { font-size: 0.75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.result-card h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.metric { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: var(--orange); margin-bottom: 0.5rem; }
.result-label { font-size: 0.875rem; color: var(--muted); }

/* ===== FOOTER ===== */
.footer { padding: 3rem 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-serif); font-size: 1.25rem; color: var(--cream); }
.footer-copy { font-size: 0.875rem; color: rgba(250,244,223,0.6); }

/* ===== FORMULA PAGE ===== */
.phase-row { display: flex; gap: 2rem; margin-bottom: 4rem; }
.phase-row.reverse { flex-direction: row-reverse; }
.phase-meta { flex: 0 0 33%; display: flex; flex-direction: column; align-items: flex-start; }
.phase-num { font-family: var(--font-serif); font-size: 4.5rem; font-weight: 700; color: var(--orange); line-height: 1; }
.phase-title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; margin-top: 0.5rem; }
.phase-subtitle { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
.phase-items { flex: 1; border: 1px solid rgba(32,75,56,0.15); border-radius: 0.5rem; padding: 2rem; }
.phase-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.phase-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: 0.5rem; flex-shrink: 0; }

/* ===== TIMELINE ===== */
.timeline-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.timeline-card { border: 1px solid rgba(250,244,223,0.1); border-radius: 0.5rem; padding: 1.5rem; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 1rem; }
.timeline-dot.accent { background: var(--orange); }
.timeline-dot.primary { background: var(--cream); }
.timeline-day { font-size: 0.875rem; font-weight: 600; color: var(--orange); margin-bottom: 0.25rem; }
.timeline-label { font-family: var(--font-serif); font-size: 1.125rem; color: var(--cream); }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-card {
  border: 1px solid rgba(32,75,56,0.15); border-radius: 0.5rem; padding: 2.5rem; text-align: center;
  transition: box-shadow 0.3s;
}
.portfolio-card:hover { box-shadow: 0 10px 30px rgba(32,75,56,0.1); }
.portfolio-tag { font-size: 0.75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.portfolio-card h3 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.portfolio-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.portfolio-metric-row { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.portfolio-metric { text-align: center; }
.portfolio-metric-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--orange); }
.portfolio-metric-label { font-size: 0.75rem; color: var(--muted); }

/* ===== ABOUT PAGE ===== */
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 2rem; }
.value-card { border: 1px solid rgba(250,244,223,0.1); border-radius: 0.5rem; padding: 2rem; text-align: center; }
.value-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--cream); margin-bottom: 0.75rem; }
.value-card p { font-size: 0.875rem; color: rgba(250,244,223,0.6); }

/* ===== CONTACT FORM ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.875rem; font-weight: 500; }
.form-input, .form-textarea {
  padding: 0.75rem 1rem; border: 1px solid rgba(32,75,56,0.2); border-radius: 0.375rem;
  font-family: var(--font-sans); font-size: 0.9rem; background: var(--white);
  transition: border-color 0.2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--green); flex-direction: column; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.75rem 1.5rem; }
  .nav-toggle { display: block; }

  .grid-4, .grid-3, .timeline-grid, .about-values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .phase-row, .phase-row.reverse { flex-direction: column; }
  .phase-meta { align-items: center; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4, .timeline-grid { grid-template-columns: repeat(2,1fr); }
}
