/* ============================================================
   YOSHAN COFFEE ROASTERS — Global Stylesheet
   Brand: Deep charcoal + Coffee gold (#C8860A) + Clean white
   Reference: Loring (dark industrial) + Giesen (precision)
   ============================================================ */

:root {
  --bg-dark:      #0F0F0F;
  --bg-mid:       #1A1A1A;
  --bg-card:      #222222;
  --bg-light:     #F8F4EF;
  --gold:         #C8860A;
  --gold-light:   #E8A020;
  --gold-dim:     #8B5E07;
  --white:        #FFFFFF;
  --gray-100:     #F0EDEA;
  --gray-300:     #B0A898;
  --gray-500:     #6B6259;
  --gray-700:     #3A3530;
  --text-primary: #FFFFFF;
  --text-muted:   #B0A898;
  --font-display: 'Oswald', 'Arial Black', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --radius:       4px;
  --radius-lg:    8px;
  --transition:   0.25s ease;
  --shadow-gold:  0 0 30px rgba(200,134,10,0.15);
  --max-w:        1280px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--gold); padding: 10px 0; }
.btn-ghost:hover { color: var(--gold-light); }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,134,10,0.15);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-logo-icon { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-whatsapp:hover { color: #25D366; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner1.jpg');
  background-size: cover;
  background-position: center right;
  opacity: 0.55;
  transition: opacity 0.5s;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,15,15,0.97) 0%,
    rgba(15,15,15,0.8) 45%,
    rgba(15,15,15,0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,134,10,0.12);
  border: 1px solid rgba(200,134,10,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-mid);
  border-top: 1px solid rgba(200,134,10,0.1);
  border-bottom: 1px solid rgba(200,134,10,0.1);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.4rem; }
.trust-text strong { display: block; font-size: 0.88rem; color: var(--white); font-weight: 600; }
.trust-text span { font-size: 0.75rem; color: var(--text-muted); }

/* ── Product Series Cards ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(200,134,10,0.1);
}
.series-card {
  background: var(--bg-mid);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.series-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.series-card:hover { background: #252525; }
.series-card:hover::before { transform: scaleX(1); }
.series-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.series-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.4rem; }
.series-card p { font-size: 0.9rem; margin-bottom: 24px; }
.series-range {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.series-range small { font-size: 0.75rem; color: var(--gray-300); display: block; margin-top: 2px; font-family: var(--font-body); }

/* ── Product Grid ── */
.products-bg { background: var(--bg-dark); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.04);
}
.product-card {
  background: var(--bg-mid);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-card:hover { background: var(--bg-card); }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-body { padding: 24px; }
.product-series {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.product-capacity {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.product-price small { font-size: 0.75rem; color: var(--gray-300); font-family: var(--font-body); }
.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge-hot {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── Why Yoshan ── */
.why-section { background: var(--bg-mid); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(200,134,10,0.08);
}
.why-card {
  background: var(--bg-mid);
  padding: 48px 40px;
  transition: background var(--transition);
}
.why-card:hover { background: #252525; }
.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(200,134,10,0.12);
  font-weight: 900;
  line-height: 1;
  margin-bottom: -10px;
}
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 0.9rem; }

/* ── Certifications ── */
.cert-section { background: var(--bg-dark); }
.cert-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cert-badge {
  background: var(--bg-card);
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  text-align: center;
  min-width: 120px;
}
.cert-badge .cert-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}
.cert-badge .cert-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Capacity Calculator ── */
.calc-section { background: var(--bg-mid); }
.calc-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.calc-box h3 { color: var(--white); margin-bottom: 8px; }
.calc-box p { font-size: 0.9rem; margin-bottom: 32px; }
.calc-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.calc-row label {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 160px;
  font-weight: 600;
}
.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-700);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(200,134,10,0.5);
}
.calc-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 80px;
  text-align: right;
}
.calc-result {
  background: rgba(200,134,10,0.08);
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
  text-align: center;
}
.calc-result .result-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
}
.calc-result .result-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.calc-recommendation {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--white);
}

/* ── Quote / Contact Form ── */
.quote-section { background: var(--bg-dark); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.quote-info h2 { margin-bottom: 20px; }
.quote-info p { margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--transition);
}
.contact-method:hover { border-color: var(--gold); }
.contact-method-icon { font-size: 1.4rem; min-width: 36px; text-align: center; }
.contact-method-text strong { display: block; font-size: 0.85rem; color: var(--white); }
.contact-method-text span { font-size: 0.78rem; color: var(--text-muted); }

.quote-form {
  background: var(--bg-card);
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.quote-form h3 { color: var(--white); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Footer ── */
footer {
  background: var(--bg-mid);
  border-top: 1px solid rgba(200,134,10,0.12);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.85rem; margin: 16px 0 24px; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray-500); }
.footer-certs { display: flex; gap: 12px; }
.footer-cert-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(200,134,10,0.3);
  padding: 3px 10px;
  border-radius: 3px;
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-tooltip {
  background: var(--bg-card);
  color: var(--white);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.08);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .series-grid { grid-template-columns: 1fr; gap: 2px; }
  .why-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .trust-item { padding: 12px 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-box { padding: 28px 20px; }
  .quote-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .wa-float { bottom: 20px; right: 20px; }
}
