/* nikah.cc — landing page styles
   Fine-stationery aesthetic. Mobile-first, no external fonts or frameworks. */

:root {
  --bg: #fbf7f3;            /* warm ivory */
  --bg-deep: #f4ebe3;       /* deeper ivory for banded sections */
  --ink: #33232a;           /* deep aubergine-brown ink */
  --ink-soft: #6d5a5c;      /* muted ink (AA on ivory) */
  --ink-faint: #8f7c7d;     /* faint captions */
  --accent: #a8616f;        /* muted dusty rose */
  --accent-deep: #8a4a58;   /* deeper rose for buttons/emphasis */
  --line: #e5d7cd;          /* hairline */
  --line-strong: #cdb7ab;   /* stronger hairline / ornament */
  --dark: #2b1f24;          /* dark closing band */
  --dark-soft: #b9a6a8;     /* muted text on dark */
  --radius: 4px;
  --measure: 34rem;
  --wide: 62rem;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-deep); }

::selection { background: #ecd7d3; }

/* Decorative background — restrained, static, no confetti ------------------ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% -8%, #f7e7e1 0%, rgba(247, 231, 225, 0) 60%),
    radial-gradient(60% 45% at 92% 8%, #f3e3da 0%, rgba(243, 227, 218, 0) 55%);
}

/* Shared type ------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light { color: var(--dark-soft); }

/* Decorative divider: two rules flanking a small diamond ------------------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.6rem auto;
}
.ornament i {
  display: block;
  width: clamp(2rem, 9vw, 3.75rem);
  height: 1px;
  background: var(--line-strong);
}
.ornament span {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--accent);
}
.ornament--sm { margin: 1.1rem auto 1.4rem; }
.ornament--sm i { width: clamp(1.5rem, 6vw, 2.5rem); }

/* Masthead ---------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1.1rem, 5vw, 2.5rem);
  background: rgba(251, 247, 243, 0.86);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}
.masthead__brand span { color: var(--accent); }

.masthead__nav {
  display: none;
  margin-left: auto;
  gap: 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead__nav a { color: var(--ink-soft); text-decoration: none; }
.masthead__nav a:hover,
.masthead__nav a:focus-visible { color: var(--accent-deep); }

.masthead__cta {
  margin-left: auto;
  padding: 0.5rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent-deep);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.masthead__cta:hover,
.masthead__cta:focus-visible { background: var(--ink); }

@media (min-width: 720px) {
  .masthead__nav { display: flex; }
  .masthead__cta { margin-left: 0; }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn__icon { flex: none; }

.btn--primary { color: var(--bg); background: var(--accent-deep); }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--ink); }

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--accent); color: var(--accent-deep); }

.btn--light { color: var(--dark); background: var(--bg); }
.btn--light:hover,
.btn--light:focus-visible { background: #fff; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 7rem) 1.3rem clamp(3.5rem, 9vw, 5.5rem);
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero__lede {
  margin: 0 auto 1.9rem;
  max-width: 32rem;
  font-size: clamp(1.02rem, 3.2vw, 1.18rem);
  color: var(--ink-soft);
}

.hero__points {
  list-style: none;
  margin: 0 auto 1.9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  max-width: 32rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.hero__points li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border: 1px solid var(--accent);
}

.hero__price {
  margin: 0 0 2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.hero__price strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.hero__note {
  margin: 1.6rem 0 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* Bands ------------------------------------------------------------------- */
.band {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 5.5rem) 1.3rem;
}

.band__head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
}
.band__title {
  margin: 0 auto;
  max-width: 26rem;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.band__lede {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
}
.band__foot {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.rule {
  max-width: var(--wide);
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Grids ------------------------------------------------------------------- */
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Reasons ----------------------------------------------------------------- */
.reason {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}
.reason__num {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.reason__title {
  margin: 0 0 0.5rem;
  font-size: 1.32rem;
  font-weight: 400;
}
.reason__text {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Feature list ------------------------------------------------------------ */
.feature-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 44rem;
}
.feature-list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--accent);
}
@media (min-width: 620px) {
  .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.75rem;
  }
}

/* Portfolio --------------------------------------------------------------- */
.work { margin: 0; }
.work__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Real phone mockup — sits directly on the page, no panel behind it. */
.work__thumb {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
}
/* Phone-mockup screenshot standing inside the panel */
.work__shot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72%;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 34px rgba(40, 22, 28, 0.42));
  transition: transform 0.28s ease, filter 0.28s ease;
}
.work__link:hover .work__shot,
.work__link:focus-visible .work__shot {
  transform: translateX(-50%) translateY(-8px);
  filter: drop-shadow(0 34px 44px rgba(40, 22, 28, 0.5));
}

