/* =====================================================
   VARIABLES
===================================================== */

:root {

  --brown-dark: #2b170f;
  --brown: #4a291b;
  --brown-medium: #68412d;
  --brown-light: #8a6248;

  --cream: #f7f1e8;
  --cream-dark: #ede2d3;

  --gold: #b99052;
  --gold-light: #d6b77a;

  --white: #ffffff;
  --black: #1c120d;
  --muted: #796c63;

  --shadow:
    0 15px 40px rgba(65, 35, 18, 0.12);

  --shadow-heavy:
    0 25px 60px rgba(45, 22, 10, 0.20);

}


/* =====================================================
   RESET
===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 20px;
}


/* =====================================================
   FLOATING HEARTS
===================================================== */

#hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}
.heart { 
  position: absolute; 
  bottom: -30px; 
  color: rgba(187, 137, 36, 0.72);
  font-size: 24px;
  animation: floatHeart linear forwards; 
}

@keyframes floatHeart {

  0% {
    transform:
      translateY(0)
      rotate(0deg)
      scale(4);

    opacity: 0;
  }

  15% {
    opacity: 0.6;
  }

  100% {
    transform:
      translateY(-110vh)
      rotate(360deg)
      scale(2);

    opacity: 0;
  }

}


/* =====================================================
   MUSIC
===================================================== */

.music-button {
  position: fixed;

  right: 18px;
  bottom: 85px;

  width: 46px;
  height: 46px;

  border: 1px solid rgba(255,255,255,0.4);

  border-radius: 50%;

  background: var(--brown);

  color: var(--gold-light);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1500;

  box-shadow: var(--shadow);

  transition:
    transform .3s ease,
    background .3s ease;
}

.music-button:hover {
  transform: scale(1.1);
  background: var(--gold);
  color: white;
}

.music-button.playing {
  animation: musicRotate 4s linear infinite;
}

@keyframes musicRotate {
  to {
    transform: rotate(360deg);
  }
}


/* =====================================================
   COVER
===================================================== */

#cover {

  position: fixed;

  inset: 0;

  width: 100%;
  height: 100vh;

  min-height: 650px;

  z-index: 5000;

  display: flex;

  align-items: center;
  justify-content: center;

  text-align: center;

  color: white;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(35, 18, 10, .68),
      rgba(35, 18, 10, .78)
    ),
    url("assets/images/background.jpg")
    center / cover no-repeat;

  transition:
    transform .9s cubic-bezier(.77,0,.175,1);
}

.cover-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      transparent 10%,
      rgba(20, 8, 3, .45)
    );
}

.cover-content {
  position: relative;
  z-index: 2;

  width: min(92%, 470px);

  padding: 30px 20px;
}

.cover-small {
  font-size: 11px;

  letter-spacing: 5px;

  color: var(--gold-light);

  margin-bottom: 20px;
}

.cover-photo {

  width: 145px;
  height: 145px;

  margin: auto;

  padding: 5px;

  border: 1px solid var(--gold-light);

  border-radius: 50%;

  box-shadow:
    0 0 0 7px rgba(185,144,82,.12),
    0 15px 45px rgba(0,0,0,.3);
}

.cover-photo img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 50%;
}

.cover-date {

  margin-top: 25px;

  font-size: 11px;

  letter-spacing: 4px;

  color: var(--gold-light);
}

.cover-names {

  margin-top: 5px;

  font-family: 'Sacramento', cursive;

  font-size: clamp(55px, 16vw, 78px);

  font-weight: 400;

  line-height: .9;
}

.cover-names span {
  color: var(--gold-light);
  margin: 0 4px;
}

.cover-line {

  width: 80px;
  height: 1px;

  background: var(--gold);

  margin: 25px auto;
}

.cover-text {

  max-width: 340px;

  margin: auto;

  font-family: 'Playfair Display', serif;

  font-size: 13px;

  line-height: 1.8;

  color: rgba(255,255,255,.8);
}

.guest-container {

  margin: 25px auto 18px;

  padding: 12px 22px;

  width: fit-content;

  min-width: 220px;

  background: rgba(255,255,255,.08);

  border: 1px solid rgba(214,183,122,.35);

  backdrop-filter: blur(10px);

  border-radius: 8px;
}

