/* =========================================================
   Ayu Makeup Studio · Landing page
   Warna & font ikut brand/brand.md
   ========================================================= */

:root {
  --rose: #C47A85;        /* Rose Ayu: butang, highlight */
  --rose-dark: #A85F6B;   /* hover butang */
  --plum: #4E2E3D;        /* Plum Malam: teks & latar gelap */
  --gold: #B8935A;        /* Emas Lembut: aksen sahaja */
  --champagne: #EFDCCB;   /* latar kedua */
  --ivory: #FBF7F2;       /* Gading: latar utama */
  --muted: #6E5560;       /* teks kedua */
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(78, 46, 61, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

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

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin: 0 0 12px;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--rose);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }

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

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

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 147, 90, .25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  text-decoration: none;
  color: var(--plum);
  margin: 0;
  white-space: nowrap;
}
.logo span { font-style: italic; font-weight: 500; color: var(--rose-dark); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--plum); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); letter-spacing: -.01em; }
.hero h1 em { font-weight: 500; color: var(--rose-dark); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--muted);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-photo { position: relative; width: 100%; max-width: min(420px, 58vh); justify-self: end; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 200px 200px var(--radius) var(--radius);
}
.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Seksyen umum ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--champagne); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 50px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin: 14px 0 0; }

/* ---------- Pakej ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pkg {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(184, 147, 90, .3);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}
.pkg h3 { font-size: 28px; }
.price {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  margin: 14px 0 6px;
  color: var(--plum);
}
.price span { font-family: var(--sans); font-size: 16px; font-weight: 500; vertical-align: top; margin-right: 4px; color: var(--muted); }
.pkg-desc { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.pkg ul { list-style: none; padding: 18px 0 0; margin: auto 0 0; border-top: 1px solid var(--champagne); font-size: 15px; }
.pkg li { padding: 5px 0 5px 22px; position: relative; }
.pkg li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(-45deg);
}
.pkg-featured { background: var(--plum); color: var(--ivory); border-color: var(--plum); box-shadow: var(--shadow); }
.pkg-featured .price, .pkg-featured h3 { color: var(--ivory); }
.pkg-featured .price span, .pkg-featured .pkg-desc { color: var(--champagne); }
.pkg-featured ul { border-top-color: rgba(239, 220, 203, .25); }
.pkg-featured li::before { border-color: var(--champagne); }
.badge {
  position: absolute;
  top: -13px; left: 24px;
  margin: 0;
  background: var(--rose);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
}
.addons { text-align: center; color: var(--muted); font-size: 15px; max-width: 680px; margin: 36px auto 0; }
.addons strong { color: var(--plum); }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.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 .5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(251, 247, 242, .92);
  color: var(--plum);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Testimoni ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.quote {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(184, 147, 90, .3);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote p { font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.35; margin: 0; }
.quote footer { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.quote footer span { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--plum); color: var(--ivory); padding: 80px 0; text-align: center; }
.cta-inner { max-width: 680px; }
.cta h2 { font-size: clamp(34px, 4.6vw, 50px); }
.cta p { color: var(--champagne); margin: 16px 0 30px; font-size: 17px; }
.cta .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 110px; text-align: center; font-size: 14px; color: var(--muted); }
.footer-inner p { margin: 6px 0; }
.site-footer .logo { font-size: 24px; display: inline-block; margin-bottom: 6px; }
.site-footer a { color: var(--rose-dark); }
.small { font-size: 13px; }

/* ---------- Page Tentang Kami ---------- */
.nav-links a[aria-current="page"] { color: var(--plum); font-weight: 500; }
.about-hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.story { max-width: 760px; }
.story-text p { font-size: 18px; color: var(--plum); margin: 0 0 18px; }
.story-text p:last-child { margin-bottom: 0; }

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.value {
  background: var(--white);
  border: 1px solid rgba(184, 147, 90, .3);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.value h3 { font-size: 26px; margin-bottom: 10px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}
.member {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.avatar {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: var(--white);
  font: 600 34px/1 var(--serif);
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold);
}
.member h3 { font-size: 28px; }
.role { color: var(--rose-dark); font-size: 14px; font-weight: 500; margin: 4px 0 12px; }
.member p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: #0B3D1E;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVE: tablet & telefon
   ========================================================= */
@media (max-width: 980px) {
  .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .testimonials { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { padding: 36px 0 56px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-photo { max-width: 380px; justify-self: center; width: calc(100% - 18px); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo { font-size: 22px; }
  .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .story-text p { font-size: 16px; }
  .quote p { font-size: 21px; }
  .wa-float { right: 14px; bottom: 14px; padding: 0; width: 56px; justify-content: center; }
  .wa-float span { display: none; }
}

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