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

:root {
  --mawar: #D8A7A0;      /* warna utama: butang, kad */
  --krim: #FBF4EC;       /* latar belakang */
  --koko: #4A2C2A;       /* teks & tajuk */
  --emas: #C8A165;       /* aksen hiasan sahaja */
  --rose: #EBD3CF;       /* latar seksyen kedua */
  --koko-soft: #6E4F4C;  /* teks sekunder */
  --wa: #25D366;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }

body {
  font-family: var(--sans);
  color: var(--koko);
  background: var(--krim);
  line-height: 1.65;
  font-size: 16px;
}

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

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--koko-soft);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--emas);
  vertical-align: middle;
  margin-right: 10px;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--koko);
  color: var(--krim);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--koko);
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: #5e3a37; }
.btn-outline { background: transparent; color: var(--koko); }
.btn-outline:hover { background: var(--koko); color: var(--krim); }
.btn-small { padding: 8px 18px; font-size: .9rem; }

/* ---------- Navigasi ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rose);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}
.logo span { font-style: italic; font-weight: 500; color: var(--koko-soft); }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--koko-soft); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-inner { display: grid; gap: 32px; }
.hero h1 em { font-style: italic; color: #8a5a55; }
.lead { margin: 18px 0 26px; font-size: 1.05rem; color: var(--koko-soft); max-width: 520px; }
.hero-buttons { display: flex; flex-direction: column; gap: 12px; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: .9rem;
}
.hero-points li::before { content: "✦ "; color: var(--emas); }
.hero-image {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--emas);
  border-radius: 200px 200px var(--radius) var(--radius);
}
.hero-image img {
  position: relative;
  border-radius: 200px 200px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- Seksyen umum ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--rose); }
.section-head { text-align: center; margin-bottom: 36px; }

/* ---------- Pakej ---------- */
.packages { display: grid; gap: 18px; }
.card {
  position: relative;
  background: var(--krim);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(74, 44, 42, .08);
}
.card-featured {
  background: var(--mawar);
  border: 2px solid var(--emas);
}
.badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--koko);
  color: var(--krim);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.price {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
  margin: 10px 0 16px;
}
.price span { font-size: 1rem; margin-right: 4px; vertical-align: super; }
.card ul { list-style: none; }
.card li { padding: 6px 0; border-top: 1px dashed rgba(74, 44, 42, .18); font-size: .95rem; }
.card li::before { content: "✓ "; font-weight: 600; }

.extras { display: grid; gap: 18px; margin-top: 28px; }
.extras-box {
  background: rgba(251, 244, 236, .6);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.extras-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.extras-box ul { list-style: none; }
.extras-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: .93rem;
  border-top: 1px solid rgba(74, 44, 42, .1);
}
.extras-box strong { text-align: right; white-space: nowrap; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  transition: transform .5s;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(251, 244, 236, .92);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
}

/* ---------- Testimoni ---------- */
.testimonials { display: grid; gap: 18px; }
.testimonials blockquote {
  background: var(--krim);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.testimonials blockquote::before {
  content: "★★★★★";
  display: block;
  color: var(--emas);
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.testimonials p { font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.testimonials footer { margin-top: 14px; font-size: .9rem; color: var(--koko-soft); }

/* ---------- Ajakan tempah ---------- */
.cta { padding: 64px 0; text-align: center; }
.cta-inner { max-width: 640px; }
.cta p { margin: 12px 0 26px; color: var(--koko-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--koko);
  color: var(--krim);
  text-align: center;
  padding: 40px 0 100px;
  font-size: .9rem;
}
.site-footer .logo { color: var(--krim); margin-bottom: 8px; }
.site-footer .logo span { color: var(--rose); }
.site-footer p { margin-top: 4px; }
.site-footer .small { margin-top: 16px; opacity: .7; font-size: .8rem; }

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

/* =========================================
   Skrin lebih besar (tablet & desktop)
   ========================================= */
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; justify-content: center; }
  .hero-text .hero-buttons { justify-content: flex-start; }
  .packages { grid-template-columns: 1fr 1fr; }
  .extras { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .section { padding: 88px 0; }
  .packages { grid-template-columns: repeat(4, 1fr); }
  .card-featured { transform: translateY(-10px); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

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