.guest-container span {

  display: block;

  font-size: 9px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #d8c6ae;
}

.guest-container strong {

  display: block;

  margin-top: 4px;

  font-family: 'Playfair Display', serif;

  font-size: 15px;

  color: white;
}

.open-button {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 13px 25px;

  border: 1px solid var(--gold-light);

  border-radius: 30px;

  background: var(--gold);

  color: white;

  font-size: 10px;

  letter-spacing: 2px;

  font-weight: 600;

  box-shadow: 0 10px 30px rgba(0,0,0,.25);

  transition: all .3s ease;
}

.open-button:hover {

  background: var(--gold-light);

  transform: translateY(-3px);

  box-shadow:
    0 15px 35px rgba(0,0,0,.3);
}


/* =====================================================
   MAIN
===================================================== */

#main-content {
  display: block;
}


/* =====================================================
   DESKTOP NAV
===================================================== */

.desktop-navbar {

  display: none;

  position: sticky;

  top: 0;

  z-index: 1200;

  height: 70px;

  padding: 0 6%;

  align-items: center;
  justify-content: space-between;

  background: rgba(247,241,232,.94);

  backdrop-filter: blur(15px);

  border-bottom:
    1px solid rgba(185,144,82,.2);
}

.nav-logo {

  font-family: 'Sacramento', cursive;

  font-size: 36px;

  color: var(--brown);
}

.nav-logo span {
  color: var(--gold);
}

.desktop-navbar nav {

  display: flex;

  gap: 28px;
}

.nav-link {

  position: relative;

  text-decoration: none;

  font-size: 11px;

  letter-spacing: 1px;

  color: var(--brown);

  transition: color .3s ease;
}

.nav-link::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--gold);

  transition: width .3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {

  min-height: 90vh;

  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;
}

.hero-background {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      rgba(247,241,232,.78),
      rgba(247,241,232,.95)
    ),
    url("assets/images/background.jpg")
    center / cover;

  filter: saturate(.7);
}

.hero-content {

  position: relative;

  width: min(90%, 700px);

  padding: 80px 0;
}

.gold-text {

  color: var(--gold);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 4px;
}

.hero-title {

  margin-top: 12px;

  font-family: 'Sacramento', cursive;

  font-size: clamp(65px, 18vw, 110px);

  font-weight: 400;

  color: var(--brown);

  line-height: .9;
}

.hero-title span {
  color: var(--gold);
}

.gold-divider {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin: 25px auto;
}

.gold-divider span {

  width: 45px;

  height: 1px;

  background: var(--gold);
}

.gold-divider i {
  color: var(--gold);
  font-size: 10px;
}

.hero-date {

  font-family: 'Cinzel', serif;

  color: var(--brown);

  font-size: 12px;

  letter-spacing: 3px;

  font-weight: 600;
}

