:root {
  --ink: #3f3f3f;
  --paper: #f7f6f2;
  --accent: #b8a28a;
  --dark: #444;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  line-height: 1.65;
}

body.locked {
  overflow: hidden;
}

.center {
  text-align: center;
}

.container {
  width: min(var(--max), 100%);
  margin: auto;
}

.section {
  padding: 95px 20px;
}

.section-title {
  font: 500 clamp(48px, 7vw, 78px) / 0.9 "Great Vibes", cursive;
}

.script {
  font-family: "Great Vibes", cursive;
}

.big-script {
  font-size: 34px;
}

.section-subtitle {
  max-width: 720px;
  margin: 10px auto 38px;
  color: #666;
}

.dark-section {
  background: #666;
  color: #fff;
}

.dark-section .section-title {
  color: #fff;
}

.dark-section .section-subtitle {
  color: #eee;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#fff9, #fff),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2200&q=85")
    center / cover;
  transition: 0.7s;
}

.opening.hide {
  opacity: 0;
  visibility: hidden;
}

.opening-card {
  width: min(550px, 92vw);
  padding: 48px 28px;
  text-align: center;
  background: #fffc;
  backdrop-filter: blur(14px);
  border-radius: 26px;
  box-shadow: 0 18px 50px #0002;
}

.cross {
  width: 58px;
  height: 80px;
  margin: 0 auto 15px;
  position: relative;
}

