/* Ayu Makeup Studio · warna & font ikut brand/brand.md */
:root {
  --plum: #3B2433;       /* Plum Malam: teks utama */
  --mauve: #9E6B7E;      /* Mauve Pengantin: butang, highlight */
  --mauve-dark: #85566A;
  --rose: #E8C9C4;       /* Rose Bedak: latar lembut */
  --champagne: #C9A86A;  /* Champagne: aksen kecil sahaja */
  --pearl: #FAF6F4;      /* Putih Mutiara: latar utama */
  --white: #FFFFFF;
  --muted: #6E5664;

  --serif: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(59, 36, 51, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--plum);
  background: var(--pearl);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

h1 em, .logo em { font-style: italic; color: var(--mauve); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  margin: 0 0 0.75rem;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--mauve);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--mauve);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}
.btn:hover { background: var(--mauve-dark); border-color: var(--mauve-dark); }
.btn:focus-visible { outline: 3px solid var(--champagne); outline-offset: 3px; }

.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; }

.btn-light { background: var(--pearl); color: var(--plum); border-color: var(--pearl); }
.btn-light:hover { background: var(--rose); border-color: var(--rose); }

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

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }
.cta-row.center { justify-content: center; }

/* ---------- Navigasi ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rose);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--mauve); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.trust li::before { content: "✦ "; color: var(--champagne); }

.hero-img { margin: 0; position: relative; }
.hero-img::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--champagne);
  border-radius: 200px 200px var(--radius) var(--radius);
}
.hero-img img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
}

/* ---------- Section ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--rose); }
.section-tint .eyebrow { color: var(--plum); }

/* ---------- Pakej ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.card h3 { font-size: 1.35rem; }
.price {
  font-family: var(--serif);
  font-size: 2.6rem;
  margin: 0 0 1rem;
  line-height: 1;
}
.price span { font-size: 1rem; vertical-align: top; margin-right: 2px; font-family: var(--sans); font-weight: 600; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 6px 0; border-top: 1px solid var(--pearl); }
.card li::before { content: "✓ "; color: var(--mauve); font-weight: 600; }

.card-featured { background: var(--plum); color: var(--pearl); border-color: var(--plum); }
.card-featured li { border-top-color: rgba(250, 246, 244, 0.15); }
.card-featured li::before { color: var(--champagne); }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--champagne);
  color: var(--plum);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.extras {
  margin-top: 32px;
  padding: 24px;
  border: 1px dashed var(--mauve);
  border-radius: var(--radius);
}
.extras h3 { font-size: 1.2rem; }
.extras dl { margin: 0; }
.extras dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rose);
}
.extras dt { margin: 0; }
.extras dd { margin: 0; font-weight: 600; white-space: nowrap; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2rem;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(250, 246, 244, 0.92);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Testimoni ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
blockquote {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--champagne);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; margin: 0 0 1.2rem; }
blockquote footer { font-size: 0.9rem; color: var(--muted); }
blockquote strong { color: var(--plum); }

/* ---------- CTA akhir ---------- */
.final-cta {
  background: var(--mauve);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.final-cta p { max-width: 40ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: var(--rose);
  text-align: center;
  padding: 40px 0 96px;
  font-size: 0.95rem;
}
.site-footer p { margin: 4px 0; }
.site-footer .logo { color: var(--pearl); font-size: 1.5rem; margin-bottom: 10px; }
.site-footer .logo em { color: var(--rose); }
.small { font-size: 0.8rem; opacity: 0.7; margin-top: 16px !important; }

/* ---------- WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 20;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
}

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .logo { font-size: 1.15rem; }

  .hero { padding: 28px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { max-width: 300px; margin: 0 auto; width: 80%; }
  .hero-img::before { inset: 12px -12px -12px 12px; }

  .cta-row .btn { flex: 1 1 100%; }

  .section { padding: 56px 0; }
  .packages { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .extras dl div { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
