/* ============================================================
   TRADASA — Tradisi Rasa
   style.css
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off-white: #fafaf8;
  --light-gray: #f4f4f2;
  --border: #e0dcdc;
  --gold: #b8912a;
  --gold-light: #d4af5a;
  --gold-pale: #f5edd8;
  --black: #111111;
  --dark: #222222;
  --body: #444444;
  --muted: #888888;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--black);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 6px 16px;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://picsum.photos/id/15/1600/900");
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(0.8);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: up 1s ease both;
}

h1.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(64px, 12vw, 130px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.1em;
  color: var(--white);
  animation: up 1s 0.1s ease both;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
  animation: up 1s 0.2s ease both;
}

.hero-sub {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 2rem;
  animation: up 1s 0.2s ease both;
}

.hero-tagline {
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
  animation: up 1s 0.3s ease both;
}

/* ── SHARED LABEL ── */
.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  min-height: 560px;
}

.about-text {
  padding: 6rem 4rem 6rem 3rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.95;
  margin-bottom: 3rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.stat-desc {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--body);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* ── ABOUT DECO PANEL ── */
.about-deco {
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184, 145, 42, 0.15);
}

.deco-c1 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-c2 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-c3 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(184, 145, 42, 0.3);
}

.deco-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.deco-wordmark {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.18em;
  line-height: 0.95;
  text-align: center;
}

.deco-lines {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 180px;
}

.deco-line-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deco-line-item span {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.deco-dash {
  flex: 1;
  height: 1px;
  background: rgba(184, 145, 42, 0.35);
}

.deco-badge {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  border: 1px solid rgba(184, 145, 42, 0.2);
  padding: 6px 18px;
}

/* ── KEUNGGULAN ── */
.features {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.features-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.features-top h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  color: var(--black);
  max-width: 360px;
  line-height: 1.25;
}

.features-top p {
  font-size: 13px;
  color: var(--body);
  font-style: italic;
  font-family: "Playfair Display", serif;
  max-width: 200px;
  text-align: right;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feat {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.35s;
}

.feat:last-child {
  border-right: none;
}

.feat:hover {
  background: var(--off-white);
}

.feat-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.feat h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feat p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.9;
}

/* ── FILOSOFI ── */
.philosophy {
  background: var(--black);
  padding: 8rem 3rem;
  border-top: 1px solid #222;
  position: relative;
  overflow: hidden;
}

.philosophy-mark {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 145, 42, 0.1);
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.philosophy-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.philosophy .label {
  color: var(--gold-light);
}

.philosophy-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 4.5vw, 46px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  margin: 2rem 0 4.5rem;
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
}

.vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.val {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.val:last-child {
  border-right: none;
}

.val:not(:first-child) {
  padding-left: 2rem;
}

.val-bar {
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.val h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.val p {
  font-size: 13px;
  color: #cccccc;
  line-height: 1.95;
}

/* ── MID QUOTE ── */
.mid-quote {
  padding: 6rem 3rem;
  background: var(--gold-pale);
  border-top: 1px solid var(--border);
  text-align: center;
}

.mid-quote blockquote {
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 3vw, 30px);
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.mid-quote cite {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 1.75rem;
  font-style: normal;
  text-transform: uppercase;
}

/* ── PROSES ── */
.process {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.process-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.process-top h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.2;
}

.process-top p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.95;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 0 2.5rem 0 0;
}

.step:not(:first-child) {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}

.step-n {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-dot-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.s-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.s-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.step h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.9;
}

.step-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 4px 12px;
  text-transform: uppercase;
}

/* ── FOTO PROSES — full width banner ── */
.process-banner {
  height: 460px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.process-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55) saturate(0.75);
  transition: transform 1s ease;
}

.process-banner:hover img {
  transform: scale(1.03);
}

.process-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.process-banner-text .label {
  color: var(--gold-light);
}

.process-banner-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  max-width: 640px;
}

.process-banner-text p {
  margin-top: 1.25rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  line-height: 1.85;
}

/* ── PRODUK ── */
.product {
  border-top: 1px solid var(--border);
  padding: 7rem 3rem;
  background: var(--light-gray);
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
}

.product-image-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prod-img-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.8s ease;
}

.prod-img-main:hover {
  transform: scale(1.02);
}

.prod-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prod-img-row img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.8s ease;
}

.prod-img-row img:hover {
  transform: scale(1.02);
}

.product-detail {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pack {
  width: 110px;
  height: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 12px 20px 60px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.pack-top {
  padding: 11px 8px;
  background: var(--gold);
  text-align: center;
}

.pack-top span {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--white);
  font-weight: 500;
}

.pack-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
}

.pack-name {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.06em;
}

.pack-rule {
  width: 22px;
  height: 1px;
  background: var(--gold-light);
}

.pack-type {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.pack-bot {
  padding: 8px;
  background: var(--dark);
  text-align: center;
}

.pack-bot span {
  font-size: 7px;
  letter-spacing: 0.2em;
  color: #aaaaaa;
}

.prod-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.prod-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}

.prod-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 6px 14px;
  text-transform: uppercase;
}

/* ── MPLAN ── */
.mplan {
  border-top: 1px solid var(--border);
  padding: 7rem 3rem;
  background: var(--off-white);
}

.mplan-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
}

.mplan-text-block h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.mplan-text-block p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

.mplan-text-block p:last-child {
  margin-bottom: 0;
}

.mplan-image-block {
  overflow: hidden;
  border: 1px solid var(--border);
}

.mplan-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.mplan-image-block:hover img {
  transform: scale(1.03);
}

/* ── KODE ETIK ── */
.ethics {
  border-top: 1px solid var(--border);
  padding: 7rem 3rem;
  background: var(--white);
}

.ethics-inner {
  max-width: 900px;
}

.ethics-header {
  margin-bottom: 3rem;
}

.ethics-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.ethics-header p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.95;
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.ethics-download {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.25s;
}

.ethics-download:hover {
  background: var(--gold-light);
}

.ethics-viewer {
  border: 1px solid var(--border);
  overflow: hidden;
}

.ethics-viewer iframe {
  display: block;
  border: none;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--white);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.footer-warn {
  font-size: 12px;
  color: var(--body);
  line-height: 1.9;
  text-align: right;
  max-width: 380px;
}

/* ── ANIMATION ── */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-text {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
  }

  .process-banner {
    height: 340px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-right .nav-link {
    display: none;
  }

  .features {
    padding: 4rem 1.5rem;
  }

  .features-top p {
    text-align: left;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feat:last-child {
    border-bottom: none;
  }

  .philosophy {
    padding: 5rem 1.5rem;
  }

  .vals {
    grid-template-columns: 1fr;
  }

  .val {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0 !important;
  }

  .val:last-child {
    border-bottom: none;
  }

  .mid-quote {
    padding: 4rem 1.5rem;
  }

  .process {
    padding: 4rem 1.5rem;
  }

  .process-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step {
    padding: 0 !important;
    border-left: none !important;
  }

  .process-banner {
    height: 280px;
  }

  .product {
    padding: 4rem 1.5rem;
  }

  .product-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product {
    padding: 4rem 1.5rem;
  }

  .product-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mplan {
    padding: 4rem 1.5rem;
  }

  .mplan-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ethics {
    padding: 4rem 1.5rem;
  }

  .ethics-viewer iframe {
    height: 420px;
  }

  footer {
    padding: 2.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-warn {
    text-align: left;
  }
}
