:root {
  --gold: #c9a961;
  --dark-gold: #a8894d;
  --champagne: #f7e7ce;
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
}

body {
  font-size: 1.1rem;
  font-family: "Work Sans", sans-serif;
  margin: 0;
  padding: 0;
}

/* SCROLL LOCK */
body.overflow-hidden {
  overflow: hidden !important;
  height: 100vh;
}

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

.hero {
  min-height: 100vh;
  background: url("img/bg-prewed.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero main {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Sacramento", cursive;
  font-size: 5.5rem;
  color: var(--gold);
  margin: 15px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.simply-countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
}

.simply-section {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.simply-amount {
  font-size: 1.6rem;
  font-weight: bold;
}

.simply-word {
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: white;
  border-radius: 30px;
  padding: 12px 35px;
  border: none;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--dark-gold), #8a7139);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar-brand {
  font-family: "Sacramento", cursive;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: bold;
}

.navbar-nav .nav-link {
  color: #333;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

/* ========================= */
/* UNDANGAN */
/* ========================= */

.undangan {
  padding: 80px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)), url("img/bg-flower.png");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Ornamen Dekoratif Undangan */
.ornamen-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(circle, var(--gold) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.15;
}

.ornamen-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(201, 169, 97, 0.08), transparent);
  pointer-events: none;
}

