/* ===== Ayu Makeup Studio — Landing Page =====
   Warna & font sama macam borang tempahan (blush, plum, mawar). */

:root {
  --bg: #fffafb;
  --blush: #f7e6ea;
  --pill: #fbeef1;
  --ink: #3d1730;
  --soft: #7a5a6c;
  --line: #ecccd5;
  --accent: #b0245e;
  --accent-dark: #8e1b4b;
  --wa: #1f8f4e;
  --radius: 24px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }

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

/* ===== Butang ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font: 700 16px var(--sans); text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--accent); border-color: #fff; }
.btn-light:hover { background: var(--pill); border-color: var(--pill); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }

/* ===== Navigasi ===== */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { font: 600 26px/1 var(--serif); color: var(--ink); text-decoration: none; margin: 0; }
.logo span { font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-left: 4px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero { background: var(--blush); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 18px; color: var(--soft); max-width: 46ch; margin: 20px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  /* Gambar hero: letak fail images/hero.jpg */
  background: url("images/hero.jpg") center 15% / cover no-repeat,
              linear-gradient(160deg, #f2c9d4, #d98aa6 60%, #b0245e);
  box-shadow: 0 30px 60px -30px rgba(80, 20, 50, .45);
}

/* ===== Seksyen umum ===== */
.section { padding: 80px 0; }
.section-tint { background: var(--blush); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 46px); }
.note { text-align: center; color: var(--soft); margin: 28px 0 0; }

/* ===== Pakej ===== */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
}
.pkg h3 { font-size: 32px; }
.price { font: 600 40px/1 var(--serif); color: var(--accent); margin: 12px 0 20px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pkg li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.pkg li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pkg-featured { border: 2px solid var(--accent); box-shadow: 0 24px 50px -30px rgba(176, 36, 94, .55); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}

/* ===== Galeri ===== */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
}
.g {
  border-radius: 18px;
  background-color: #e9b9c7;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.g1 { grid-row: span 2; }
.g6 { grid-column: 1 / -1; }
/* Gambar galeri: letak fail images/galeri-1.jpg hingga galeri-6.jpg */
.g1 { background-image: url("images/galeri-1.jpg"), linear-gradient(150deg, #f2c9d4, #d98aa6); }
.g2 { background-image: url("images/galeri-2.jpg"), linear-gradient(170deg, #e8a8bb, #b0245e); }
.g3 { background-image: url("images/galeri-3.jpg"), linear-gradient(140deg, #f7dde4, #e2a0b4); }
.g4 { background-image: url("images/galeri-4.jpg"), linear-gradient(120deg, #d98aa6, #f2c9d4); }
.g5 { background-image: url("images/galeri-5.jpg"), linear-gradient(160deg, #c9708f, #8e1b4b); }
.g6 { background-image: url("images/galeri-6.jpg"), linear-gradient(150deg, #f2c9d4, #c9708f); }

/* ===== Testimoni ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; background: var(--pill); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.quote blockquote { margin: 0; font: italic 500 22px/1.4 var(--serif); }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--soft); font-size: 14px; }

/* ===== CTA akhir ===== */
.cta { background: var(--accent); color: #fff; padding: 72px 0; text-align: center; }
.cta h2 { font-size: clamp(34px, 5vw, 50px); }
.cta p { max-width: 520px; margin: 14px auto 28px; color: #fde8ef; font-size: 18px; }
.cta .hero-cta { justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #e9d3de; padding: 40px 0 110px; text-align: center; font-size: 14px; }
.footer .logo { color: #fff; margin-bottom: 8px; }
.footer .logo span { color: #f4a6c3; }

/* ===== Butang WhatsApp terapung ===== */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }

/* ===== Tablet ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .packages, .testimonials { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .pkg-featured { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* ===== Telefon ===== */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 36px 0 48px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section { padding: 56px 0; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
