/* =========================================================
   Ayu Makeup Studio — Landing Page
   Warna & font ikut brand/brand.md
   ========================================================= */

:root {
  --blush: #E8B4B8;
  --rose-gold: #B76E79;
  --champagne: #D4AF7A;
  --cream: #FAF3EE;
  --plum: #4A2C3A;
  --plum-soft: #6B4B59;
  --white: #FFFFFF;
  --blush-tint: #F6E4E5;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(74, 44, 58, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--plum);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

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

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

/* ---------- Butang ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--champagne); outline-offset: 3px; }

.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--rose-gold); }

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

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

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

.btn-small { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Navigasi ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(183, 110, 121, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
  margin: 0;
}
.logo span {
  font-style: italic;
  font-weight: 600;
  color: var(--rose-gold);
}
.nav-links { display: none; gap: 28px; }
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--rose-gold); }

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush-tint) 100%);
}
.hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
}
.hero h1 em {
  color: var(--rose-gold);
  font-style: italic;
}
.lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--plum-soft);
  max-width: 34em;
  margin: 0 0 28px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-buttons .btn { flex: 1 1 auto; }
.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}

/* ---------- Seksyen umum ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--blush-tint); }
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.section-head p:last-child { color: var(--plum-soft); margin: 0; }

/* ---------- Pakej ---------- */
.packages {
  display: grid;
  gap: 20px;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 184, 0.5);
}
.package h3 { font-size: 1.35rem; }
.price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--rose-gold);
  margin: 0 0 16px;
  line-height: 1;
}
.price span { font-size: 1.1rem; }
.package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.package li {
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px dashed rgba(183, 110, 121, 0.2);
  font-size: 0.95rem;
}
.package li:last-child { border-bottom: none; }
.package li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  font-weight: 600;
}
.package-featured {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.package-featured .price { color: var(--champagne); }
.package-featured li { border-bottom-color: rgba(255, 255, 255, 0.15); }
.package-featured li::before { color: var(--champagne); }
.package-featured .btn-primary { background: var(--champagne); color: var(--plum); }
.package-featured .btn-primary:hover { background: var(--white); }
.badge {
  position: absolute;
  top: -13px;
  left: 24px;
  margin: 0;
  background: var(--champagne);
  color: var(--plum);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
}

.addons {
  margin: 32px auto 0;
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(232, 180, 184, 0.5);
}
.addons h3 { font-size: 1.15rem; margin-bottom: 12px; }
.addons ul { list-style: none; padding: 0; margin: 0; }
.addons li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(183, 110, 121, 0.25);
  font-size: 0.95rem;
}
.addons li:last-child { border-bottom: none; }
.addons strong { color: var(--rose-gold); font-weight: 600; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(250, 243, 238, 0.92);
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Testimoni ---------- */
.sample-note {
  display: inline-block;
  font-size: 0.8rem;
  background: var(--blush-tint);
  padding: 4px 14px;
  border-radius: 999px;
}
.testimonials {
  display: grid;
  gap: 20px;
}
.testimonial {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blush);
}
.testimonial p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.testimonial footer {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rose-gold);
}
.testimonial footer span { color: var(--plum-soft); font-weight: 300; }

/* ---------- CTA ---------- */
.cta {
  background: var(--rose-gold);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.cta p { margin: 0 0 28px; font-weight: 300; }
.cta .hero-buttons { justify-content: center; max-width: 480px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 40px 0 96px;
}
.site-footer .logo { color: var(--white); display: block; margin-bottom: 4px; }
.site-footer .logo span { color: var(--blush); }
.site-footer p { margin: 0 0 4px; }
.site-footer .small { font-size: 0.8rem; opacity: 0.7; margin-top: 12px; }

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

/* =========================================================
   Tablet (≥ 640px)
   ========================================================= */
@media (min-width: 640px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons .btn { flex: 0 0 auto; }
}

/* =========================================================
   Desktop (≥ 960px)
   ========================================================= */
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-image { max-width: 440px; justify-self: end; }
  .section { padding: 88px 0; }
  .packages { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

/* Kurangkan animasi untuk pengguna yang pilih "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
