/* =============================================
   PT MAGNA KARYA INDOPURA — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- TOKENS --- */
:root {
  --green-deep:   #2C4A2E;
  --green-mid:    #3D6B40;
  --cream-bg:     #F7F0E3;
  --cream-card:   #FDFAF5;
  --brown-accent: #8B5E3C;
  --gold:         #C9A84C;
  --text-dark:    #1E1E1E;
  --text-mid:     #4A4A4A;
  --text-light:   #7A7A7A;
  --border:       #DDD5C4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:       4px;
  --transition:   0.25s ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream-bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- NAVIGATION --- */
.nav {
  background: var(--green-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 5%;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream-bg);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,240,227,0.75);
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream-bg);
  transition: var(--transition);
}

/* --- PAGE HEADER BANNER --- */
.page-banner {
  background: var(--green-deep);
  color: var(--cream-bg);
  text-align: center;
  padding: 72px 5% 60px;
}
.page-banner .eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream-bg);
}

/* --- SECTION WRAPPER --- */
.section {
  padding: 80px 5%;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-deep);
  margin-bottom: 20px;
}
.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 660px;
}

/* --- BOTANICAL DIVIDER --- */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 56px;
  max-width: 1100px;
  padding: 0 5%;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-icon {
  color: var(--brown-accent);
  font-size: 1.1rem;
  opacity: 0.7;
  letter-spacing: 6px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--brown-accent);
  color: #fff;
  border: 1px solid var(--brown-accent);
}
.btn-primary:hover {
  background: #7a5234;
  border-color: #7a5234;
}
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 1px solid var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--cream-bg);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream-bg);
  border: 1px solid rgba(247,240,227,0.5);
}
.btn-outline-light:hover {
  background: rgba(247,240,227,0.1);
  border-color: var(--cream-bg);
}

/* --- CARDS --- */
.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

/* --- FOOTER --- */
.footer {
  background: var(--green-deep);
  color: rgba(247,240,227,0.7);
  padding: 56px 5% 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,240,227,0.12);
  margin-bottom: 28px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream-bg);
  margin-bottom: 8px;
}
.footer-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(247,240,227,0.7);
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--cream-bg);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green-deep);
    padding: 20px 5%;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- LANGUAGE TOGGLE --- */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(247,240,227,0.4);
  color: rgba(247,240,227,0.85);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 20px;
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(247,240,227,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.wa-tooltip {
  background: var(--green-deep);
  color: var(--cream-bg);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.wa-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.wa-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* --- THANK YOU PAGE --- */
.thankyou-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5%;
  background: var(--cream-bg);
}
.thankyou-card {
  max-width: 580px;
  width: 100%;
  text-align: center;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 48px;
}
.thankyou-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1;
}
.thankyou-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.thankyou-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}
.thankyou-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}
.thankyou-next {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.thankyou-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .thankyou-card { padding: 40px 24px; }
  .wa-float { bottom: 20px; right: 20px; }
}