.hero-location {

  margin-top: 8px;

  font-family: 'Playfair Display', serif;

  color: var(--muted);

  font-size: 13px;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {

  width: min(100%, 1050px);

  margin: auto;

  padding:
    90px 20px;

  position: relative;
}

.brown-section {

  width: 100%;

  max-width: none;

  padding-left: max(20px, calc((100% - 1050px)/2));

  padding-right: max(20px, calc((100% - 1050px)/2));

  background:
    linear-gradient(
      135deg,
      #3b2115,
      #4d2d1d
    );

  color: white;
}

.section-heading {

  text-align: center;

  margin-bottom: 45px;
}

.eyebrow {

  color: var(--gold);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 4px;

  margin-bottom: 9px;
}

.section-heading h2 {

  font-family: 'Cinzel', serif;

  color: var(--brown);

  font-size: clamp(25px, 7vw, 36px);

  font-weight: 500;
}

.brown-section .section-heading h2 {
  color: white;
}

.heading-line {

  width: 45px;

  height: 1px;

  margin: 15px auto 0;

  background: var(--gold);
}

.quote {

  max-width: 650px;

  margin: 0 auto 50px;

  text-align: center;

  color: var(--muted);

  font-family: 'Playfair Display', serif;

  font-style: italic;

  line-height: 1.9;

  font-size: 13px;
}


/* =====================================================
   COUPLE
===================================================== */

.couple-wrapper {

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 35px;

  flex-direction: column;
}

.person {

  width: 100%;

  text-align: center;
}

.person-photo {

  width: 190px;
  height: 190px;

  margin: auto;

  padding: 5px;

  border: 1px solid var(--gold);

  border-radius: 50%;

  box-shadow:
    0 12px 35px rgba(50,25,10,.15);

  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

.person:hover .person-photo {

  transform: translateY(-8px);

  box-shadow:
    0 20px 45px rgba(50,25,10,.25);
}

.person-photo img {

  width: 100%;
  height: 100%;

  border-radius: 50%;

  object-fit: cover;
}

.person-role {

  margin-top: 20px;

  color: var(--gold);

  font-size: 9px;

  letter-spacing: 3px;

  font-weight: 600;
}

.person h3 {

  margin-top: 5px;

  color: var(--brown);

  font-family: 'Sacramento', cursive;

  font-size: 42px;

  font-weight: 400;
}

.person-title {

  color: var(--gold);

  font-family: 'Cinzel', serif;

  font-size: 11px;

  margin-top: -5px;
}

.parents {

  margin-top: 10px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}

.couple-symbol {

  width: 55px;
  height: 55px;

  flex-shrink: 0;

  border: 1px solid var(--gold);

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--gold);

  font-family: 'Sacramento', cursive;

  font-size: 34px;
}


/* =====================================================
   TIMELINE
===================================================== */

.timeline {

  position: relative;

  max-width: 700px;

  margin: auto;
}

.timeline::before {

  content: "";

  position: absolute;

  left: 15px;

  top: 0;
  bottom: 0;

  width: 1px;

  background:
    linear-gradient(
      var(--gold),
      rgba(185,144,82,.1)
    );
}

.timeline-item {

  position: relative;

  padding-left: 55px;

  margin-bottom: 30px;
}

.timeline-dot {

  position: absolute;

  left: 0;

  top: 15px;

  width: 31px;
  height: 31px;

  border-radius: 50%;

  background: var(--brown);

  border: 1px solid var(--gold);

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--gold);

  font-size: 9px;

  z-index: 2;
}

.timeline-card {

  padding: 22px;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid rgba(214,183,122,.2);

  border-radius: 10px;

  backdrop-filter: blur(10px);

  transition:
    transform .4s ease,
    background .4s ease;
}

.timeline-card:hover {

  transform: translateY(-5px);

  background:
    rgba(255,255,255,.1);
}

.timeline-card span {

  color: var(--gold-light);

  font-size: 9px;

  letter-spacing: 2px;
}

.timeline-card h3 {

  margin: 7px 0;

  font-family: 'Cinzel', serif;

  font-size: 16px;

  font-weight: 500;
}

.timeline-card p {

  color: rgba(255,255,255,.65);

  font-size: 11px;

  line-height: 1.7;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.countdown {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 8px;

  max-width: 550px;

  margin: 0 auto 50px;
}

.count-box {

  text-align: center;

  padding: 18px 5px;

  border:
    1px solid rgba(185,144,82,.3);

  background: white;

  border-radius: 8px;

  box-shadow: var(--shadow);
}

.count-box strong {

  display: block;

  color: var(--brown);

  font-family: 'Cinzel', serif;

  font-size: 24px;
}

.count-box span {

  color: var(--gold);

  font-size: 8px;

  letter-spacing: 1px;
}


/* =====================================================
   EVENT
===================================================== */

.event-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 20px;
}

