:root{
    --pink:#7A4E2B;      /* warna utama */
    --gold:#C8A14B;      /* emas */
    --cream:#F8F4EC;     /* background */
    --dark:#3C2A21;
    --shadow:0 2px 8px rgba(0,0,0,.35);
    --bg:#3C2A21;
}

body {
  font-size: 1.2rem;
  font-family: 'Work Sans', sans-serif;
  min-height: 4000px;
  background:var(--cream);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-bg-1 {
  background-image:
    linear-gradient(
      rgba(0,0,0,.45),
      rgba(0,0,0,.45)
    ),
    url('img/bg_wedding.jpg');

  animation: heroFade1 14s infinite;
}

.hero-bg-2 {
  background-image:
    linear-gradient(
      rgba(0,0,0,.45),
      rgba(0,0,0,.45)
    ),
    url('img/bg_wedding1.jpg');

  animation: heroFade2 14s infinite;
}

.hero h1,
.hero h4,
.hero p {
  text-shadow: var(--shadow);
}

.hero h1 {
  font-family: 'Sacramento', cursive;
  font-size: 6rem;
}

.hero h4 {
  font-size: 1.6rem;
}

.hero p {
  font-size: 1.4rem;
}

.hero a {
  background:var(--gold);
  color:white;
  box-shadow: var(--shadow);
}

.hero a:hover {
  background: var(--pink);
  color: white;
}

/* ==================== GANTI BAGIAN NAVBAR LAMA DENGAN INI ==================== */
.mynavbar {
  background: rgba(248,244,236,.75) !important; /* Warna transparan putih halus */
  -webkit-backdrop-filter: blur(8px) !important;          /* Efek blur kaca untuk Safari/iOS */
  backdrop-filter: blur(10px) !important;                  /* Efek blur kaca untuk Chrome/Android */
  box-shadow:0 6px 25px rgba(122,78,43,.12);             /* Bayangan tipis di bawah navbar */
  transition: all 0.3s ease;
}

.mynavbar .navbar-brand {
  font-family: 'Sacramento', cursive;
  font-size: 3.2rem;
  font-weight: bold;
}

.mynavbar .nav-link {
  text-transform: uppercase;
}

.home {
  background-image: url(img/Autumnal_botanical_frame_with_golden_hues.png);
  background-size: cover;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.home h2,
.info h2,
.story h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  color: var(--pink);
  color:var(--gold);
  text-shadow:0 3px 12px rgba(0,0,0,.15);
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;
}

.home h3 {
  color: #444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #666;
}

.home .couple {
  margin-top: 100px;
}

.home .couple h3 {
  font-family: 'Sacramento';
  font-size: 2.4rem;
  color: var(--pink);
}

.home .couple p{
    font-size:1.2rem;
    line-height:1.8;
}

.home .couple img {
  width: 100%;
}

.home .heart {
  width: 50px;
  height: 50px;
  background-color: white;
  display: flex;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(65px);
}

.home .heart i {
  margin: auto;
  color: var(--pink);
}

.info {
  position: relative;
  color: white;
  padding-top: 10rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.info::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: url('img/Ornate_temple_in_sepia_tones.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;

  opacity: 0.45;
  z-index: 0;

  pointer-events: none;
}

.info::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
  pointer-events: none;
}

.info .container {
  position: relative;
  z-index: 2;
}

.info .alamat {
  font-size:1.3rem;
  line-height:1.8;
  color: #333;
}

.info .description {
  font-size:1.2rem;
  line-height:1.8;
  font-weight: 300;
  color: #333;
}

.info iframe {
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 4px solid rgba(255,255,255,0.7);
}

.info .btn-light {
  background-color: var(--pink);
  color: white;
  border: 1px solid var(--pink);
  border-radius: 50px;
  padding: 10px 25px;
  transition: 0.3s ease;
  font-size:1.15rem;
  font-weight:600;
}

.info .btn-light:hover,
.info .btn-light:active {
  background-color: white;
  color: var(--pink);
  border: 1px solid var(--pink);
}

.info .card {
  background:rgba(255,250,245,.95) !important;
  color: #444 !important;
  border: none;
  border-radius: 20px;
  border:1px solid rgba(200,161,75,.3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
}

.info .card-header {
  background: rgba(200,161,75,.12);
  border-bottom: 1px solid rgba(200,161,75,.25);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 600;
  color: var(--pink);
  font-size:1.3rem;
}

.info .card-body {
  font-size:1.15rem;
  line-height:1.8;
}

.info .card-body i {
  color: var(--pink);
  font-size:1.6rem;
  margin-bottom: 8px;
}

.info .card-footer {
  background: rgba(250, 242, 233, 0.85);
  border-top: 1px solid rgba(200,161,75,.25);
  color: #5c4630 !important;
  font-size: 1.05rem;
}

.info .card-header,
.info .card-body,
.info .card-footer {
  color: #333 !important;
}

.story,
.gallery,
.rsvp,
.gifts {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.story {
  background-image: url(img/backgroun1.png);
  background-size: cover;
}

.story span,
.gallery span,
.gifts span {
  text-transform: uppercase;
  color: #666;
  font-size:1rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.story p,
.gallery p,
.rsvp p,
.gifts p {
  font-size:1.2rem;
  line-height:1.9;
  font-weight: 300;
}

.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: '';
  top: 0;
  bottom: 0;
  position: absolute;
  width: 1px;
  background:#C8A14B;
  left: 50%;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before,
.timeline li::after {
  content: '';
  display: table;
}

.timeline li::after {
  clear: both;
}

.timeline li .timeline-image {
  width: 160px;
  height: 160px;
  background-color: #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline li .timeline-panel {
  width: 40%;
  float: left;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
  background:#fffdf8;
  border:1px solid rgba(200,161,75,.4);
}

.timeline li .timeline-panel::before {
  content: '';
  display: inline-block;
  position: absolute;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  top: 80px;
  right: -15px;
}

.timeline li .timeline-panel::after {
  content: '';
  position: absolute;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  top: 81px;
  right: -13px;
}

.timeline li.timeline-inverted .timeline-panel {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

.timeline-panel h3{
    font-size:2rem;
}

.timeline-panel h4{
    font-size:1.3rem;
}

.timeline-panel p{
    font-size:1.15rem;
}

.gallery {
  background-image: url(img/Autumnal_botanical_frame_with_golden_hues.png);
  background-size: cover;
  background-position: center;
}

/* ===== GALERI FOTO ===== */

.gallery .col {
  padding: 10px;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow:0 8px 20px rgba(122,78,43,.15);
}

.gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: 0.5s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.rsvp {
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

.rsvp::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: url('img/Traditional-Javanese-cultural-pavilion-design.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.08);

  transition:
    opacity 1.5s ease,
    transform 1.5s ease;

  z-index: 0;
  pointer-events: none;
}

.rsvp.show-bg::before {
  opacity: 0.95;
  transform: scale(1);
}

.rsvp::after {
  content: '';
  position: absolute;
  inset: 0;

  background:rgba(255,250,240,.45);

  z-index: 1;
  pointer-events: none;
}

.rsvp .container {
  position: relative;
  z-index: 2;
}

.rsvp h2 {
  font-size: 4.5rem;
}

.rsvp p {
  color: #333;
}

.rsvp form label {
  color: #444;
  font-size:1.2rem;
  font-weight:600;
}

.rsvp form {
  background:rgba(255,250,245,.78);
  backdrop-filter: blur(8px);
  padding: 25px;
  border-radius: 20px;
}

.rsvp button {
  background-color: var(--pink);
  color: white;
  border:1px solid rgba(200,161,75,.35);
  font-size:1.15rem;
}

.rsvp button:hover {
  background-color: white;
  color: var(--pink);
  border: 1px solid white;
}

/* ===== Buku Tamu ===== */
.guestbook-title {
  color: var(--pink);
  color: var(--gold);
  text-shadow:0 3px 12px rgba(0,0,0,.15);
  font-family: 'Sacramento', cursive;
  font-size: 5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.guestbook-list {
  margin-top: 2rem;
}

.guestbook-card {
  background: rgba(255, 253, 249, 0.65); /* Transparan */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  color: #444;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 10px 25px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.4);

  padding: 20px;
  margin-bottom: 15px;
  transition: all .3s ease;
}

.guestbook-card:hover {
  transform: translateY(-5px);

  border-color: rgba(166,124,82,.35);

  box-shadow:
    0 15px 35px rgba(166,124,82,.18),
    inset 0 1px 0 rgba(255,255,255,.5);
}

.guestbook-card h5 {
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 2px;
  font-size:1.45rem;
}

.guestbook-card p {
  color: #555;
  margin-bottom: 0;
  line-height: 1.6;
  font-size:1.15rem;
}

.guestbook-card small {
  color: #999;
  font-size: 0.8rem;
  font-size:1rem;
}

#guestbook-form .form-control {
  border-radius: 15px;
  padding: 12px 15px;
  border: none;
}

#guestbook-form textarea {
  resize: none;
}

#guestbook-form button {
  background: var(--pink);
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  transition: 0.3s;
}

#guestbook-form button:hover {
  background: white;
  color: var(--pink);
}

.guestbook-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 15px;
}

.guestbook-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

#guestbook-list {
  max-height: 550px;
  overflow-y: auto;
  padding-right: 8px;
}

#guestbook-list::-webkit-scrollbar {
  width: 8px;
}

