/* =========================================
   NEOLENS PHOTO - BOTANICAL ROMANCE
========================================= */

:root {
  --bg: #edf0e6;
  --paper: #fbfbf5;
  --ink: #344236;
  --muted: #748174;
  --accent: #80977c;
  --gold: #c4a66e;
  --line: #d5dfd0;
  --shadow: 0 18px 50px rgba(43, 69, 48, .1);

  --heading: "Playfair Display", Georgia, serif;
  --body: "DM Sans", sans-serif;

  --radius: 18px;
}

/* BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  padding-bottom: 90px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

body, button, input, select, textarea {
  font-family: var(--body);
}

button, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.2;
}

h1, h2, h3, p {
  margin-top: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 28px;
}

h3 {
  font-size: 1.65rem;
}

[hidden] {
  display: none !important;
}

section[id] {
  scroll-margin-top: 25px;
}

/* TYPOGRAPHY */

.eyebrow {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.8;
}

.script-word {
  font-family: var(--heading);
  font-style: italic;
  color: var(--gold);
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.ornament {
  color: var(--gold);
  letter-spacing: .12em;
  margin: 25px 0;
}

.section {
  width: min(100% - 36px, 1050px);
  margin-inline: auto;
  padding-block: 86px;
  text-align: center;
}

.section-note {
  color: var(--muted);
  max-width: 550px;
  margin: -10px auto 30px;
}

/* COVER */

.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  color: var(--ink);

  background:
    linear-gradient(
      rgba(238, 240, 231, .50),
      rgba(238, 240, 231, .82)
    ),
    url("images/cover.jpg") center / cover;

  transition:
    opacity .8s ease,
    visibility .8s ease,
    transform .8s ease;
}

.cover-frame {
  width: min(100%, 570px);
  padding: clamp(32px, 8vw, 75px) 24px;
  border: 1px solid var(--accent);
  outline: 1px solid rgba(128, 151, 124, .4);
  outline-offset: 8px;
  text-align: center;
  background: rgba(251, 251, 245, .9);
  box-shadow: var(--shadow);
  border-radius: 110px 110px 18px 18px;
  animation: appear 1s ease both;
}

.cover h1 {
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  margin: 12px 0;
  overflow-wrap: anywhere;
}

.cover-flourish {
  color: var(--gold);
  font-size: 2rem;
  margin: 20px 0;
}

.cover-caption,
.cover-note {
  color: var(--muted);
  font-size: .83rem;
}

.cover-note {
  margin: 28px 0 0;
  font-size: .68rem;
}

.cover.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.invitation {
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.invitation-open .invitation {
  opacity: 1;
  visibility: visible;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-gold {
  background: var(--accent);
  color: white;
  margin-top: 18px;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--accent);
  color: white;
}

/* MUSIC BUTTON */

.music-button {
  position: fixed;
  z-index: 1200;
  right: 16px;
  bottom: 16px;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;

  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);

  font-size: .73rem;
  cursor: pointer;
  transition: bottom .4s ease;
}

#musicIcon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
}

.invitation-open .music-button {
  bottom: 94px;
}

/* HERO */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      to bottom,
      rgba(20, 34, 25, .35),
      rgba(15, 25, 18, .78)
    ),
    url("images/cover.jpg") center / cover;

  color: #fffaf0;
}

.hero-content {
  max-width: 760px;
  margin: auto;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  max-width: 900px;
  margin: 10px auto;
  overflow-wrap: anywhere;
  color: #fffaf0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .65);
}

.hero h1 span {
  color: var(--gold);
  font-style: italic;
}

.hero .eyebrow,
.hero .hero-date {
  color: #e3c58b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .85);
}

.hero-date {
  letter-spacing: .12em;
}

.hero .intro {
  max-width: 570px;
  color: #fffaf0;
  margin: 0 auto 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.hero .button-outline {
  color: #fffaf0;
  border-color: #d4b477;
}

.hero .button-outline:hover {
  background: #d4b477;
  color: #203126;
}

/* COUNTDOWN */

.countdown-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 28px auto 0;
}

.count-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.count-item strong {
  font-family: var(--heading);
  color: var(--accent);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 500;
}

.count-item span {
  color: var(--muted);
  font-size: .75rem;
}

/* COUPLE */

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  max-width: 850px;
  margin: auto;
}

.person img {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 auto 22px;
  border-radius: 180px 180px 16px 16px;
  box-shadow: var(--shadow);
}