.cross:before,
.cross:after {
  content: "";
  position: absolute;
  background: var(--ink);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.cross:before {
  width: 10px;
  height: 68px;
}

.cross:after {
  width: 52px;
  height: 10px;
  top: 39%;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #777;
}
.opening h1{
  font:500 clamp(46px,8vw,78px)/.9 "Cormorant Garamond",serif;
  margin:8px 0
}

.date{
  font-size:12px;
  letter-spacing:.15em
}

.guest-label{
  margin-top:18px;
  font-size:12px;
  color:#777
}

.guest-box{
  background:#fff;
  padding:13px 25px;
  border-radius:10px;
  display:inline-flex;
  flex-direction:column;
  min-width:280px;
  box-shadow:0 5px 18px #0001
}

.dark-btn,
.pill{
  border:0;
  border-radius:999px;
  background:var(--dark);
  color:#fff;
  padding:12px 22px
}

.dark-btn{
  margin-top:20px
}

.topbar{
  position:fixed;
  z-index:1000;
  left:0;
  right:0;
  top:0;
  padding:17px 20px;
  display:flex;
  justify-content:space-between;
  pointer-events:none
}

.topbar>*{
  pointer-events:auto
}

.pill{
  background:#fff;
  color:#444;
  box-shadow:0 4px 18px #0001
}

.menu{
  position:fixed;
  z-index:1100;
  inset:0;
  background:#222f;
  color:#fff;
  display:grid;
  place-items:center;
  opacity:0;
  visibility:hidden;
  transition:.3s
}

.menu.show{
  opacity:1;
  visibility:visible
}

.menu nav{
  display:grid;
  gap:10px;
  text-align:center
}

.menu a{
  color:#fff;
  text-decoration:none;
  font:500 40px "Cormorant Garamond",serif
}

.close{
  position:absolute;
  right:20px;
  top:18px
}

.colors{
  position:fixed;
  z-index:1200;
  left:20px;
  top:70px;
  background:#fff;
  padding:18px;
  border-radius:15px;
  box-shadow:0 18px 50px #0002;
  display:none
}

.colors.show{
  display:block
}

.swatches{
  display:flex;
  gap:10px;
  margin-top:12px
}

.swatches button{
  width:30px;
  height:30px;
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 0 0 1px #ccc
}

.music{
  position:fixed;
  z-index:1001;
  bottom:18px;
  left:18px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:0;
  background:#111;
  color:#fff
}

.hero{
  min-height:100svh;
  display:grid;
  place-items:center;
  text-align:center;
  background:
    linear-gradient(#fff9,#fff),
    url("assets/Background1.png")
    center/cover
}

.hero h1{
  font:700 clamp(50px,8vw,96px)/.85 "Cormorant Garamond",serif;
  margin:20px 0
}

.hero-content{
  padding:100px 18px 60px
}

.couple{
  background:
    linear-gradient(#f5f4f1e8,#f5f4f1ee),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2200&q=80")
    center/cover fixed
}

.couple-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
  margin-top:45px
}

.person{
  text-align:center
}

.portrait{
  width:min(300px,80vw);
  aspect-ratio:4/5;
  margin:auto;
  border-radius:50% 50% 18px 18px;
  overflow:hidden
}

.portrait img{
  width:100%;
  height:100%;
  object-fit:cover
}

.person h3{
  font:500 50px/1 "Cormorant Garamond",serif;
  margin:18px 0 8px
}

.and{
  font:46px "Great Vibes",cursive
}

.event-card{
  width:min(550px,100%);
  margin:15px auto;
  padding:35px;
  border:1px solid #aaa;
  text-align:center
}

.events{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:stretch
}

.events .event-card{
  width:100%;
  margin:0;
  min-width:0
}

@media(max-width:700px){
  .events{
    grid-template-columns:1fr
  }
}

.countdown{
  min-height:60svh;
  display:grid;
  place-items:center;
  color:#fff;
  background:
    linear-gradient(#241d1990,#241d1990),
    url("assets/Background2.png")
    center/cover fixed
}

.countdown h2{
  font:500 70px "Cormorant Garamond",serif;
  margin:0
}

.timer{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:25px
}

.timer>div{
  min-width:95px;
  background:#ffef;
  color:#222;
  padding:14px;
  border-radius:12px
}

.timer b{
  display:block;
  font:600 34px "Cormorant Garamond",serif
}

.timer span{
  font-size:9px;
  text-transform:uppercase
}

/* GALLERY */
.gallery-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  width:100%;
  max-width:1000px;
  margin:0 auto
}

.gallery-grid img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  border-radius:12px;
  aspect-ratio:auto
}

.gallery-grid img:first-child{
  grid-column:auto;
  aspect-ratio:auto
}

.gallery-grid img{
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  display:block;
}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.story-card{border:1px solid #fff6;padding:25px}.story-card:last-child{grid-column:2}.form-wrap{width:min(620px,100%);margin:auto;background:#fff;padding:25px;border-radius:14px;color:#333}.form-wrap.light{box-shadow:0 8px 35px #0000000d}.form-group{margin:0 0 14px}label{display:block;font-size:12px;margin-bottom:6px}input,textarea,select{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;background:#fff}textarea{min-height:105px}.form-wrap .dark-btn{width:100%}.comments{margin-top:20px}.comment{padding:15px;background:#f4f4f4;border-radius:10px;margin-top:10px}.comment small{color:#888}.gifts{background:#efeee9}.gift-card{max-width:620px;margin:auto;background:#fff;border-radius:28px;padding:38px 25px}.bank{display:flex;align-items:center;justify-content:center;gap:15px;margin:18px 0}.copy{border:1px solid #ccc;background:#fff;border-radius:999px;padding:7px 12px}.thankyou{min-height:65svh;display:grid;place-items:center;text-align:center;background:linear-gradient(#fff9,#fff),url("assets/Background3.png") center/cover}.thankyou h2{font:500 clamp(60px,10vw,105px) "Great Vibes",cursive}.thankyou h3{font:500 48px "Cormorant Garamond",serif}footer{text-align:center;padding:20px;background:#333;color:#ddd;font-size:11px}@media(max-width:760px){.couple-grid{grid-template-columns:1fr}.and{margin:-10px}.story-grid{grid-template-columns:1fr}.story-card:last-child{grid-column:auto}.gallery-grid{gap:7px}.timer>div{min-width:70px}.menu a{font-size:34px}}/* Gallery horizontal slider */
#galleryGrid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

#galleryGrid img {
  flex: 0 0 80%;
  width: 80%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
}

/* Desktop */
@media (min-width: 768px) {
  #galleryGrid img {
    flex: 0 0 32%;
    width: 32%;
    height: 420px;
  }
}

/* Hilangkan scrollbar */
#galleryGrid::-webkit-scrollbar {
  display: none;
}

#galleryGrid {
  scrollbar-width: none;
}
/* Nama mempelai di bawah foto */
.couple .person {
  text-align: center;
}