#guestbook-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

#guestbook-list::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 10px;
}

footer {
  padding: 3rem;
  background:#3C2A21;
  color: white;
}

footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

footer li {
  list-style: none;
  display: inline;
  margin: 0.5rem;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  z-index: 99999;
}

.gifts {
  background-image: url(img/Autumnal_botanical_frame_with_golden_hues.png);
  background-size: cover;
}

.gift-card {
  background:rgba(255,250,245,.85);
  backdrop-filter:blur(15px);
  border-radius: 25px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: all .4s ease;
  border: 1px solid rgba(200,161,75,.35);
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(200,161,75,.25);
}

.bank-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 10px;
}

.rekening-number {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.rekening-name {
  color: #777;
  font-size: 1.2rem;
}

.qris-card {
  text-align: center;
}

.qris-image {
  width: 220px;
  border-radius: 15px;
  padding: 10px;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Lightbox */
.modal-dialog {
  max-width: 900px !important;
}

.modal-body img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 15px;
}

.animate-title,
.animate-text {
  opacity: 0;
  transform: translateY(25px);
  filter: blur(8px);
  transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
}

.animate-title.show,
.animate-text.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes heroFade1 {

  0%, 45% {
    opacity: 1;
    transform: scale(1);
  }

  50%, 95% {
    opacity: 0;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroFade2 {

  0%, 45% {
    opacity: 0;
    transform: scale(1);
  }

  50%, 95% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Media Query */
/* Extra large */
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(45px);
  }
}

/* laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }

  .home .heart {
    display: none;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline li .timeline-image {
    left: 15px;
    margin-left: 45px;
    top: 16px;
  }

  .timeline li .timeline-panel {
    width: calc((100% - 200px));
    float: right;
  }

  .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .simply-countdown > .simply-section .simply-word {
    font-size: 1.1rem;
  }

  .sticky-top {
    overflow: hidden;
  }

  .mynavbar .nav-link {
    font-size: 2rem;
    text-align: center;
  }

  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .simply-countdown > .simply-section .simply-word {
    font-size: 1.15rem;
  }

  .timeline li .timeline-image {
    width: 80px;
    height: 80px;
  }

  .timeline li .timeline-panel {
    width: 65%;
    transform: translateX(-20px);
  }

  .timeline li .timeline-panel::before {
    top: 30px;
  }

  .timeline li .timeline-panel::after {
    top: 31px;
  }
}