.event-card {

  text-align: center;

  padding: 35px 20px;

  background: white;

  border:
    1px solid rgba(185,144,82,.2);

  border-radius: 12px;

  box-shadow: var(--shadow);

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.event-card:hover {

  transform: translateY(-8px);

  box-shadow: var(--shadow-heavy);
}

.event-icon {

  width: 50px;
  height: 50px;

  margin: auto auto 15px;

  border-radius: 50%;

  background: var(--brown);

  color: var(--gold-light);

  display: flex;

  align-items: center;
  justify-content: center;
}

.event-label {

  color: var(--gold);

  font-size: 9px;

  letter-spacing: 3px;

  font-weight: 600;
}

.event-card h3 {

  margin-top: 10px;

  color: var(--brown);

  font-family: 'Cinzel', serif;

  font-size: 15px;

  font-weight: 600;
}

.event-time {

  margin-top: 6px;

  color: var(--muted);

  font-size: 12px;
}

.event-divider {

  width: 40px;

  height: 1px;

  background: var(--gold);

  margin: 20px auto;
}

.event-place {

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}

.event-place strong {
  color: var(--brown);
}

.map-button {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-top: 20px;

  padding: 10px 17px;

  background: var(--brown);

  color: white;

  border-radius: 25px;

  text-decoration: none;

  font-size: 9px;

  letter-spacing: 1px;

  transition:
    background .3s ease,
    transform .3s ease;
}

.map-button:hover {

  background: var(--gold);

  transform: translateY(-2px);
}


/* =====================================================
   GALLERY
===================================================== */

.gallery-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 8px;
}

.gallery-item {

  position: relative;

  height: 190px;

  overflow: hidden;

  border-radius: 7px;

  cursor: pointer;
}

.gallery-item.large {

  grid-column: span 2;

  height: 260px;
}

.gallery-item img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .7s cubic-bezier(.22,1,.36,1);
}

.gallery-item:hover img {

  transform: scale(1.08);
}

.gallery-overlay {

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    rgba(35,18,10,.25);

  color: white;

  opacity: 0;

  transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}


/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {

  position: fixed;

  inset: 0;

  background: rgba(20,10,5,.94);

  z-index: 6000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}

.lightbox.show {
  display: flex;
}

.lightbox img {

  max-width: 95vw;

  max-height: 85vh;

  object-fit: contain;

  border-radius: 5px;
}

.lightbox-close {

  position: absolute;

  top: 20px;
  right: 20px;

  border: none;

  background: transparent;

  color: white;

  font-size: 35px;
}


/* =====================================================
   LIVE
===================================================== */

.live-card {

  max-width: 650px;

  margin: auto;

  text-align: center;

  padding: 45px 25px;

  border:
    1px solid rgba(185,144,82,.2);

  border-radius: 14px;

  box-shadow: var(--shadow);

  background: white;
}

.live-icon {

  width: 65px;
  height: 65px;

  margin: auto auto 20px;

  border-radius: 50%;

  background: var(--brown);

  color: var(--gold-light);

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 22px;
}

.live-card h2 {

  color: var(--brown);

  font-family: 'Cinzel', serif;

  font-size: 25px;

  margin-bottom: 12px;
}

.live-card > p:not(.eyebrow) {

  max-width: 450px;

  margin: auto;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.8;
}

.youtube-button {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 25px;

  padding: 12px 20px;

  border-radius: 25px;

  background: #9c2d25;

  color: white;

  text-decoration: none;

  font-size: 10px;

  transition: transform .3s ease;
}

.youtube-button:hover {
  transform: translateY(-3px);
}


/* =====================================================
   GIFT
===================================================== */

.gift-description {

  max-width: 600px;

  margin:
    -20px auto 35px;

  text-align: center;

  color: rgba(255,255,255,.65);

  font-family: 'Playfair Display', serif;

  font-size: 12px;

  line-height: 1.8;
}

.gift-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 18px;
}

.gift-card {

  text-align: center;

  padding: 30px 20px;

  background: rgba(255,255,255,.07);

  border:
    1px solid rgba(214,183,122,.25);

  border-radius: 10px;

  transition:
    transform .4s ease,
    background .4s ease;
}

.gift-card:hover {

  transform: translateY(-6px);

  background: rgba(255,255,255,.11);
}

.bank-icon {

  color: var(--gold-light);

  font-size: 25px;

  margin-bottom: 12px;
}

.bank-name {

  font-size: 9px;

  letter-spacing: 3px;

  color: var(--gold-light);
}

.gift-card h3 {

  margin: 8px 0 3px;

  font-family: 'Cinzel', serif;

  letter-spacing: 2px;

  font-size: 20px;
}

