/* ==========================================================================
   Amarta Temanggung — Salon, Sanggar Senam & Wedding Organizer
   ========================================================================== */

:root {
  --color-maroon: #7a2435;
  --color-maroon-dark: #5c1b27;
  --color-gold: #c9a23e;
  --color-gold-light: #e7cf8f;
  --color-cream: #fdf8f1;
  --color-cream-dark: #f3e8d8;
  --color-ink: #2c2420;
  --color-ink-soft: #6b5f57;
  --color-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(44, 36, 32, 0.08);
  --shadow-md: 0 12px 30px rgba(44, 36, 32, 0.12);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-maroon-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}
p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--color-cream-dark); }
.section--dark {
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  color: var(--color-white);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.lead { font-size: 18px; color: var(--color-ink-soft); max-width: 640px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-maroon); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-maroon-dark); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--color-gold); color: var(--color-maroon-dark); }
.btn--gold:hover { background: var(--color-gold-light); }
.btn--outline { border-color: var(--color-white); color: var(--color-white); }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--outline-dark { border-color: var(--color-maroon); color: var(--color-maroon); }
.btn--outline-dark:hover { background: rgba(122,36,53,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-cream-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-maroon-dark);
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-maroon));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--color-maroon); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--color-maroon-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(201,162,62,.18), transparent 55%),
              linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  color: var(--color-white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 44px; color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__art {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.hero__art-inner span { font-size: 56px; display: block; margin-bottom: 12px; }

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-cream-dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--color-cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.card__link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--color-maroon); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-tile {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-tile a { display: block; width: 100%; height: 100%; }

/* ---------- Pricing / lists ---------- */
.price-list { border: 1px solid var(--color-cream-dark); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.price-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-cream-dark);
}
.price-row:last-child { border-bottom: none; }
.price-row__name { font-weight: 600; }
.price-row__desc { color: var(--color-ink-soft); font-size: 14px; margin-top: 2px; }
.price-row__value { font-weight: 700; color: var(--color-maroon); white-space: nowrap; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-gold-light);
  color: var(--color-maroon-dark);
  margin-bottom: 10px;
}

.steps { display: grid; gap: 20px; }
.step {
  display: flex; gap: 18px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-cream-dark);
}
.step__num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-maroon);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

.protocol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.protocol-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-cream-dark);
}
.protocol-item h4 { display: flex; align-items: center; gap: 10px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag-list li {
  background: var(--color-cream-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-maroon-dark);
}

.quote {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-cream-dark);
  box-shadow: var(--shadow-sm);
}
.quote__stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: 10px; }
.quote__author { font-weight: 700; margin-top: 14px; color: var(--color-maroon-dark); }

.cta-band {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--color-maroon-dark);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band .btn--primary { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info .card { margin-bottom: 20px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-cream-dark);
  aspect-ratio: 16/9;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.notice {
  background: var(--color-cream-dark);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #d9cfc4;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: #d9cfc4; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--color-gold-light); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #a89d92;
}

/* ---------- Breadcrumb / page hero ---------- */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  color: #fff;
}
.page-hero .eyebrow { color: var(--color-gold-light); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .lead { color: rgba(255,255,255,.85); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .protocol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links, .nav__cta .btn--outline-dark { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-sm);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}
