/* Font files */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@font-face {
  font-family: 'Grailga';
  src: url('./fonts/grailga.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Eina01';
  src: url('./fonts/Eina01-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Eina02';
  src: url('./fonts/Eina02-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Analogue';
  src: url('./fonts/analogue-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Chivo';
  src: url('./fonts/Chivo-Thin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Font families */
.font-pinyon {
  font-family: 'Pinyon Script', sans-serif;
}
.font-cormorant {
  font-family: 'Cormorant', sans-serif;
}
.font-abhaya {
  font-family: 'Abhaya Libre', sans-serif;
}
.font-roboto {
  font-family: 'Roboto', sans-serif;
}
.font-noto {
  font-family: 'Noto Serif', sans-serif;
}
.font-aboreto {
  font-family: 'Aboreto', sans-serif;
}
.font-average {
  font-family: 'Average', sans-serif;
}

.font-grailga {
  font-family: 'Grailga', sans-serif;
}

.font-eina {
  font-family: 'Eina01', sans-serif;
}

.font-eina2 {
  font-family: 'Eina02', sans-serif;
}

.font-analogue {
  font-family: 'Analogue', sans-serif;
}

.font-chivo {
  font-family: 'Chivo', sans-serif;
}

/* Margins */
.m-10\% {
  margin: 10%;
}

.mb-10\% {
  margin-bottom: 10%;
}

.mt-10\% {
  margin-top: 10%;
}

.m-110\% {
  margin: 110%;
}
.mb-50vh {
  margin: 50vh;
}

/* Colors */
.bg-black\/50 {
  background-color: rgba(27, 27, 27, 0.5);
}

.bg-brown {
  background-color: #472d2d;
}

.bg-black-cover {
  background-color: #1B1B1B;
}

.bg-brown-with {
  background-color: #2C1C05;
}

.bg-gray-copy-button {
  background-color: #69727d;
}

.border-brown-with {
  border-color: #2C1C05;
}

.border-brown {
  border-color: #472d2d;
}

.text-gray-copy-button {
  color: #69727d;
}

.btn-outline {
  display: flex;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  color: #fff;
  background-color: #472d2d;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  color: #fff;
  background-color: #472d2d;
  font-family: 'Eina01', sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: none;
  box-shadow: none;
  line-height: 1.2;
}
.btn-filled i, .btn-filled svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  margin: 0;
  padding: 0;
}
.btn-filled span {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .btn-filled {
    font-size: 16px;
  }
}


.text-brown-with {
  color: #2C1C05;
}

.text-brown {
  color:#483434;
}

.text-gray {
  color:#606060;
}

.text-transparent {
  color: transparent;
}


.text-stroke {
  -webkit-text-stroke: 1px white;
}

/* Object Position */
.object-50 {
  object-position: 50%;
}

/* Min Height */
.min-h-60 {
  min-height: 15rem;
}

/* Custom sizing */

.vid-size {
  width: 1511.11px;
  height: 850px;
}

@media (max-width: 768px) {
  .vid-size {
      width: 1185.78px;
      height: 100vh
  }
}

.h-100 {
  height: 40rem;
}

.h-modal {
  max-height: calc(100vh - 4rem);
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  gap: 0;
  row-gap: 8px; /* Only vertical gap for desktop */
}

.gallery-item {
  flex: 1 1 12.5%;
  max-width: 12.5%;
  box-sizing: border-box;
}

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

.gallery-item:hover img {
  transform: scale(1.25); 
}

/* Mobile: add horizontal gap */
@media (max-width: 1023px) {
  .gallery-container {
    gap: 8px; /* Both x and y gap for mobile */
  }
  .gallery-item {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}
.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%;
}


/* slideshow */
.background-slideshow {
  position: relative;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
}

.background-slide {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-slide.active {
  opacity: 1;
}

/* Map */
.map-container iframe {
  width: 100%;
  height: 100%;
}
.map-container {
  width: 100%;
  height: 0;
  border-radius: 2px;
  padding-bottom: 56.25%; 
  position: relative;
}
.map-container iframe {
  position: absolute;
  top: 0;
  border-radius: 2px;
  left: 0;
}

/* Transitions */
#content-cover {
  padding: 10px;
  animation: zoom-in 3s ease-out;
}

@keyframes zoom-in {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.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-enter-active,
.fade-leave-active {
  transition: opacity 1s;
}

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

#carousel-4 .transition-transform {
  animation: carousel4Animation 35s cubic-bezier(0.5, 1, 0.5, 1) infinite;
}



@keyframes carousel4Animation {
  0%, 12.5% { transform: translateX(0%); }
  30%, 37.5% { transform: translateX(-30%); }
  45%, 62.5% { transform: translateX(-60%); }
  70%, 87.5% { transform: translateX(-90%); }
  100% { transform: translateX(-100%); }
}


.custom-arch-section {
  display: flex;
  justify-content: center;

}


.arch-image-container {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  flex-wrap: nowrap;
}

.arch-image-1 {
  width: 62vw; /* dibesarkan sedikit dari 58vw */
  max-width: 520px; /* dibesarkan sedikit dari 490px */
  height: 82vw; /* dibesarkan sedikit dari 77vw */
  max-height: 730px; /* dibesarkan sedikit dari 685px */
  overflow: hidden;
  border: 12px solid #594545;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.arch-image-2 {
  width: 54vw; /* dibesarkan sedikit dari 50vw */
  max-width: 440px; /* dibesarkan sedikit dari 410px */
  height: 73vw; /* dibesarkan sedikit dari 68vw */
  max-height: 640px; /* dibesarkan sedikit dari 595px */
  overflow: hidden;
  border: 12px solid #594545;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .arch-image-1,
  .arch-image-2 {
    border-width: 9px;
  }
}



.arch-image-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arch-image-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-1 {
    border-top-left-radius: 1000px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 50vw; /* Default selain mobile */
    z-index: 1;
}

@media (max-width: 768px) {
    .image-1 {
        margin-bottom: 70vw; /* Untuk mobile */
    }

}

.image-2 {
    border-top-left-radius: 50px;
    border-top-right-radius: 1000px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    z-index: 2;
    margin-left: -12vw; /* Tumpang tindih fleksibel */
}

@media (max-width: 768px) {
  .image-2 {
    margin-left: -20vw; /* Tumpang tindih fleksibel */
  }

}


.image-card {
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 1000px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.image-card-2 {
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 50px;
    border-top-right-radius: 1000px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

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

@keyframes photo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.photo-scroll-track {
  will-change: transform;
}
.photo-scroll-track img {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block;
}
section[style*='overflow-hidden'] {
  margin: 0 !important;
  padding: 0 !important;
}

.guest-card {
  border: 1.5px solid #f5ede6;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px 0 rgba(71,45,45,0.10);
}
.guest-card:hover {
  box-shadow: 0 8px 32px 0 rgba(71,45,45,0.18);
  transform: translateY(-4px) scale(1.01);
}