.gift-card > p:not(.bank-name) {

  font-size: 10px;

  color: rgba(255,255,255,.65);
}

.copy-button {

  margin-top: 15px;

  padding: 8px 15px;

  border:
    1px solid var(--gold);

  border-radius: 20px;

  background: transparent;

  color: var(--gold-light);

  font-size: 9px;

  transition:
    all .3s ease;
}

.copy-button:hover {

  background: var(--gold);

  color: white;
}


/* =====================================================
   RSVP
===================================================== */

.rsvp-card {

  max-width: 700px;

  margin: auto;

  padding: 25px;

  border-radius: 12px;

  background: white;

  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {

  display: block;

  margin-bottom: 7px;

  color: var(--brown);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: .5px;
}

.form-group input,
.form-group select,
.form-group textarea {

  width: 100%;

  border:
    1px solid #ded4ca;

  background: #fcfaf7;

  padding: 12px 13px;

  border-radius: 7px;

  outline: none;

  color: var(--brown);

  font-size: 12px;

  transition:
    border-color .3s ease,
    box-shadow .3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

  border-color: var(--gold);

  box-shadow:
    0 0 0 3px rgba(185,144,82,.1);
}

.form-group textarea {
  resize: vertical;
}

.submit-button {

  width: 100%;

  border: none;

  padding: 13px;

  border-radius: 7px;

  background: var(--brown);

  color: white;

  font-size: 10px;

  letter-spacing: 1px;

  transition:
    background .3s ease,
    transform .3s ease;
}

.submit-button:hover {

  background: var(--gold);

  transform: translateY(-2px);
}


/* =====================================================
   COMMENTS
===================================================== */

.comments {

  margin-top: 30px;

  max-height: 350px;

  overflow-y: auto;

  padding-right: 5px;
}

.loading {

  text-align: center;

  padding: 20px;

  color: #999;

  font-size: 11px;
}

.comment-item {

  padding: 15px 0;

  border-bottom:
    1px solid #eee;
}

.comment-header {

  display: flex;

  justify-content: space-between;

  gap: 10px;
}

.comment-name {

  color: var(--brown);

  font-size: 11px;

  font-weight: 600;
}

.comment-status {

  color: var(--gold);

  font-size: 9px;

  font-weight: 600;
}

.comment-text {

  margin-top: 6px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}


/* =====================================================
   FOOTER
===================================================== */

footer {

  text-align: center;

  padding:
    60px 20px 100px;

  background: var(--brown-dark);

  color: rgba(255,255,255,.7);
}

.footer-symbol {

  font-family: 'Sacramento', cursive;

  font-size: 45px;

  color: var(--gold-light);
}

footer h3 {

  margin-top: 5px;

  color: white;

  font-family: 'Cinzel', serif;

  font-size: 13px;

  letter-spacing: 2px;
}

footer p {

  margin-top: 10px;

  font-size: 10px;
}

.footer-heart {

  margin-top: 20px;

  color: var(--gold);

  animation: heartBeat 1.5s ease infinite;
}

@keyframes heartBeat {

  0%,100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

}


/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-nav {

  position: fixed;

  left: 10px;
  right: 10px;

  bottom: 10px;

  height: 62px;

  z-index: 1300;

  display: flex;

  align-items: center;
  justify-content: space-around;

  background:
    rgba(53,30,19,.95);

  backdrop-filter: blur(15px);

  border:
    1px solid rgba(214,183,122,.2);

  border-radius: 15px;

  box-shadow:
    0 15px 40px rgba(0,0,0,.25);
}

.mobile-nav-link {

  width: 20%;

  text-align: center;

  text-decoration: none;

  color: rgba(255,255,255,.5);

  font-size: 8px;

  transition:
    color .3s ease,
    transform .3s ease;
}

.mobile-nav-link i {

  display: block;

  font-size: 14px;

  margin-bottom: 4px;
}

.mobile-nav-link.active {

  color: var(--gold-light);

  transform: translateY(-3px);
}


/* =====================================================
   MODAL
===================================================== */

.modal {

  position: fixed;

  inset: 0;

  z-index: 7000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(20,10,5,.65);

  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
}

.modal-box {

  width: min(100%, 350px);

  padding: 30px 25px;

  text-align: center;

  background: var(--cream);

  border-radius: 12px;

  box-shadow: var(--shadow-heavy);
}

.success-icon {

  width: 55px;
  height: 55px;

  margin: auto auto 15px;

  border-radius: 50%;

  background: var(--brown);

  color: var(--gold-light);

  display: flex;

  align-items: center;
  justify-content: center;
}

.modal-box h3 {

  color: var(--brown);

  font-family: 'Cinzel', serif;

  font-size: 18px;
}

.modal-box p {

  margin: 10px 0 20px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}


/* =====================================================
   AOS OVERRIDE
===================================================== */

[data-aos] {
  transition-property:
    transform,
    opacity !important;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 50px, 0);
}

