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

:root {
  --sage: #9CAF9A;
  --sage-dark: #7F957D;
  --hijau-pudar: #E3EBDF;
  --emas: #B8975A;
  --gading: #FAF8F3;
  --hijau-gelap: #2F3D33;
  --teks-lembut: #5A6A5E;
  --putih: #FFFFFF;
  --wa: #25D366;

  --font-tajuk: "Cormorant Garamond", Georgia, serif;
  --font-badan: "Poppins", system-ui, sans-serif;
  --radius: 16px;
  --bayang: 0 10px 30px rgba(47, 61, 51, 0.08);
}

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

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

body {
  font-family: var(--font-badan);
  font-weight: 300;
  color: var(--hijau-gelap);
  background: var(--gading);
  line-height: 1.7;
  font-size: 16px;
}

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

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

h1, h2, h3 {
  font-family: var(--font-tajuk);
  font-weight: 600;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 12px; }
h3 { font-size: 1.6rem; }
h4 { font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
em { font-style: italic; color: var(--emas); }
strong { font-weight: 600; }

.center { text-align: center; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emas);
  margin-bottom: 12px;
}

.section { padding: 80px 0; }
.section-tint { background: var(--hijau-pudar); }
.section-lead {
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--teks-lembut);
}

/* ---------- Butang ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--putih);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--sage-dark);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--hijau-gelap); border-color: var(--hijau-gelap); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--hijau-gelap); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage); border-color: var(--sage); color: var(--putih); }
.btn-small { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }
.btn-light { background: var(--gading); color: var(--hijau-gelap); border-color: var(--gading); }
.btn-light:hover { background: var(--emas); border-color: var(--emas); color: var(--putih); }
.btn-ghost { background: transparent; color: var(--gading); border-color: var(--gading); }
.btn-ghost:hover { background: var(--gading); color: var(--hijau-gelap); border-color: var(--gading); }

/* ---------- Navigasi ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 151, 90, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  font-family: var(--font-tajuk);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--emas); font-style: italic; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 400; }
.nav-links a:hover { color: var(--emas); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.05rem; color: var(--teks-lembut); max-width: 500px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.88rem;
  color: var(--teks-lembut);
}
.hero-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  margin-right: 14px;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--emas);
  border-radius: 200px 200px var(--radius) var(--radius);
}
.hero-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--bayang);
}

/* ---------- Pakej ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gading);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  box-shadow: var(--bayang);
  border: 1px solid transparent;
}
.price-card h3 { margin-bottom: 8px; }
.price {
  font-family: var(--font-tajuk);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--hijau-gelap);
  line-height: 1;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184, 151, 90, 0.35);
}
.price span { font-size: 1.1rem; color: var(--emas); margin-right: 4px; vertical-align: top; }
.price-card ul { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.price-card li { padding: 6px 0 6px 22px; position: relative; font-size: 0.92rem; }
.price-card li::before { content: "✦"; position: absolute; left: 0; color: var(--emas); font-size: 0.75rem; top: 9px; }
.price-card.featured { background: var(--putih); border-color: var(--emas); transform: translateY(-8px); }
.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emas);
  color: var(--putih);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.extra {
  background: rgba(250, 248, 243, 0.6);
  border-left: 3px solid var(--emas);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 0.92rem;
}

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

/* ---------- Testimoni ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.quote {
  background: var(--gading);
  border-radius: var(--radius);
  padding: 32px 28px 26px;
  box-shadow: var(--bayang);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.quote::before {
  content: "“";
  font-family: var(--font-tajuk);
  font-size: 5rem;
  line-height: 1;
  color: var(--sage);
  position: absolute;
  top: 6px;
  left: 20px;
  opacity: 0.5;
}
.quote p {
  font-family: var(--font-tajuk);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
  margin: 24px 0 20px;
  position: relative;
}
.quote footer { display: flex; flex-direction: column; font-size: 0.88rem; }
.quote footer span { color: var(--teks-lembut); font-size: 0.8rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--hijau-gelap);
  color: var(--gading);
  padding: 72px 0;
  text-align: center;
}
.cta-inner { max-width: 720px; }
.cta p { opacity: 0.85; margin-bottom: 28px; }
.center-buttons { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: #26322A;
  color: rgba(250, 248, 243, 0.75);
  padding: 40px 0 100px;
  text-align: center;
  font-size: 0.85rem;
}
.footer .logo { color: var(--gading); margin-bottom: 8px; display: inline-block; }
.footer .copy { margin-top: 16px; font-size: 0.75rem; opacity: 0.7; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: var(--putih);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }

/* =========================================================
   RESPONSIVE (tablet & telefon)
   ========================================================= */
@media (max-width: 960px) {
  .pricing { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .price-card.featured { transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 860px) {
  .hero { padding: 32px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; max-width: 300px; margin: 0 auto; width: 72%; }
  .hero-text { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-points { justify-content: center; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .section { padding: 60px 0; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .logo { font-size: 1.3rem; }
  .pricing { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
  .gallery { gap: 10px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