.person-label {
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.person h3 {
  margin-bottom: 10px;
}

.person p:last-child {
  color: var(--muted);
  font-size: .83rem;
}

.ampersand {
  font-family: var(--heading);
  font-size: 3rem;
  color: var(--gold);
}

/* LOVE STORY */

.love-story {
  position: relative;
  overflow: hidden;
  max-width: none;
  padding: 100px 22px;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(147, 164, 132, .12),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(147, 164, 132, .12),
      transparent 30%
    ),
    var(--paper);
}

.love-story-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.love-story h2 {
  margin-bottom: 15px;
}

.love-story-intro {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.love-timeline {
  position: relative;
  max-width: 620px;
  margin: 65px auto 50px;
  text-align: left;
}

.love-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent),
    #a5b49a,
    var(--accent),
    transparent
  );
}

.love-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  margin-bottom: 42px;
}

.love-item:last-child {
  margin-bottom: 0;
}

.love-marker {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent);
  font-family: var(--heading);
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

.love-content {
  position: relative;
  padding: 25px 28px;
  border: 1px solid rgba(150, 140, 110, .25);
  border-radius: 5px 45px 5px 45px;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 12px 35px rgba(60, 70, 50, .05);
  transition: transform .4s ease, box-shadow .4s ease;
}

.love-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(60, 70, 50, .1);
}

.love-date {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 600;
}

.love-content h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 25px;
}

.love-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.love-flower {
  display: block;
  margin-top: 15px;
  color: var(--accent);
  font-size: 20px;
}

.love-story-ending {
  padding-top: 25px;
}

.love-story-ending > span {
  color: var(--accent);
  font-size: 32px;
}

.love-story-ending p {
  margin: 12px 0 8px;
  color: var(--muted);
  font-family: var(--heading);
  font-size: 19px;
  font-style: italic;
}

.love-story-ending h3 {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 25px;
}

/* EVENTS */

.event-section {
  max-width: none;
  background: #e1e8d9;
}