.work__meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 0.25rem 0;
}
.work__view {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  white-space: nowrap;
}
.work__view::after { content: " \2192"; }
.work__link:hover .work__view { text-decoration: underline; text-underline-offset: 3px; }

/* Testimonials ------------------------------------------------------------ */
.quote {
  display: flex;
  flex-direction: column;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}
.quote blockquote {
  margin: 0 0 1.3rem;
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.quote blockquote::before {
  content: "\201C";
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.06em;
}
.quote__by {
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 0.82rem;
}
.quote__name { font-weight: 600; color: var(--accent-deep); letter-spacing: 0.02em; }
.quote__loc { color: var(--ink-faint); }

/* Pricing ----------------------------------------------------------------- */
.price {
  max-width: 24rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.price__label {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price__amount {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 3rem);
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
}
.price__amount span {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-faint);
}
.price__list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.price__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border: 1px solid var(--accent);
}
.price__cta { width: 100%; justify-content: center; }
.price__fine {
  margin: 1rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* Closing band ------------------------------------------------------------ */
.closing {
  position: relative;
  z-index: 1;
  margin-top: clamp(1rem, 4vw, 2rem);
  padding: clamp(3.5rem, 9vw, 5.5rem) 1.5rem;
  text-align: center;
  background: var(--dark);
  color: var(--bg);
}
.closing__title {
  margin: 0 auto 1rem;
  max-width: 24rem;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
}
.closing__text {
  margin: 0 auto 2rem;
  max-width: 30rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--dark-soft);
}
.closing__text a { color: #f0dcd9; text-underline-offset: 3px; }

/* Colophon / footer ------------------------------------------------------- */
.colophon {
  position: relative;
  z-index: 1;
  padding: 3rem 1.3rem 3.5rem;
  text-align: center;
  font-family: var(--sans);
}
.colophon__brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.colophon__brand span { color: var(--accent); }
.colophon__tag {
  margin: 0.3rem 0 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.colophon__links a { color: var(--accent-deep); text-decoration: none; }
.colophon__links a:hover,
.colophon__links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.colophon__links span { color: var(--line-strong); }
.colophon__seo {
  max-width: 40rem;
  margin: 0 auto 1.1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-faint);
}
.colophon__copy { margin: 0; font-size: 0.8rem; color: var(--ink-faint); }

/* Offset anchored sections so the sticky header doesn't cover their titles */
#top, [id="alasan"], [id="fitur"], [id="portofolio"], [id="harga"] {
  scroll-margin-top: 4.75rem;
}

/* Floating WhatsApp button ------------------------------------------------ */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-deep);
  box-shadow: 0 12px 26px -6px rgba(80, 40, 45, 0.6);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.wa-fab:hover,
.wa-fab:focus-visible { background: var(--ink); }
.wa-fab:active { transform: scale(0.94); }
.wa-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Mobile refinements ------------------------------------------------------ */
@media (max-width: 720px) {
  .wa-fab { display: inline-flex; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .masthead { padding: 0.75rem 1.1rem; }
  .masthead__brand { font-size: 1.2rem; }
  .hero { padding-top: clamp(2.75rem, 10vw, 4rem); padding-bottom: 2.75rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .band { padding-top: 3rem; padding-bottom: 3rem; }
  .band__head { margin-bottom: 2.25rem; }
  .closing { padding-top: 3rem; padding-bottom: 3rem; }
  .grid { gap: 2rem; }
  /* Two invitations side by side reads better than one huge phone per row */
  .works { grid-template-columns: 1fr 1fr; }
  .work__shot { width: 82%; }
  .work__view { font-size: 0.64rem; letter-spacing: 0.1em; }
}

@media (max-width: 380px) {
  .works { grid-template-columns: 1fr; }
  .work__shot { width: 66%; }
}

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .work__shot { transition: none; }
  .btn:active { transform: none; }
  .work__link:hover .work__shot,
  .work__link:focus-visible .work__shot { transform: translateX(-50%); }
}
