/*!
 * E2-Nikah — Design Tokens & Shared Theme
 * Dipakai di seluruh aplikasi (landing, order, auth, dashboard, admin, tema undangan).
 * Sumber: folder /bahan (ASET LANDING PAGE E2-NIKAH).
 */

:root {
  /* Warna */
  --e2-primary: #A94B57;      /* Rose/Maroon - warna utama */
  --e2-primary-dark: #8A3B45;
  --e2-primary-light: #C46B76;
  --e2-gold: #D6B06F;         /* Gold - warna sekunder (nav/aksen) */
  --e2-gold-soft: #E9C8A6;    /* Gold lembut (ornamen/badge) */
  --e2-cream: #F7E9E6;        /* Cream - background section */
  --e2-cream-2: #FFF6F4;      /* Cream lebih terang - background utama */
  --e2-text: #333333;         /* Teks utama */
  --e2-text-soft: #5C4747;    /* Teks body di atas cream */
  --e2-neutral: #6D6B6B;      /* Netral/abu */
  --e2-white: #FFFFFF;

  /* Tipografi */
  --e2-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --e2-font-body: 'Poppins', -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Radius & Shadow */
  --e2-radius-pill: 999px;
  --e2-radius-card: 18px;
  --e2-shadow-soft: 0 10px 30px rgba(169, 75, 87, 0.12);
}

/* ===== Base type ===== */
.e2-heading,
.e2-font-heading {
  font-family: var(--e2-font-heading);
}
.e2-font-body,
body.e2-theme {
  font-family: var(--e2-font-body);
  color: var(--e2-text);
}

/* ===== Buttons (spek "09. BUTTONS") ===== */
.e2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--e2-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 30px;
  border-radius: var(--e2-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.e2-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.e2-btn-md { padding: 11px 22px; font-size: 14px; }
.e2-btn-icon { padding: 12px; width: 46px; height: 46px; border-radius: 14px; }

.e2-btn-primary {
  background: var(--e2-primary);
  color: var(--e2-white);
  box-shadow: var(--e2-shadow-soft);
}
.e2-btn-primary:hover { background: var(--e2-primary-dark); color: var(--e2-white); transform: translateY(-1px); }

.e2-btn-outline {
  background: transparent;
  color: var(--e2-primary);
  border-color: var(--e2-primary);
}
.e2-btn-outline:hover { background: var(--e2-primary); color: var(--e2-white); }

.e2-btn-alt {
  background: var(--e2-primary);
  color: var(--e2-white);
}

/* ===== Badge pill (hero) ===== */
.e2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--e2-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--e2-primary);
  background: var(--e2-white);
  border: 1px solid var(--e2-gold-soft);
  border-radius: var(--e2-radius-pill);
  padding: 10px 20px;
}
.e2-badge svg { width: 14px; height: 14px; }

/* ===== Divider ===== */
.e2-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0;
}
.e2-divider .line { flex: 0 0 90px; height: 1px; background: var(--e2-gold); }
.e2-divider svg { width: 18px; height: 18px; color: var(--e2-gold); }

.e2-divider-floral {
  display: block;
  max-width: 420px;
  margin: 24px auto;
  height: auto;
}

/* ===== Cards / sections ===== */
.e2-section-cream { background: var(--e2-cream-2); }
.e2-section-watercolor {
  background-image: url('../img/bg-watercolor.png');
  background-size: cover;
  background-position: center;
}
.e2-card {
  background: var(--e2-white);
  border-radius: var(--e2-radius-card);
  box-shadow: var(--e2-shadow-soft);
}

/* ===== Utility text colors ===== */
.e2-text-primary { color: var(--e2-primary); }
.e2-text-gold { color: var(--e2-gold); }
.e2-text-soft { color: var(--e2-text-soft); }
.e2-text-neutral { color: var(--e2-neutral); }