.event-grid {
  width: min(100%, 850px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: auto;
}

.event-card {
  padding: 35px 22px;
  border: 1px solid rgba(128, 151, 124, .35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.event-symbol {
  color: var(--gold);
  font-size: 2rem;
}

.event-card h3 {
  margin: 8px 0 20px;
}

.event-card p {
  margin-bottom: 8px;
}

.venue {
  font-weight: 600;
  font-size: .88rem;
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 35px;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(.92);
}

.gallery-item:first-child {
  border-radius: 100px 100px 12px 12px;
}

/* RSVP */

.rsvp-section {
  background: var(--paper);
}

.rsvp-form {
  display: grid;
  gap: 10px;
  max-width: 550px;
  margin: 30px auto 0;
  text-align: left;
}

.rsvp-form label {
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-size: .9rem;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.rsvp-form .button {
  width: 100%;
  margin-top: 14px;
}

/* CLOSING */

.closing {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.closing h2 {
  margin: 0 0 18px;
}

.closing > div > p:not(.eyebrow):not(.script-word) {
  max-width: 550px;
  color: var(--muted);
}

/* FOOTER */

.footer {
  padding: 24px 18px;
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--accent);
  letter-spacing: .12em;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 60px;
  border: 0;
  background: rgba(8, 8, 8, .95);
  color: white;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.lightbox[open] {
  display: flex;
}

.lightbox img {
  max-width: min(78vw, 900px);
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, .35);
  color: white;
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
}

.lightbox-nav {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .88);
}

/* CINEMATIC SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.love-item:nth-child(2) {
  transition-delay: .08s;
}

.love-item:nth-child(3) {
  transition-delay: .16s;
}

.love-item:nth-child(4) {
  transition-delay: .24s;
}

/* FLOATING BOTTOM NAVIGATION */

.bottom-navigation {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translate(-50%, 120px);
  z-index: 9999;

  width: calc(100% - 20px);
  max-width: 520px;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;

  padding: 10px 5px;
  border: 1px solid rgba(190, 174, 130, .45);
  border-radius: 22px;

  background: rgba(48, 62, 46, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform .65s cubic-bezier(.2, .8, .2, 1),
    opacity .5s ease,
    visibility .5s ease;
}

/* NAVIGASI MUNCUL SETELAH UNDANGAN DIBUKA */

.invitation-open .bottom-navigation {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bottom-nav-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  padding: 3px 0;
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;

  transition: color .3s ease, transform .3s ease;
}

.bottom-nav-item .nav-icon {
  font-size: 21px;
  line-height: 1.2;
}

.bottom-nav-item.active {
  color: #e5d2a0;
}

.bottom-nav-item.active .nav-icon {
  transform: translateY(-3px);
}

.bottom-nav-item:active {
  transform: scale(.9);
}

.bottom-nav-item:focus-visible,
.button:focus-visible,
.music-button:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 680px) {
  .section {
    width: min(100% - 28px, 1050px);
    padding-block: 64px;
  }

  .hero {
    min-height: 78vh;
  }

  .couple-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .person img {
    width: min(80%, 300px);
  }

  .ampersand {
    font-size: 2.2rem;
    line-height: 1;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item:last-child {
    grid-column: 1 / -1;
  }

  .gallery-item:last-child img {
    aspect-ratio: 16 / 9;
  }

  .countdown {
    gap: 7px;
  }

  .count-item {
    padding: 15px 4px;
  }

  .count-item span {
    font-size: .67rem;
  }

  .love-story {
    padding: 75px 17px;
  }

  .love-timeline {
    margin-top: 45px;
  }

  .love-timeline::before {
    left: 19px;
  }

  .love-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    margin-bottom: 30px;
  }

  .love-marker {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .love-content {
    padding: 21px 18px;
    border-radius: 5px 30px 5px 30px;
  }

  .love-content h3 {
    font-size: 21px;
  }

  .love-content p {
    font-size: 12px;
  }

  .love-date {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .lightbox {
    padding: 55px 10px;
    gap: 8px;
  }

  .lightbox img {
    max-width: calc(100vw - 110px);
    max-height: 75vh;
  }

  .lightbox-nav {
    flex-basis: 34px;
    height: 34px;
  }

  .bottom-navigation {
    padding: 9px 2px;
  }

  .bottom-nav-item {
    font-size: 9px;
  }

  .bottom-nav-item .nav-icon {
    font-size: 19px;
  }

  .invitation-open .music-button {
    bottom: 88px;
  }
}

@media (min-width: 768px) {
  .bottom-navigation {
    bottom: 20px;
  }

  .bottom-nav-item {
    font-size: 11px;
  }

  .invitation-open .music-button {
    bottom: 90px;
  }
}

@media (max-width: 360px) {
  .bottom-nav-item {
    font-size: 8px;
  }

  .bottom-nav-item .nav-icon {
    font-size: 18px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =================================
   LUXURY EDITORIAL WEDDING HERO
================================= */

.hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 22px;

  background:
    linear-gradient(
      180deg,
      rgba(8, 17, 13, .48) 0%,
      rgba(8, 17, 13, .20) 35%,
      rgba(8, 17, 13, .58) 70%,
      rgba(8, 17, 13, .88) 100%
    ),
    url("images/cover.jpg") center 42% / cover;

  color: #fffaf2;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: auto;
  padding: 35px 15px;
  text-align: center;
}

.hero .eyebrow {
  color: #dfc28c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  margin-bottom: 28px;
}

.hero .script-word {
  color: #d8b477;
  font-family: "Playfair Display", serif;
  font-size: clamp(23px, 5vw, 34px);
  font-style: italic;
  margin-bottom: 8px;
}

.hero h1 {
  color: #fffaf2;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 12px auto 15px;
  text-shadow: 0 4px 25px rgba(0,0,0,.35);
}

.hero h1 span {
  color: #d8b477;
  font-style: italic;
}

.hero .hero-date {
  color: #e2c38e;
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 500;
  margin-bottom: 0;
}

.hero .ornament {
  color: #d8b477;
  font-size: 13px;
  letter-spacing: .4em;
  margin: 27px 0;
}

.hero .intro {
  max-width: 440px;
  margin: 0 auto 28px;
  color: rgba(255,250,242,.94);
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
  letter-spacing: .015em;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.hero .button-outline {
  min-width: 175px;
  min-height: 48px;
  padding: 13px 27px;
  border: 1px solid #d8b477;
  border-radius: 3px;
  background: rgba(15,25,18,.25);
  color: #fffaf2;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 600;
  backdrop-filter: blur(5px);
  transition: all .35s ease;
}

.hero .button-outline:hover {
  background: #d8b477;
  color: #18251c;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
    padding: 65px 20px;
    background-position: center 42%;
  }

  .hero-content {
    padding: 25px 5px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .25em;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 54px);
    margin: 12px 0;
  }

  .hero .intro {
    max-width: 340px;
    font-size: 13px;
    line-height: 1.9;
  }

  .hero .ornament {
    margin: 23px 0;
  }
}


/* FLOATING BOTANICAL FLOWERS */

.hero {
  overflow: hidden;
}

.floating-flowers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.floating-flowers span {
  position: absolute;
  bottom: -50px;
  color: #dfc18a;
  opacity: .55;
  font-size: 20px;
  animation: flowerFloat 13s linear infinite;
}

.floating-flowers span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}

.floating-flowers span:nth-child(2) {
  left: 25%;
  font-size: 15px;
  animation-delay: 4s;
}

.floating-flowers span:nth-child(3) {
  left: 42%;
  animation-delay: 2s;
}

.floating-flowers span:nth-child(4) {
  left: 62%;
  font-size: 25px;
  animation-delay: 6s;
}

.floating-flowers span:nth-child(5) {
  left: 78%;
  animation-delay: 3s;
}

.floating-flowers span:nth-child(6) {
  left: 92%;
  font-size: 16px;
  animation-delay: 8s;
}

.floating-flowers span:nth-child(7) {
  left: 52%;
  font-size: 12px;
  animation-delay: 9s;
}

.floating-flowers span:nth-child(8) {
  left: 15%;
  font-size: 13px;
  animation-delay: 11s;
}

@keyframes flowerFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: .5;
  }

  50% {
    transform: translateY(-50vh) rotate(180deg) translateX(25px);
  }

  85% {
    opacity: .4;
  }

  100% {
    transform: translateY(-110vh) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-flowers span {
    animation: none;
    display: none;
  }
}


/* ==========================================
   NEOLENS PHOTO
   LUXURY JAVANESE BOTANICAL WEDDING
========================================== */

.hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 75px 20px;

  background:
    linear-gradient(
      to bottom,
      rgba(8, 18, 13, .65),
      rgba(8, 18, 13, .30) 35%,
      rgba(8, 18, 13, .55) 70%,
      rgba(8, 18, 13, .92)
    ),
    url("images/cover.jpg") center 42% / cover;

  color: #fff7e9;
}

/* Main content */

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 700px;
  margin: auto;
  text-align: center;
  padding: 20px 12px;
}

/* Top divider */

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  color: #d6b477;
}

