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

:root {
  --ivory: #FBF6EF;
  --blush: #F4DAD6;
  --rose: #C98B8B;
  --rose-dark: #B57373;
  --gold: #B8935A;
  --mocha: #4A2F2A;
  --mocha-soft: #7A5D57;
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --shadow: 0 12px 36px rgba(74, 47, 42, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--mocha);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -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 0 0.4em;
}

h1 em, h2 em, .logo em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose-dark);
}

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

.center { text-align: center; justify-content: center; }

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

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

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

.btn-small { min-height: 42px; padding: 8px 20px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 147, 90, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
  white-space: nowrap;
}
.nav-links { display: none; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--rose-dark); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 64px; }
.hero-inner {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero h1 { font-size: clamp(42px, 9vw, 72px); }
.lead { font-size: 18px; color: var(--mocha-soft); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  color: var(--mocha-soft);
}
.hero-points li::before { content: "✦ "; color: var(--gold); }

.hero-img { position: relative; }
.hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero-img::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--gold);
  border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}

/* ---------- Seksyen umum ---------- */
.section { padding: 72px 0; }
.section-blush { background: var(--blush); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(34px, 6vw, 48px); }
.section-head p:last-child { color: var(--mocha-soft); margin: 0; }

/* ---------- Pakej ---------- */
.packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.pkg {
  position: relative;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pkg h3 { font-size: 28px; }
.price {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin: 4px 0 20px;
  color: var(--mocha);
}
.price span { font-size: 22px; vertical-align: super; margin-right: 2px; color: var(--gold); }
.pkg ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(184, 147, 90, 0.35); padding-top: 18px; }
.pkg li { padding: 5px 0 5px 24px; position: relative; font-size: 16px; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--rose-dark); font-weight: 500; }

.pkg-featured { border: 2px solid var(--rose); }
.tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: var(--mocha);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}

.extras {
  text-align: center;
  margin: 36px auto 28px;
  max-width: 640px;
  font-size: 15px;
  color: var(--mocha-soft);
}
.extras p { margin: 4px 0; }
.extras strong { color: var(--mocha); font-weight: 500; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.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.5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(251, 246, 239, 0.92);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Testimoni ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.quote {
  margin: 0;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 6px;
  left: 22px;
  opacity: 0.6;
}
.quote p {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  margin: 26px 0 18px;
}
.quote footer { font-size: 15px; color: var(--mocha-soft); }
.quote footer strong { color: var(--mocha); font-weight: 500; }

/* ---------- CTA akhir ---------- */
.cta-inner { text-align: center; max-width: 620px; }
.cta h2 { font-size: clamp(34px, 6vw, 48px); }
.cta p { color: var(--mocha-soft); margin: 0 0 28px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--mocha);
  color: var(--blush);
  padding: 44px 0 96px;
  text-align: center;
  font-size: 15px;
}
.footer p { margin: 4px 0; }
.footer .logo { color: var(--ivory); font-size: 26px; margin-bottom: 10px; }
.footer .logo em { color: var(--blush); }
.footer .small { font-size: 13px; opacity: 0.7; margin-top: 16px; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #0B3D1F;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* =========================================================
   Responsive: tablet & desktop
   ========================================================= */
@media (min-width: 640px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .quote p { font-size: 20px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 64px 0 96px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .section { padding: 96px 0; }
  .packages { grid-template-columns: repeat(4, 1fr); }
  .pkg-featured { transform: translateY(-10px); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

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