/* Font families */
.font-gilda     { font-family: "Gilda Display", serif; }
.font-montserrat{ font-family: "Montserrat", sans-serif; }
.font-poppins   { font-family: "Poppins", sans-serif; }
.font-roboto    { font-family: "Roboto", sans-serif; }
.font-pinyon    { font-family: "Pinyon Script", cursive; }
.font-dm-serif  { font-family: "DM Serif Display", serif; }
.font-playfair  { font-family: "Playfair Display", serif; }




/* Background images */
/* .bg-quotes-section {
  background-image: url('../assets/bg-quotes.png');
  background-color: #77624f;
  background-size: 100% auto; 
  background-position: top center;
  background-repeat: repeat-y; 
} */




.bg-btn-schedule {
  background-image: linear-gradient(165deg, #E1BF7C 0%, #A17036 100%);
}

.bg-schedule {
  background-color: #FFFAF380;
}

.bg-gallery-section {
  background-image: linear-gradient(180deg, #00000080 0%, #868A78 100%);
}

.bg-btn-mempelai {
  background-color: #77624F;
}

.bg-overlay-mempelai {
  background-color: rgb(255, 249, 240, 0.88);
}

.bg-overlay-schedule {
  background-color: #FFF9F0;
}

/* Max widths */
.max-w-1\/10 { max-width: 10%; }
.max-w-1\/2 { max-width: 50%; }
.max-w-1\/4 { max-width: 25%; }

/* Colors */
.text-red-cover { color: #6E2428; }
.text-gold-cover { color: #DBCCA2; }
.text-gold-cover-dalam { color: #DFB584; }
.text-putih-cover { color: #FFFBE9D4; }
.text-story-section { color: #FFF1CF; }
.text-white-payment { color: #D5CBB4; }
.text-red-border-payment { color: #9C8594; }
.text-grey-comment { color: #625B4F; }
.text-brown-cover { color: #77624F; }
.text-title-section { color: #CBAA5C; }
.text-primary { color: #77624F;}
.text-onPrimary { color: #F1E9DF;}
.text-secondary { color: #CBAA5C; }
.text-black-cover { color: #000000; }
.text-black-soft { color: #181818; }




/* Background Colors */
.bg-red-cover { background-color: #661217; }
.bg-green-cover { background-color: #585C4C;}
.bg-gold-cover { background-color: #DBCCA2; }
.bg-gold-cover-dalam { background-color: #DFB584; }
.bg-putih-cover { background-color: #FFFBE9D4; }
.bg-putih-schedule { background-color: #FFF9F0; }
.bg-story-section { background-color: #FFF1CF; }
.bg-white-payment { background-color: #D5CBB4; }
.bg-red-border-payment { background-color: #9C8594; }
.bg-countdown { background-color: #77624F; }
.bg-red-guest { background-color: #6E2428; }
.bg-green-guest { background-color: #F1EDE4; }

/* Border Color */
.border-red-cover { border-color: #661217; }
.border-gold-cover { border-color: #DBCCA2; }
.border-gold-cover-dalam { border-color: #DFB584; }
.border-putih-cover { border-color: #FFFBE9D4; }
.border-story-section { border-color: #FFF1CF; }
.border-white-payment { border-color: #D5CBB4; }
.border-red-border-payment { border-color: #9C8594; }
.border-mempelai { border-color: #868A78; }
.border-wish { border-color: BBBBBB; }
.divide-red-border-payment { border-color: #9C8594; }
.border-overlay-mempelai {border-color: #6E2428;}
.border-schedule { border-color: #585C4C;}
.border-green {border-color: #A6A69A;}

/* Shadow */
.shadoww {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}


/* position */
.-scale-x-100 { 
    transform: scaleX(-1); 
}

/* Border radius */
.rounded-4xl {
  border-radius: 3.125rem;
}

/* Animation */
.animate-zoom-in {
  animation-name: zoomIn;
  animation-duration: 9s;
  animation-fill-mode: forwards;
}

/* Keyframes */
@keyframes zoomIn {
  0%, 87.5% {
    opacity: 0;
    transform: scale3d(0, 0, 0);
  }
  93.75% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}


/* Section */

.acara-wrapper {
  background-position: center center;
  background-size: cover;
  opacity: 1;
  padding: 60px 36px 150px 36px;
  text-align: center;
  margin: 0px 0px 10px 0px;
  border-radius: 500px 500px 500px 500px;
  background-image: url('./bg-mempelai.png');
}

#section-guest {
  
  background-attachment: fixed;
  background-size: 450px auto;
  background-position: center center;
  opacity: 1;
}

.section-penutup {
  
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.map-embed > iframe {
  width: 200px;
  max-width: 200px;
}

@media screen and (min-width: 768px) {
  .map-embed > iframe {
      width: 100%;
      max-width: 100%;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 20px; 
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Slide Up */
.slide-up-enter-active,
.slide-up-leave-active {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.slide-up-enter,
.slide-up-leave-to {
  transform: translateY(-100%);
  opacity: 0;
}

/* Fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

/* Swiper */
#section-schedule .swiper {
  width: 100%;
  max-width: 300px;
  height: 475px;
  border-radius: 115px 115px 0 0;
  border: 4px solid #868A78;
  overflow: hidden;
}

#section-countdown .swiper {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* #section-quotes .swiper {
  width: 100%;
  max-width: 300px;
  height: 450px;
  border-radius: 32px 32px 0px 0px;
  overflow: hidden;
} */

#section-guest .swiper {
  width: 100%;
  max-width: 300px;
  height: 225px;
  border-radius: 1rem;
  border: 4px solid #DFB584;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 1rem;
}

#section-penutup .swiper {
  width: 260px;
  height: 275px;
  border-radius: 115px 115px 0 0;
  border: 4px solid #868A78;
  overflow: hidden;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #section-schedule .swiper,
  #section-countdown .swiper,
  #section-story .swiper {
    height: 600px;
  }

  #section-guest .swiper {
    max-width: 400px;
    height: 300px;
  }

  #section-penutup .swiper {
    width: 260px;
    height: 350px;
  }
}

@media screen and (min-width: 1024px) {
  #section-schedule .swiper,
  #section-story .swiper {
    max-width: 500px;
    height: 800px;
  }

  #section-guest .swiper {
    max-width: 500px;
    height: 425px;
  }

  #section-penutup .swiper {
    width: 260px;
    height: 475px;
  }
}

@media screen and (min-height: 700px) {
  #section-penutup .swiper {
    height: 400px;
    width: 250px;
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperGallery {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.swiper-slide-gallery {
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperThumb {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.swiper-slide .swiper-slide-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .swiper-slide-thumb img {
  display: block;
  width: 90px;
  height: 60px;
  object-fit: cover;
}

.gallery-container {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 calc(50% - 10px); 
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  
}

.z-cuss {
  z-index: 9999;
}

.animate-spin-slow {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Custom Countdown Styles */
.custom-countdown-box {
  width: 200px;
  height: 200px;
  background: #FBECD7;
  border-radius: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin: 0 8px;
}
.circle-outline {
  width: 48px;
  height: 48px;
  border: 5px solid #6E2428;
  border-radius: 50%;
  margin-bottom: 12px;
}
.countdown-label {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #6E2428;
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .custom-countdown-box {
    width: 120px;
    height: 120px;
    border-radius: 32px;
  }
  .countdown-label {
    font-size: 1.2rem;
  }
  .circle-outline {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }
}

/* Cover section responsive styles */
@media (max-width: 768px) {
  .cover-content {
    left: 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }
}

@media (max-width: 480px) {
  .cover-content {
    left: 0.5rem !important;
    max-width: calc(100% - 1rem) !important;
  }
}

/* Gradient overlay fallback */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(55,65,81,0.5), rgba(75,85,99,0.3));
  z-index: 10;
}
@media (max-width: 767px) {
  .mobile-cover-text {
    white-space: nowrap;
    overflow: visible;
  }
  
  .mobile-cover-names {
    white-space: nowrap;
    overflow: visible;
    max-width: 280px;
  }
  
  .mobile-cover-button {
    white-space: nowrap;
  }
}






/* Hero Section Styling - Based on Figma specs with centered layout */

/* Animasi slide horizontal untuk foto cover dengan looping seamless */
.animate-slide-horizontal {
  animation: slideHorizontal 30s linear infinite;
  will-change: transform;
  display: flex;
  transition: transform 0.1s ease-out;
}

@keyframes slideHorizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover for better UX */
.animate-slide-horizontal:hover {
  animation-play-state: paused;
}

/* Memastikan foto cover tidak terpotong */
.animate-slide-horizontal img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  flex-shrink: 0;
}

/* Responsive adjustments untuk foto cover */
@media (max-width: 768px) {
  .animate-slide-horizontal {
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .animate-slide-horizontal {
    animation-duration: 20s;
  }
}

/* Optimasi performa untuk perangkat mobile */
@media (max-width: 768px) {
  .animate-slide-horizontal {
    will-change: auto;
  }
  
  .animate-slide-horizontal:hover {
    animation-play-state: running;
  }
}

/* Smooth animation untuk perangkat dengan preferensi reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-slide-horizontal {
    animation-duration: 60s;
  }
}

/* Tambahan optimasi untuk animasi yang lebih halus */
.animate-slide-horizontal {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
}

/* Optimasi untuk browser WebKit */
@supports (-webkit-appearance: none) {
  .animate-slide-horizontal {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* Fallback untuk browser yang tidak mendukung animasi CSS */
@supports not (animation: slideHorizontal 30s linear infinite) {
  .animate-slide-horizontal {
    animation: none;
    transform: translateX(0);
  }
}

/* Optimasi untuk Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .animate-slide-horizontal {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}