.couple .person h3 {
  margin: 18px 0 5px;
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.couple .person p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.couple .and {
  align-self: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-style: italic;
}
/* =========================================
   PREMIUM COUPLE SECTION
   ========================================= */

.couple {
  padding-top: 100px;
  padding-bottom: 110px;
  background: #faf8f4;
}

.couple .container {
  max-width: 1050px;
}

.couple .center {
  margin-bottom: 55px;
}

.couple #anniversary {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 5px;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  display: inline-block;
  padding: 0 55px;
}

.couple #anniversary::before,
.couple #anniversary::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.couple #anniversary::before {
  right: 100%;
}

.couple #anniversary::after {
  left: 100%;
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
}

.couple .person {
  text-align: center;
}

.couple .portrait {
  width: 260px;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 140px 140px 18px 18px;
  border: 1px solid rgba(184,162,138,.55);
  padding: 7px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(60,50,40,.12);
}

.couple .portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 132px 132px 12px 12px;
}

.couple .person h3 {
  margin: 25px 0 7px;
  font-family: "Great Vibes", cursive;
  font-size: 38px;
  font-weight: 400;
  color: #3f3f3f;
  line-height: 1.15;
}

.couple .person p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  line-height: 1.5;
  color: #777;
}

.couple .and {
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 38px;
  color: var(--accent);
  position: relative;
}

.couple .and::before,
.couple .and::after {
  content: "";
  display: block;
  width: 1px;
  height: 55px;
  background: rgba(184,162,138,.5);
  margin: 0 auto 12px;
}

.couple .and::after {
  margin: 12px auto 0;
}


/* MOBILE */
@media (max-width: 760px) {

  .couple {
    padding-top: 75px;
    padding-bottom: 85px;
  }

  .couple-grid {
    grid-template-columns: 1fr 45px 1fr;
    max-width: 100%;
  }

  .couple .portrait {
    width: 145px;
    height: 205px;
    padding: 5px;
    border-radius: 80px 80px 12px 12px;
  }

  .couple .portrait img {
    border-radius: 75px 75px 8px 8px;
  }

  .couple .person h3 {
    font-size: 27px;
    margin-top: 17px;
  }

  .couple .person p {
    font-size: 12px;
  }

  .couple .and {
    font-size: 28px;
  }

  .couple .and::before,
  .couple .and::after {
    height: 35px;
  }
}
/* =========================================
   COUPLE - PREMIUM EDITORIAL
   ========================================= */

.couple {
  padding-top: 70px;
  padding-bottom: 90px;
  background: #faf9f6;
}

.couple .container {
  max-width: 1100px;
}

/* Hilangkan jarak kosong berlebihan */
.couple .center {
  margin-bottom: 35px;
}

/* Garis dekorasi bagian atas */
.couple #anniversary {
  font-size: 0;
  width: 120px;
  height: 1px;
  background: rgba(184,162,138,.5);
  position: relative;
}

.couple #anniversary::before,
.couple #anniversary::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
  background: #faf9f6;
}

.couple #anniversary::before {
  left: 0;
}

.couple #anniversary::after {
  right: 0;
}

/* Layout pasangan */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Foto */
.couple .portrait {
  width: 310px;
  height: 410px;
  margin: 0 auto;
  padding: 7px;
  background: #fff;
  border: 1px solid rgba(184,162,138,.55);
  border-radius: 160px 160px 18px 18px;
  box-shadow:
    0 20px 50px rgba(50,40,30,.12),
    0 3px 10px rgba(50,40,30,.06);
}

.couple .portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 150px 150px 11px 11px;
}

/* Nama */
.couple .person h3 {
  margin: 22px 0 0;
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  color: #343434;
}

/* Orang tua */
.couple .person p {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: #777;
}

/* AND */
.couple .and {
  font-family: "Great Vibes", cursive;
  font-size: 38px;
  color: var(--accent);
  text-align: center;
  position: relative;
}

/* garis atas dan bawah AND */
.couple .and::before,
.couple .and::after {
  content: "";
  display: block;
  width: 1px;
  height: 65px;
  margin: 0 auto 15px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(184,162,138,.65)
  );
}

.couple .and::after {
  margin: 15px auto 0;
  background: linear-gradient(
    to bottom,
    rgba(184,162,138,.65),
    transparent
  );
}


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