.hero-divider span {
  width: 75px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #d6b477
  );
}

.hero-divider span:last-child {
  transform: rotate(180deg);
}

.hero-divider i {
  font-size: 11px;
  font-style: normal;
}

/* Typography */

.hero .eyebrow {
  color: #dfc18b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .35em;
  margin-bottom: 25px;
}

.hero .script-word {
  color: #d6b477;
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(25px, 5vw, 36px);
  margin-bottom: 5px;
}

.hero h1 {
  color: #fff7e9;
  font-family: var(--heading);
  font-size: clamp(43px, 9vw, 82px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 10px auto 20px;
  text-shadow: 0 4px 25px rgba(0,0,0,.45);
}

.hero h1 span {
  color: #d6b477;
  font-style: italic;
}

/* Date */

.hero-date-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-date-wrapper span {
  width: 45px;
  height: 1px;
  background: #d6b477;
}

.hero .hero-date {
  color: #dfc18b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  margin: 0;
  text-transform: uppercase;
}

/* Flower divider */

.hero-flower-divider {
  color: #d6b477;
  font-size: 22px;
  margin: 24px 0 18px;
}

/* Invitation text */

.hero .intro {
  max-width: 480px;
  margin: 0 auto 35px;
  color: #fff7e9;
  font-family: var(--heading);
  font-size: 16px;
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

/* Calendar button */

.hero .button-outline {
  min-width: 205px;
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid #d6b477;
  border-radius: 5px;
  background: rgba(12, 24, 17, .55);

  color: #fff4df;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;

  box-shadow:
    0 0 0 3px rgba(214,180,119,.12),
    inset 0 0 12px rgba(214,180,119,.08);

  backdrop-filter: blur(6px);
  transition: .4s ease;
}

.hero .button-outline:hover {
  background: #d6b477;
  color: #17251b;
  transform: translateY(-3px);
}

.calendar-icon {
  font-size: 20px;
}

/* Bottom ornament */

.hero-bottom-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #d6b477;
  margin-top: 35px;
}

.hero-bottom-ornament span {
  width: 65px;
  height: 1px;
  background: #d6b477;
}

.hero-bottom-ornament i {
  font-size: 19px;
  font-style: normal;
}

/* Gunungan ornament */

.gunungan-ornament {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 53px;
  color: #d6b477;
  opacity: .85;
  z-index: 2;
}

.gunungan-ornament svg {
  width: 100%;
  height: auto;
}

/* Floral side decorations */

.hero-floral {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 110px;
  pointer-events: none;
  color: #dfc18b;
}

.floral-left {
  left: 0;
}

.floral-right {
  right: 0;
}

.hero-floral span {
  position: absolute;
  font-size: 30px;
  opacity: .65;
  text-shadow: 0 0 15px rgba(214,180,119,.35);
  animation: floralSway 6s ease-in-out infinite;
}

.hero-floral span:nth-child(1) {
  top: 5%;
  left: 8px;
  font-size: 38px;
}

.hero-floral span:nth-child(2) {
  top: 25%;
  left: 35px;
  font-size: 23px;
}

.hero-floral span:nth-child(3) {
  top: 48%;
  left: 4px;
  font-size: 32px;
}

.hero-floral span:nth-child(4) {
  bottom: 20%;
  left: 30px;
  font-size: 25px;
}

.hero-floral span:nth-child(5) {
  bottom: 4%;
  left: 5px;
  font-size: 40px;
}

.floral-right span:nth-child(1) {
  top: 5%;
  right: 8px;
  font-size: 38px;
}

.floral-right span:nth-child(2) {
  top: 25%;
  right: 35px;
  font-size: 23px;
}

.floral-right span:nth-child(3) {
  top: 48%;
  right: 4px;
  font-size: 32px;
}

.floral-right span:nth-child(4) {
  bottom: 20%;
  right: 30px;
  font-size: 25px;
}

.floral-right span:nth-child(5) {
  bottom: 4%;
  right: 5px;
  font-size: 40px;
}

@keyframes floralSway {
  0%, 100% {
    transform: rotate(-5deg) translateY(0);
  }

  50% {
    transform: rotate(7deg) translateY(-9px);
  }
}

/* Floating petals */

.floating-petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.floating-petals span {
  position: absolute;
  bottom: -50px;
  color: #e5c58d;
  opacity: 0;
  font-size: 18px;
  animation: petalFloat 16s linear infinite;
}

.floating-petals span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}