[data-aos="fade-down"] {
  transform: translate3d(0, -50px, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(70px, 0, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-70px, 0, 0);
}

[data-aos="zoom-in"] {
  transform: scale(.82);
}

[data-aos].aos-animate {

  opacity: 1;

  transform:
    translate3d(0,0,0)
    scale(1);
}


/* =====================================================
   TABLET / DESKTOP
===================================================== */

@media (min-width: 768px) {

  .desktop-navbar {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .music-button {
    bottom: 25px;
  }

  .couple-wrapper {

    flex-direction: row;

    gap: 70px;
  }

  .person {
    max-width: 300px;
  }

  .event-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }

  .gift-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }

  .gallery-grid {

    grid-template-columns:
      repeat(3, 1fr);

    gap: 12px;
  }

  .gallery-item,
  .gallery-item.large {

    grid-column: auto;

    height: 300px;
  }

  .gallery-item.large {

    grid-row: span 2;

    height: 612px;
  }

  .section {
    padding-top: 110px;
    padding-bottom: 110px;
  }

}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media (min-width: 1100px) {

  .hero-section {
    min-height: 95vh;
  }

  .couple-wrapper {
    gap: 100px;
  }

  .person-photo {
    width: 220px;
    height: 220px;
  }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

  .cover-photo {

    width: 125px;
    height: 125px;
  }

  .cover-names {
    font-size: 58px;
  }

  .section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .count-box strong {
    font-size: 20px;
  }

}
/* =========================================
   ANIMASI MEMPELAI
========================================= */