@media (max-width: 760px) {

  .couple {
    padding-top: 55px;
    padding-bottom: 75px;
  }

  .couple-grid {
    grid-template-columns: 1fr 38px 1fr;
    max-width: 100%;
  }

  .couple .portrait {
    width: 145px;
    height: 205px;
    padding: 5px;
    border-radius: 80px 80px 12px 12px;
  }

  .couple .portrait img {
    border-radius: 75px 75px 8px 8px;
  }

  .couple .person h3 {
    font-size: 28px;
    margin-top: 16px;
  }

  .couple .person p {
    font-size: 12px;
  }

  .couple .and {
    font-size: 27px;
  }

  .couple .and::before,
  .couple .and::after {
    height: 35px;
  }
}
/* ================================
   SCROLL ANIMATION
================================ */

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Gambar sedikit lebih lembut */
.scroll-image {
  opacity: 0;
  transform: scale(0.94) translateY(30px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.scroll-image.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ================================
   GALLERY SLIDESHOW
================================ */

.gallery-slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 2.5s ease-in-out;

  will-change: opacity;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Tampilan HP */
@media (max-width: 768px) {
  .gallery-slideshow {
    height: 450px;
    border-radius: 14px;
  }
}
/* Paksa gallery menjadi lebar penuh */
#galleryGrid {
  display: block !important;
  width: 100% !important;
}

#galleryGrid .gallery-slideshow {
  width: 100% !important;
  max-width: 1100px;
  height: 620px;
  margin: 30px auto 0;
}

#galleryGrid .gallery-slideshow .gallery-slide {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;

  object-fit: contain !important;
  object-position: center center !important;

  background: #f7f6f2;

  opacity: 0;
  visibility: hidden;
  transition: opacity 2.5s ease-in-out;
}

#galleryGrid .gallery-slideshow .gallery-slide.active {
  opacity: 1;
  visibility: visible;
}
.bank-logo {
  display: block !important;
  width: 120px !important;
  height: auto !important;
  max-width: 120px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  object-fit: contain !important;
  margin: 0 auto 20px !important;
}
.bank {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 18px 0;
  padding: 8px 0;
}

.bank-logo {
  width: 72px !important;
  height: auto !important;
  max-width: 72px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.bank-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.bank-info strong {
  font-size: 16px;
  line-height: 1.4;
}

.bank-info span {
  font-size: 14px;
  color: #777;
  margin-top: 2px;
}

.bank .copy {
  flex-shrink: 0;
}
/* Wedding Gift - tampilan seperti contoh */
.gift-description {
  max-width: 560px;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.8;
  font-size: 14px;
  color: #777;
}

#giftCard {
  max-width: 620px;
  margin: 0 auto;
}

#giftCard .bank {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  margin: 0;
  border-bottom: 1px solid #eee;
}

#giftCard .bank-logo {
  width: 75px !important;
  max-width: 75px !important;
  height: auto !important;
  margin: 0 !important;
  flex-shrink: 0;
}

#giftCard .bank-info {
  flex: 1;
  text-align: left;
}

#giftCard .bank-info strong {
  display: block;
  font-size: 17px;
  letter-spacing: .5px;
}

#giftCard .bank-info span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #777;
}

#giftCard .copy {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.confirm-transfer {
  display: block;
  margin: 30px auto 0;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: .3px;
}

@media (max-width: 600px) {
  #giftCard .bank {
    gap: 12px;
  }

  #giftCard .bank-logo {
    width: 62px !important;
    max-width: 62px !important;
  }

  #giftCard .bank-info strong {
    font-size: 15px;
  }

  #giftCard .copy {
    padding: 7px 12px;
  }
}
/* Logo Salib dari Admin */
.cross-logo {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 15px;
  object-fit: contain;
}

.opening .script {
  font-size: 28px;
  line-height: 1.2;
}

.hero .script {
  font-size: 28px;
  line-height: 1.2;
}

/* =========================================
   COUPLE - FULL ONE SCREEN
   ========================================= */

#couple {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 70px 30px;
}

#couple .container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

#couple .center {
  margin-bottom: 35px;
}

#couple #coupleTitle {
  margin: 0 0 15px;
  font-size: clamp(52px, 6vw, 76px);
  line-height: .95;
}

