body {
  font-family: 'Georgia', serif;
  background: #f9f9f9;
  color: #333;
}

.hero {
  height: 100vh;
  background: url('assets/bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  transition: opacity 1s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,15,40,0.6),
    rgba(15,15,40,0.85)
  );
}


.hero-inner {
  position: relative;
  max-width: 750px;
  padding: 20px;
  animation: fadeUp 2s ease;
}

.pretitle {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 3px;
  font-size: 12px;
  color: #d4af37;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  margin: 15px 0;
}

.hero h1 span {
  color: #d4af37;
}


.card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(5px);
  max-width: 560px;
  margin: 50px auto;
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.card h2 {
  font-family: 'Playfair Display';
  color: #1a1a2e;
  text-align: center;
}

.card::before {
  content: "";
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #d4af37, #f5e6a8);
  display: block;
  margin: 0 auto 15px;
}



input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button, .btn {
  background: #2c2c54;
  color: white;
  padding: 12px;
  width: 100%;
  border-radius: 6px;
  text-decoration: none;
  border: none;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 14px;
}

.verse {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.date {
  font-family: 'Poppins';
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.guest-box {
  margin: 15px auto;
  padding: 10px 20px;
  border: 1px solid rgba(212,175,55,.5);
  display: inline-block;
  border-radius: 30px;
  font-family: 'Poppins';
  font-size: 14px;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg,#d4af37,#f5e6a8);
  color: #1a1a2e;
  text-decoration: none;
  font-family: 'Poppins';
  font-weight: 500;
  transition: .4s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,175,55,.5);
}


.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery img {
  width: 100%;
  border-radius: 14px;
  transition: .4s;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.gallery img:hover {
  transform: scale(1.06);
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#countdown {
  font-family: 'Playfair Display';
  font-size: 20px;
  text-align: center;
  color: #1a1a2e;
  margin-top: 10px;
}



#opening {
  position: fixed;
  inset: 0;
  background: url('assets/bg.jpg') center/cover no-repeat;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,30,.7);
}

.opening-content {
  position: relative;
  color: #fff;
  max-width: 600px;
  padding: 20px;
  animation: fadeUp 1.5s ease;
}

.opening-pretitle {
  font-family: 'Poppins';
  letter-spacing: 3px;
  font-size: 12px;
  color: #d4af37;
  text-transform: uppercase;
}

.opening-content h1 {
  font-family: 'Playfair Display';
  font-size: 46px;
  margin: 15px 0;
}

.opening-content h1 span {
  color: #d4af37;
}

.opening-verse {
  font-style: italic;
  margin-bottom: 25px;
}


.hidden {
  opacity: 0;
  pointer-events: none;
}


/* Kunci scroll */
body.lock {
  overflow: hidden;
}

/* Konten utama */
#content {
  transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Saat opening aktif */
body.lock #content {
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
}

/* Setelah dibuka */
body.opened #content {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}




/* SECTION */
.event-section {
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #e6c86e;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

/* WRAP */
.event-wrap {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 20px;
}

/* CARD */
.event-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 45px 35px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  transition: all 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(230,200,110,0.35);
}

/* ICON */
.event-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5e28d, #caa742);
  color: #222;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* TEXT */
.event-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: #e6c86e;
}

.event-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  margin: 6px 0;
  opacity: 0.9;
}

.time {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(230,200,110,0.15);
  color: #e6c86e;
  font-size: 14px;
}

/* DIVIDER */
.divider {
  width: 2px;
  height: 260px;
  background: linear-gradient(
    to bottom,
    transparent,
    #e6c86e,
    transparent
  );
  margin: auto;
}

/* BUTTON MAP */
.btn-map {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f5e28d, #caa742);
  color: #222;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-map:hover {
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .event-wrap {
    grid-template-columns: 1fr;
  }

  .divider {
    display: none;
  }

  .event-card {
    margin-bottom: 30px;
  }
}





/* ===== EVENT LUXURY ===== */
.event-luxury {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.event-luxury::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(230,200,110,.15), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.08), transparent 45%);
  pointer-events: none;
}

/* TITLE */
.lux-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: #e6c86e;
  text-align: center;
  margin-bottom: 90px;
}

/* TIMELINE */
.lux-timeline {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  align-items: center;
}

/* CENTER LINE */
.lux-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lux-line {
  width: 2px;
  height: 300px;
  background: linear-gradient(
    to bottom,
    transparent,
    #e6c86e,
    transparent
  );
}

/* MINI COUNTDOWN */
.lux-countdown {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(230,200,110,.35);
  color: #e6c86e;
  text-align: center;
  font-size: 14px;
}

.lux-countdown span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

/* CARD */
.lux-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  padding: 45px 40px;
  border-radius: 26px;
  color: #fff;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  transition: .4s ease;
}

.lux-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 50px 100px rgba(230,200,110,.4);
}

/* ICON */
.lux-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg,#f5e28d,#caa742);
  color: #222;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.lux-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #e6c86e;
  margin-bottom: 10px;
}



.lux-time {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  background: rgba(230,200,110,.2);
  color: #e6c86e;
  font-size: 14px;
}


/* PARAGRAPH */
.lux-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

/* MAP */
.lux-map {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg,#f5e28d,#caa742);
  color: #222;
  text-decoration: none;
  transition: .3s;
}

.lux-map:hover {
  transform: scale(1.06);
}

/* MOBILE */
@media (max-width: 900px) {
  .lux-timeline {
    grid-template-columns: 1fr;
  }

  .lux-center {
    display: none;
  }

  .lux-card {
    margin-bottom: 35px;
  }
}




.bride-groom {
  padding: 100px 20px;
  text-align: center;
  background: #fff;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 60px;
}

.couple-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.couple-card {
  max-width: 260px;
}

.photo-frame {
  position: relative;
  padding: 14px;
  background: #8fa97d;
}

.photo-frame img {
  width: 100%;
  display: block;
}

.couple-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-top: 20px;
  color: #6b8f5f;
}

.couple-card .parent {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
  line-height: 1.6;
}

.ampersand {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .couple-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .ampersand {
    font-size: 40px;
  }
}




.gallery-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* hide scrollbar (optional) */
.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll img {
  height: 300px;        /* tinggi seragam */
  width: auto;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

.gallery-scroll img:hover {
  transform: scale(1.05);
}



.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: #e8eee6;
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #7b8f6b;
  border-radius: 10px;
}


.swipe-hint {
  font-size: 13px;
  opacity: 0.6;
  text-align: center;
  margin-top: 8px;
}


.gallery-item {
  width: 240px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-item {
    width: 180px;
    height: 260px;
  }
}

.gallery-item.landscape {
  width: 320px;
  height: 220px;
}

.gallery-item.portrait {
  width: 220px;
  height: 320px;
}