.couple-animation {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Posisi awal pria */
.couple-left {
  transform: translateX(-100px);
}

/* Posisi awal wanita */
.couple-right {
  transform: translateX(100px);
}

/* Posisi awal simbol */
.couple-divider {
  transform: scale(0.4);
}

/* Saat masuk viewport */
.couple-animation.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Sedikit delay supaya masuk bergantian */
.couple-left.show {
  transition-delay: 0.1s;
}

.couple-divider.show {
  transition-delay: 0.3s;
}

.couple-right.show {
  transition-delay: 0.5s;
}


/* =========================================
   EFEK FOTO MEMPELAI
========================================= */

.frame-avatar {
  position: relative;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.frame-avatar::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s ease;
}

.profile-card:hover .frame-avatar {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 15px 35px rgba(90, 55, 25, 0.2);
}

.profile-card:hover .frame-avatar::before {
  transform: rotate(20deg);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .couple-container {
    gap: 35px;
    width: 100%;
  }

  .profile-card {
    width: 100%;
    max-width: 330px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .parents {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  .couple-left {
    transform: translateX(-60px);
  }

  .couple-right {
    transform: translateX(60px);
  }

  .couple-divider {
    margin: -5px 0;
  }

  .frame-avatar {
    width: 150px;
    height: 150px;
  }
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

  .couple-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
  }

  .profile-card {
    flex: 1;
    max-width: 300px;
  }

  .couple-divider {
    flex: 0 0 auto;
  }
}


/* =========================================
   AKTIF SAAT SCROLL
========================================= */

.couple-animation.show .frame-avatar {
  animation: couplePhotoReveal 1.2s ease both;
}

@keyframes couplePhotoReveal {

  0% {
    transform: scale(0.75) rotate(-5deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.05) rotate(2deg);
  }

  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }

}

/* =========================================
   WEDDING QUOTE SECTION
========================================= */

.quote-section {
  position: relative;
  min-height: 520px;
  margin: 40px auto;
  padding: 80px 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(65, 39, 20, 0.88),
      rgba(65, 39, 20, 0.92)
    ),
    url("assets/images/background.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  color: #fff;

  border-top: 1px solid rgba(197, 160, 89, 0.4);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
}


/* Lapisan dekorasi */

.quote-section::before {
  content: "";
  position: absolute;
  inset: 20px;

  border: 1px solid rgba(229, 193, 128, 0.45);

  pointer-events: none;
}


/* Konten */

.quote-content {
  position: relative;
  z-index: 2;

  max-width: 750px;

  text-align: center;

  padding: 30px;
}


/* Subtitle */

.quote-subtitle {
  color: #e5c180;

  font-size: 0.75rem;

  letter-spacing: 4px;

  font-weight: 600;

  margin-bottom: 20px;
}


/* Tanda kutip */

.quote-symbol {
  font-family: Georgia, serif;

  font-size: 5rem;

  line-height: 0.7;

  color: #e5c180;

  opacity: 0.8;

  margin-bottom: 15px;
}


/* Isi quote */

.wedding-quote {
  font-family: 'Cinzel', serif;

  font-size: 1.35rem;

  line-height: 1.9;

  font-weight: 400;

  color: #fff;

  text-shadow:
    0 2px 10px rgba(0,0,0,0.3);
}


/* Garis */

.quote-line {
  width: 80px;
  height: 1px;

  background: #e5c180;

  margin: 30px auto 15px;

  position: relative;
}

.quote-line::before,
.quote-line::after {
  content: "✦";

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  color: #e5c180;

  font-size: 10px;
}

.quote-line::before {
  left: -18px;
}

.quote-line::after {
  right: -18px;
}


/* Nama */

.quote-name {
  font-size: 2.5rem;

  color: #e5c180;

  margin-top: 10px;
}


/* Tanggal */

.quote-date {
  font-size: 0.75rem;

  letter-spacing: 3px;

  color: rgba(255,255,255,0.7);

  margin-top: 5px;
}


/* =========================================
   DEKORASI
========================================= */

.quote-decoration {
  position: absolute;

  color: #e5c180;

  opacity: 0.5;

  font-size: 1.5rem;

  z-index: 1;
}

.quote-decoration-top {
  top: 40px;
  left: 40px;

  animation: floatingStar 4s ease-in-out infinite;
}

.quote-decoration-bottom {
  bottom: 40px;
  right: 40px;

  animation: floatingStar 4s ease-in-out infinite reverse;
}

@keyframes floatingStar {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(20deg);
  }

}


/* =========================================
   RESPONSIVE HP
========================================= */

@media (max-width: 767px) {

  .quote-section {
    min-height: 500px;

    margin: 30px 0;

    padding: 70px 20px;

    background-attachment: scroll;
  }

  .quote-section::before {
    inset: 15px;
  }

  .quote-content {
    padding: 20px;
  }

  .quote-subtitle {
    font-size: 0.65rem;
    letter-spacing: 3px;
  }

  .quote-symbol {
    font-size: 4rem;
  }

  .wedding-quote {
    font-size: 1rem;
    line-height: 1.8;
  }

  .quote-name {
    font-size: 2.2rem;
  }

  .quote-decoration-top {
    top: 30px;
    left: 25px;
  }

  .quote-decoration-bottom {
    bottom: 30px;
    right: 25px;
  }

}
/* =========================================
   QUOTE SCROLL ANIMATION
========================================= */

.quote-content {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-section.quote-show .quote-content {
  opacity: 1;
  transform: translateY(0);
}

.quote-section.quote-show .quote-symbol {
  animation: quoteSymbol 1s ease forwards;
}

@keyframes quoteSymbol {

  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-15deg);
  }

  70% {
    transform: scale(1.15) rotate(5deg);
  }

  100% {
    opacity: 0.8;
    transform: scale(1) rotate(0);
  }

}