#couple #coupleDescription {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

#couple .couple-grid {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  gap: 10px;
}

#couple .portrait {
  width: 280px;
  height: 370px;
}

#couple .person h3 {
  margin-top: 18px;
  font-size: 40px;
}

#couple .person p {
  margin-top: 6px;
  font-size: 14px;
}

#couple .and {
  font-size: 38px;
}

/* HP */
@media (max-width: 760px) {

  #couple {
    min-height: 100svh;
    padding: 65px 18px;
  }

  #couple .center {
    margin-bottom: 25px;
  }

  #couple #coupleTitle {
    font-size: 48px;
  }

  #couple #coupleDescription {
    font-size: 13px;
    line-height: 1.6;
  }

  #couple .couple-grid {
    grid-template-columns: 1fr 35px 1fr;
    gap: 3px;
  }

  #couple .portrait {
    width: 145px;
    height: 205px;
  }

  #couple .person h3 {
    font-size: 27px;
  }

  #couple .person p {
    font-size: 11px;
  }

  #couple .and {
    font-size: 27px;
  }
}

/* =========================================
   THE EVENT - PREMIUM
   ========================================= */

#event {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 80px 20px;
}

#event .container {
  width: min(900px, 100%);
  margin: 0 auto;
}

#event .section-title {
  font-size: clamp(52px, 7vw, 78px);
  margin-bottom: 15px;
}

#event .section-subtitle {
  max-width: 650px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

#events {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#events .event-card {
  padding: 35px 25px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.75);
  box-shadow: 0 15px 45px rgba(0,0,0,.08);
}

#events .event-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100px;
}

#events .event-icon img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#events .event-icon-symbol {
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  font-size: 76px;
  line-height: 1;
  font-family: serif;
}

#events .event-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 18px;
}

#events .event-date {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

#events .event-time {
  font-size: 16px;
  margin-bottom: 22px;
}

#events .event-venue {
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.10);
}

#events .event-venue strong {
  font-size: 18px;
}

#events .event-venue p {
  max-width: 450px;
  margin: 8px auto 0;
  line-height: 1.7;
  color: #777;
}

#events .event-maps {
  display: inline-block;
  margin-top: 25px;
  text-decoration: none;
}

/* HP */
@media (max-width: 600px) {

  #event {
    min-height: 100svh;
    padding: 65px 16px;
  }

  #event .section-title {
    font-size: 50px;
  }

  #events .event-card {
    padding: 28px 18px;
  }

  #events .event-card h3 {
    font-size: 29px;
  }

  #events .event-date {
    font-size: 16px;
  }
}

/* Jarak judul dan deskripsi Gifts */
#gifts .section-title {
  margin-bottom: 30px;
}

#gifts .gift-description {
  margin-top: 0;
  margin-bottom: 35px;
}

.section-divider{
  width: 80%;
  max-width: 900px;
  height: 1px;
  margin: 0 auto;
  background: rgba(255,255,255,0.45);
}

/* Perbaikan: kartu Pemberkatan dan Resepsi sejajar */
#events {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

#events .event-card {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#events .event-card h3 {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#events .event-venue {
  width: 100%;
  flex: 1 0 auto;
}

#events .event-maps {
  margin-top: auto;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  #events { grid-template-columns: 1fr; max-width: 600px; }
  #events .event-card h3 { min-height: 0; }
}


/* MY VOWS template variants */
:root[data-theme="champagne"]{--paper:#f7f6f2;--ink:#3f3f3f;--accent:#b8a28a;--dark:#444}
:root[data-theme="chinese-modern"]{--paper:#f8f2e9;--ink:#3f2925;--accent:#a83b32;--dark:#6d2523}
:root[data-theme="chinese-modern"] .couple,
:root[data-theme="chinese-modern"] .thankyou{background-color:#f8f2e9}
:root[data-theme="chinese-modern"] .section-title,
:root[data-theme="chinese-modern"] .person h3{color:#6d2523}
:root[data-theme="classic-ivory"]{--paper:#f5f4ed;--ink:#3e463d;--accent:#89977e;--dark:#465344}
:root[data-theme="classic-ivory"] .couple,
:root[data-theme="classic-ivory"] .thankyou{background-color:#f5f4ed}
