/* =========================================================
   Ayu Makeup Studio — Landing Page
   Warna & font ikut brand/brand.md
   ========================================================= */
:root {
  --rose: #C98B8B;       /* Dusty Rose — butang, highlight */
  --rose-dark: #B17272;
  --blush: #F6E7E1;      /* Blush Cream — latar kad */
  --gold: #C9A66B;       /* Champagne Gold — aksen */
  --plum: #5E3A4A;       /* Plum Mauve — tajuk, teks */
  --ivory: #FFFAF5;      /* Ivory — latar bersih */
  --text: #4A3540;
  --muted: #7D6670;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(94, 58, 74, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .logo { font-family: "Playfair Display", Georgia, serif; color: var(--plum); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: .6rem;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--rose); color: #fff; font-weight: 500; font-size: .95rem;
  border: 2px solid var(--rose); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-2px); }
.btn-small { padding: .5rem 1.15rem; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--rose); }
.btn-ghost:hover { background: var(--blush); color: var(--plum); }
.btn-block { display: block; text-align: center; margin-top: 1.5rem; }
.btn-light { background: #fff; color: var(--plum); border-color: #fff; }
.btn-light:hover { background: var(--blush); border-color: var(--blush); }
.btn-outline-light { background: transparent; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 245, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 166, 107, .25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.logo { font-size: 1.35rem; }
.logo span { font-style: italic; font-weight: 500; color: var(--rose); }
.nav-links { display: flex; gap: 2rem; font-size: .92rem; }
.nav-links a:hover { color: var(--rose); }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5rem; background: linear-gradient(180deg, var(--ivory) 0%, var(--blush) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--rose); font-weight: 500; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 32rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.8rem; font-size: .88rem; color: var(--muted); }
.hero-points li::before { content: "✦"; color: var(--gold); margin-right: .45rem; }

/* Gambar hero: letak images/hero.jpg. Kalau tiada, keluar latar gradient. */
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background:
    url("images/hero.jpg") center / cover no-repeat,
    radial-gradient(circle at 30% 25%, #fff 0, transparent 45%),
    linear-gradient(160deg, var(--blush), var(--rose));
  box-shadow: var(--shadow);
  outline: 1px solid var(--gold); outline-offset: 10px;
}

/* ---------- Seksyen ---------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--blush); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.section-lead { color: var(--muted); max-width: 36rem; margin: 0 auto 3rem; }

/* ---------- Pakej ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem;
  border: 1px solid rgba(201, 166, 107, .3); box-shadow: var(--shadow);
}
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.price { display: flex; align-items: flex-start; gap: .25rem; font-family: "Playfair Display", serif; font-size: 2.8rem; color: var(--plum); line-height: 1; margin-bottom: 1.4rem; }
.price span { font-size: 1rem; margin-top: .35rem; color: var(--rose); }
.card ul { list-style: none; font-size: .93rem; }
.card li { padding: .45rem 0; border-top: 1px dashed rgba(201, 166, 107, .35); }
.card li::before { content: "✓"; color: var(--rose); font-weight: 600; margin-right: .6rem; }
.card-featured { background: var(--plum); border-color: var(--plum); transform: scale(1.04); }
.card-featured h3, .card-featured .price, .card-featured li { color: #fff; }
.card-featured .price span, .card-featured li::before { color: var(--gold); }
.card-featured li { border-top-color: rgba(255,255,255,.18); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap;
}

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.extra {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--blush); border-radius: 14px; padding: 1rem 1.3rem; font-size: .9rem;
}
.extra strong { color: var(--plum); white-space: nowrap; }
.extra small { font-weight: 300; color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); max-width: 42rem; margin: 2rem auto 0; }

/* ---------- Galeri ---------- */
/* Letak gambar dalam images/ : gallery-1.jpg ... gallery-6.jpg */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; margin-top: 2.5rem; }
.g {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center;
}
.g figcaption {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 250, 245, .9);
  color: var(--plum); font-size: .8rem; font-weight: 500; padding: .3rem .8rem; border-radius: 999px;
}
.g1 { grid-row: span 2; background-image: url("images/gallery-1.jpg"), linear-gradient(160deg, #e9c9c2, var(--rose)); }
.g2 { background-image: url("images/gallery-2.jpg"), linear-gradient(160deg, var(--blush), #dcb5a8); }
.g3 { background-image: url("images/gallery-3.jpg"), linear-gradient(160deg, #e8d6b8, var(--gold)); }
.g4 { background-image: url("images/gallery-4.jpg"), linear-gradient(160deg, #d9a8a8, #8f5c6c); }
.g5 { background-image: url("images/gallery-5.jpg"), linear-gradient(160deg, #f1ddd4, #c9a0a0); }
.g6 { grid-column: span 2; background-image: url("images/gallery-6.jpg"), linear-gradient(120deg, var(--blush), var(--rose) 70%, var(--plum)); }

/* ---------- Testimoni ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.quote p { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.05rem; color: var(--plum); margin-bottom: 1.2rem; }
.quote footer { font-size: .85rem; color: var(--muted); }
.quote footer strong { color: var(--rose); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--plum), #7a4c5f); color: #fff; padding: 5rem 0; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.cta p { opacity: .85; margin-bottom: 2rem; }
.center-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 2.5rem 0 6rem; text-align: center; font-size: .88rem; color: var(--muted); }
.footer .logo { margin-bottom: .3rem; }
.footer .small { font-size: .78rem; margin-top: .4rem; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo { max-width: 380px; width: 100%; margin-inline: auto; order: -1; }
  .packages, .testimonials, .extras { grid-template-columns: 1fr; }
  .card-featured { transform: none; order: -1; }
  .packages { max-width: 460px; margin-inline: auto; gap: 1.8rem; }
  .extras, .testimonials { max-width: 460px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .g6 { grid-column: span 2; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-inner { height: 60px; }
  .logo { font-size: 1.15rem; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-text { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .hero-photo { max-width: 280px; }
  .section { padding: 4rem 0; }
  .gallery { grid-auto-rows: 150px; gap: .7rem; }
  .g figcaption { left: .6rem; bottom: .6rem; font-size: .72rem; }
  .cta .btn { flex: 1 1 100%; }
}