.floating-petals span:nth-child(2) {
  left: 22%;
  animation-delay: 4s;
  font-size: 13px;
}

.floating-petals span:nth-child(3) {
  left: 35%;
  animation-delay: 8s;
}

.floating-petals span:nth-child(4) {
  left: 48%;
  animation-delay: 2s;
  font-size: 12px;
}

.floating-petals span:nth-child(5) {
  left: 60%;
  animation-delay: 6s;
}

.floating-petals span:nth-child(6) {
  left: 72%;
  animation-delay: 10s;
}

.floating-petals span:nth-child(7) {
  left: 83%;
  animation-delay: 3s;
}

.floating-petals span:nth-child(8) {
  left: 94%;
  animation-delay: 12s;
}

.floating-petals span:nth-child(9) {
  left: 28%;
  animation-delay: 13s;
}

.floating-petals span:nth-child(10) {
  left: 68%;
  animation-delay: 15s;
}

@keyframes petalFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: .65;
  }

  50% {
    transform: translateY(-50vh) translateX(30px)
      rotate(180deg);
    opacity: .5;
  }

  85% {
    opacity: .35;
  }

  100% {
    transform: translateY(-110vh) translateX(-25px)
      rotate(360deg);
    opacity: 0;
  }
}

/* Mobile responsive */

@media (max-width: 600px) {

  .hero {
    min-height: 100svh;
    padding: 90px 18px 55px;
    background-position: center 42%;
  }

  .hero-content {
    padding: 15px 5px;
  }

  .gunungan-ornament {
    top: 20px;
    width: 42px;
  }

  .hero-divider {
    margin-bottom: 20px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .25em;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 54px);
  }

  .hero .intro {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-floral {
    width: 60px;
  }

  .hero-floral span {
    font-size: 20px;
  }

  .hero-floral span:nth-child(1),
  .floral-right span:nth-child(1) {
    font-size: 25px;
  }

  .hero-floral span:nth-child(5),
  .floral-right span:nth-child(5) {
    font-size: 27px;
  }

  .hero-date-wrapper span {
    width: 22px;
  }

  .hero .hero-date {
    font-size: 10px;
    letter-spacing: .13em;
  }
}

/* Reduce motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .floating-petals,
  .hero-floral span {
    animation: none !important;
  }

  .floating-petals span {
    display: none;
  }
}