.undangan::before {
  content: "❋";
  position: absolute;
  top: 50px;
  left: 10%;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.undangan::after {
  content: "❋";
  position: absolute;
  top: 150px;
  right: 10%;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.2;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.undangan h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.undangan .lead {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.undangan .desc {
  max-width: 650px;
  margin: 0 auto 50px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ========================= */
/* PASANGAN */
/* ========================= */

.pasangan {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.foto {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pria {
  transform: scaleX(-1);
}

.love {
  font-size: 2.2rem;
  color: var(--gold);
}

.pasangan h3 {
  font-family: "Sacramento", cursive;
  color: var(--gold);
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.pasangan p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 5px;
}

.pasangan span {
  font-size: 0.85rem;
  color: #888;
}

/* ========================= */
/* INFO ACARA */
/* ========================= */

.info {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  position: relative;
  overflow: hidden;
}

/* Pattern Overlay untuk Info */
.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(201, 169, 97, 0.03) 49%, rgba(201, 169, 97, 0.03) 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, rgba(201, 169, 97, 0.03) 49%, rgba(201, 169, 97, 0.03) 51%, transparent 52%);
  background-size: 30px 30px;
  pointer-events: none;
}

.info::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1), transparent);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.info::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08), transparent);
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.info h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.info .alamat {
  font-size: 1rem;
  margin: 15px 0;
  color: #ddd;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.info .note {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

/* CARD */
.card-acara {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 20px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.card-acara:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.icon-ring {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.card-acara h4 {
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 1.1rem;
}

.card-acara p {
  margin: 3px 0;
  color: #eee;
}

.card-acara small {
  color: #ccc;
  font-size: 0.85rem;
}

/* ========================= */
/* STORY */
/* ========================= */

.story {
  padding: 80px 0;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* Dekorasi Bunga untuk Story */
.flower-decor {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.1;
  pointer-events: none;
}

.flower-left {
  top: 100px;
  left: 50px;
  background: radial-gradient(circle, var(--gold) 20%, transparent 70%);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.flower-right {
  bottom: 100px;
  right: 50px;
  background: radial-gradient(circle, var(--dark-gold) 20%, transparent 70%);
  border-radius: 50%;
  animation: rotate 25s linear infinite reverse;
}

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

.story::before {
  content: "✿";
  position: absolute;
  top: 80px;
  right: 15%;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  animation: float 7s ease-in-out infinite;
}

.story::after {
  content: "✿";
  position: absolute;
  bottom: 80px;
  left: 15%;
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.15;
  animation: float 9s ease-in-out infinite;
}

.story h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.story .subtitle {
  color: #777;
  margin-bottom: 50px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding: 20px 0;
  z-index: 1;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--dark-gold));
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 15px 40px;
  position: relative;
  width: 50%;
  margin-bottom: 20px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  right: -9px;
  background: var(--gold);
  border-radius: 50%;
  top: 20px;
  box-shadow:
    0 0 0 4px #fafafa,
    0 0 0 6px var(--gold);
}

.timeline-item.right::after {
  left: -9px;
}

.content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.content h4 {
  color: var(--gold);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.content span {
  font-size: 0.8rem;
  color: #999;
}

.content p {
  margin-top: 10px;
  color: #666;
  font-size: 0.9rem;
}

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

.gallery {
  padding: 80px 0;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

/* Ornamen Gallery */
.gallery-ornament {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(201, 169, 97, 0.03) 50px, rgba(201, 169, 97, 0.03) 51px);
  pointer-events: none;
}

.gallery::before {
  content: "📷";
  position: absolute;
  top: 60px;
  left: 8%;
  font-size: 3rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.gallery::after {
  content: "📷";
  position: absolute;
  bottom: 60px;
  right: 8%;
  font-size: 3rem;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.gallery h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.gallery .sub {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.gallery .desc {
  font-size: 0.95rem;
  color: #666;
  margin: 12px 0 30px;
  position: relative;
  z-index: 1;
}

.galeri-img {
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.galeri-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

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

.rsvp {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Dekorasi RSVP */
.rsvp-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.rsvp::before {
  content: "✉";
  position: absolute;
  top: 50px;
  right: 10%;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.1;
  animation: float 7s ease-in-out infinite;
}

.rsvp h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.rsvp .desc {
  color: #777;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.rsvp .form-control {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  transition: border 0.3s;
  position: relative;
  z-index: 1;
}

.rsvp .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.15);
}

.ucapan-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 3px solid var(--gold);
  position: relative;
  z-index: 1;
}

.ucapan-item strong {
  color: var(--gold);
  font-size: 1rem;
}

.ucapan-item .badge {
  background: var(--dark-gold) !important;
  font-size: 0.75rem;
  padding: 4px 8px;
}

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

.gift {
  padding: 80px 0;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* Pattern Gift */
.gift-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201, 169, 97, 0.02) 35px, rgba(201, 169, 97, 0.02) 70px);
  pointer-events: none;
}

.gift::before {
  content: "🎁";
  position: absolute;
  top: 100px;
  left: 12%;
  font-size: 3.5rem;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.gift::after {
  content: "💝";
  position: absolute;
  bottom: 100px;
  right: 12%;
  font-size: 3rem;
  opacity: 0.12;
  animation: float 10s ease-in-out infinite;
}

.gift h2 {
  font-family: "Sacramento", cursive;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.gift .desc {
  color: #777;
  max-width: 650px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.card-gift {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  position: relative;
  z-index: 1;
}

.card-gift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.2);
  border-color: var(--gold);
}

.card-gift h4 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card-gift p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 8px 0;
}

.card-gift span {
  color: #777;
  font-size: 0.9rem;
}

.btn-gift {
  background: linear-gradient(135deg, #5a2a1d, #3e1c14);
  color: white;
  padding: 12px 35px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(90, 42, 29, 0.3);
  position: relative;
  z-index: 1;
}

.btn-gift:hover {
  background: linear-gradient(135deg, #3e1c14, #2a1209);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 42, 29, 0.5);
}

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

.footer {
  background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
  border-top-left-radius: 100% 40px;
  border-top-right-radius: 100% 40px;
}

.footer-text {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-small {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #ccc;
}

.footer-nama {
  font-family: "Sacramento", cursive;
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 15px;
}

.copyright span {
  font-weight: bold;
  color: var(--gold);
}

/* ========================= */
/* MAP */
/* ========================= */

.map-container {
  width: 100%;
  max-width: 700px;
  height: 300px;
  margin: 20px auto;
  position: relative;
  z-index: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h4 {
    font-size: 1.2rem;
  }

  .foto {
    width: 100px;
    height: 100px;
  }

  .love {
    font-size: 1.8rem;
  }

  .pasangan h3 {
    font-size: 2rem;
  }

  .undangan h2,
  .info h2,
  .story h2,
  .gallery h2,
  .rsvp h2,
  .gift h2 {
    font-size: 2.5rem;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-item::after {
    left: 11px;
  }

  .simply-section {
    width: 75px;
    height: 75px;
  }

  .simply-amount {
    font-size: 1.3rem;
  }

  .simply-word {
    font-size: 0.7rem;
  }

  .footer-nama {
    font-size: 2.5rem;
  }

  .flower-left,
  .flower-right {
    width: 100px;
    height: 100px;
  }

  .undangan::before,
  .undangan::after,
  .story::before,
  .story::after,
  .gallery::before,
  .gallery::after,
  .rsvp::before,
  .gift::before,
  .gift::after {
    font-size: 2rem;
  }
}
.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
}
/* ========================= */
/* FIX MOBILE PASANGAN */
/* ========================= */
@media (max-width: 768px) {
  .pasangan {
    text-align: center;
  }

  /* TEKS JADI CENTER */
  .pasangan .col-md-4 {
    text-align: center !important;
    margin-bottom: 20px;
  }

  /* FOTO JADI KE BAWAH */
  .pasangan .col-md-4:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* FOTO */
  .foto {
    width: 110px;
    height: 110px;
  }

  /* LOVE */
  .love {
    font-size: 1.5rem;
  }

  /* JARAK ANTAR SECTION */
  .undangan {
    padding: 60px 15px;
  }

  /* NAMA BIAR GA KEPOTONG */
  .pasangan h3 {
    font-size: 2rem;
  }
}

#hasilLink a {
  display: inline-block;
  margin-top: 10px;
}
