
/* =========================
   GOOGLE FONT DEFAULT
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fbf8f5;
  color: #111;
  scroll-behavior: smooth;

  overflow-x: hidden;

  /* overflow: hidden; */
}

body.loading main {
  visibility: hidden;
}

body.loaded main {
  visibility: visible;
}



/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* =========================
   LOADER
========================= */

#loader {
  position: fixed;
  inset: 15px;
  z-index: 9999;

  background: #f5f1e9;
  overflow: hidden;
  border-radius: 10px;

  transform: translateY(-50%);
  transition: transform 1.5s cubic-bezier(0.76, 0, 0.24, 1);
}

#loader.show {
  transform: translateY(0);
}

#loader.open {
  transform: translateY(calc(-100% - 15px));
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}



/* =========================================================
   INNER
========================================================= */

.loader-inner {
  position: relative;

  width: 100%;
  max-width: 1000px;
  height: 100%;

  margin: 0 auto;
  padding: clamp(25px, 6vw, 50px) clamp(20px, 6vw, 50px) clamp(20px, 4vw, 30px);

  box-sizing: border-box;
  color: #292725;
}

.loader-top {
  position: absolute;
  top: clamp(25px, 5vw, 45px);
  left: 50%;
  transform: translateX(-50%);

  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: #5C4033;
}


/* =========================================================
   TEXT
========================================================= */

.loader-text {
  position: absolute;

  top: 50%;
  left: 50%;

  width: calc(100% - clamp(40px, 12vw, 100px));
  max-width: 500px;

  transform: translate(-50%, -50%);
}


/* =========================================================
   HEADING
========================================================= */

.loader-heading {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  gap: clamp(8px, 2vw, 15px);

  /* font-family: "Cormorant Garamond", serif; */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1;
  letter-spacing: -0.3px;

  margin: 30px 0;
}

.loader-heading span {
  text-align: center;
}


/* =========================================================
   LINE
========================================================= */

.loader-line {
  width: 100%;
  height: 1px;

  margin: clamp(10px, 2vw, 15px) 0;

  background: rgba(60, 56, 52, 0.35);
}


/* =========================================================
   OPEN BUTTON
========================================================= */

.loader-open-button {
  position: absolute;

  left: 50%;
  bottom: clamp(15px, 4vw, 30px);

  transform: translateX(-50%);
}

.loader-open-button .btn {
  min-width: clamp(90px, 20vw, 120px);

  padding: clamp(8px, 1.5vw, 11px) clamp(25px, 5vw, 35px);

  background: transparent;
  border: 1px solid #5C4033;
  border-radius: 5px;

  color: #5C4033;

  /* font-family: "Cormorant Garamond", serif; */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(13px, 2vw, 16px);
  letter-spacing: 3px;
  line-height: 1;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.loader-open-button .btn:hover,
.loader-open-button .btn:active {
  background: #5C4033!important;
  color: #f5f1e9!important;
}


/* =========================================================
   OVERLAY
========================================================= */

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 9998;

  background: rgba(0, 0, 0, 0.35);

  pointer-events: none;

  opacity: 1;
  transition: opacity 1.1s ease;
}

body.loaded::after {
  opacity: 0;
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 360px) {
  #loader {
    inset: 8px;
    border-radius: 8px;
  }

  .loader-inner {
    padding: 20px 15px 15px;
  }

  .loader-text {
    margin-top: 14vh;
  }

  .loader-heading {
    font-size: 15px;
    gap: 10px;
  }

  .loader-line {
    margin: 8px 0;
  }

  .loader-open-button .btn {
    min-width: 90px;
    padding: 8px 22px;
    font-size: 13px;
    letter-spacing: 2px;
  }
}


/* =========================================================
   LANDSCAPE PHONE
========================================================= */

@media (max-height: 600px) and (orientation: landscape) {
  .loader-text {
    margin-top: 8vh;
  }

  .loader-heading {
    font-size: 15px;
  }

  .loader-line {
    margin: 6px 0;
  }

  .loader-open-button .btn {
    padding: 7px 25px;
  }
}

/* 
#loader .typing-text {
    font-family: 'Poppins', sans-serif;
    color: #111;
  display: inline-block;
  width: fit-content;
  max-width: 0;

  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #5C4033;

  animation:
    typing 3s steps(28) 1.5s forwards,
    deleting 2s steps(28) 6s forwards,
    blink .8s infinite,
    hideCursor 0s 8.2s forwards;
}


@keyframes typing {
  from {
    max-width: 0;
  }
  to {
    max-width: 28ch;
  }
}

@keyframes deleting {
  from {
    max-width: 28ch;
  }
  to {
    max-width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes hideCursor {
  to {
    border-right-color: transparent;
  }
} */

/* =========================
   HERO SECTION
========================= */
#hero {
  /* background: url("../assets/images/hero/cover.jpeg") center center / cover no-repeat; */
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* posisi konten */
  justify-content: flex-start;

  padding-top: 100px;
  padding-bottom: 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: #F3F1EC; */
}

/* HERO CONTENT */
#hero .container {
  z-index: 2;
}

#hero h1 {
  letter-spacing: 2px;
}

#hero p,
#hero h5,
#hero small {
  color: #2d3436!important;
  /* font-family: "Cormorant Garamond", serif; */
  font-family: "Montserrat", sans-serif;
}

/* HERO ICONS */
.hero-icons {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  gap: 18px;
  align-items: center;
}

.hero-icons svg {
  width: 22px;
  height: 22px;
  /* color: #8A5F41; */
  color: #5C4033; /* coklat tua */
  stroke-width: 1.8;

  display: inline-block;
  animation: stopMotion 3s steps(1) infinite;
}

/* delay tiap icon */
.hero-icons svg:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-icons svg:nth-child(3) {
  animation-delay: 1s;
}

.hero-icons svg:nth-child(4) {
  animation-delay: 1.5s;
}

/* ANIMASI */
@keyframes stopMotion {
  0%   { transform: rotate(-8deg); }
  15%  { transform: rotate(-8deg); }

  20%  { transform: rotate(6deg); }
  35%  { transform: rotate(6deg); }

  40%  { transform: rotate(-4deg); }
  55%  { transform: rotate(-4deg); }

  60%  { transform: rotate(3deg); }
  75%  { transform: rotate(3deg); }

  80%  { transform: rotate(-1deg); }
  95%  { transform: rotate(-1deg); }

  100% { transform: rotate(-8deg); }
}

/* BUTTON HERO */
#hero button {
  transition: 0.3s ease;
}

#hero button:hover {
  transform: scale(1.05);
}

.couple-name {
  font-family: 'Rock Salt', cursive;
  font-size: 3.3rem;
  color: #2d3436;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

#openInvitation {
  margin-top: auto;
  margin-bottom: 20px;
  color: #5C4033;
}

.bounce-icon {
  /* font-size: 2rem; */
  display: inline-block;
  animation: bounceDown 2.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

.hero-photos {
    position: relative;
    width: 300px;
    height: 250px;
    margin: 35px auto 20px;
}

.hero-photo {
    position: absolute;
    width: 150px;
    padding: 8px 8px 28px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Foto pertama */
.photo-back {
    left: 20px;
    top: 20px;
    transform: rotate(-3deg);
    z-index: 1;
}

/* Foto kedua */
.photo-front {
    right: 15px;
    top: 85px;
    transform: rotate(7deg);
    z-index: 2;
}

.paperclip {
    position: absolute;
    width: 24px;
    height: 75px;

    top: 5px;
    left: 50%;

    border: 3px solid #9b9b9b;
    border-radius: 15px;

    transform: translateX(-50%) rotate(5deg);

    z-index: 10;

    filter: drop-shadow(1px 2px 2px rgba(0,0,0,.25));
}

.paperclip::before {
    content: "";
    position: absolute;

    width: 14px;
    height: 62px;

    top: 5px;
    left: 2px;

    border: 3px solid #b5b5b5;
    border-radius: 10px;

    background: transparent;
}

/* =========================
   SECTION TITLE
========================= */
section h2 {
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* =========================
   COUPLE SECTION
========================= */
#couple .container{
    max-width: 1200px;
}
#couple h2{
  font-family: 'Permanent Marker', cursive;
  /* font-size: 4rem; */
  color: #2d3436;

  /* position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; */
  line-height: 1.5;
}

/* #couple img {
  border: 4px solid #eee;
  padding: 5px;
  background: #fff;
  transition: 0.4s ease;
}

#couple img:hover {
  transform: scale(1.05);
} */


/* POLAROID OLD */

.polaroid {
  /* position: relative;
  display: inline-block; */
  background: #fbf8f5;
  padding: 12px 12px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  border-radius: 4px;
  transition: .3s ease;
  
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;

  /* transform: rotate(-3deg); */
  /* width: 90%; */
}

/* .polaroid::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    #e0c19a 0%,
    #c79b67 50%,
    #b7814f 100%
  );
  border-radius: 3px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.2),
    inset 0 1px 1px rgba(255,255,255,.4);
  z-index: 2;
}

.polaroid::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 16px;
  background: rgba(0,0,0,.15);
  border-radius: 2px;
  z-index: 3;
} */

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

.polaroid .caption {
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
/* font-family: "Cormorant Garamond", serif; */
  /* font-size: 1.2rem; */
  /* letter-spacing: 1.5px; */
  color: #2d3436;
}

/* =====================================
   FAMILY
===================================== */

.family-row {
    margin-top: 25px;
}

.family-info {
    padding: 15px 10px;
    text-align: center;
}

.family-label {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 3px;

    color: #a28d68;

    margin-bottom: 12px;
}

.family-names {
    font-family: "Cormorant Garamond", serif;

    font-size: 21px;
    font-weight: 400;

    line-height: 1.4;

    color: #45413c;
}


/* =====================================
   ORNAMENT
===================================== */

.family-ornament {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 400px;

    margin: 30px auto 0;

    gap: 15px;
}

.family-ornament span {
    flex: 1;

    height: 1px;

    background: #c8b99c;
}

.family-ornament i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    font-family: serif;
    font-size: 12px;
    font-style: normal;

    color: #b39a6b;
}


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

@media (max-width: 767px) {

    .family-row {
        margin-top: 15px;
    }

    .family-info {
        padding: 10px 3px;
    }

    .family-label {
        font-size: 8px;
        letter-spacing: 2px;
        margin-bottom: 9px;
    }

    .family-names {
        font-size: 16px;
        line-height: 1.4;
    }

    .family-ornament {
        max-width: none;
        margin-top: 22px;
        gap: 12px;
    }

    .family-ornament i {
        font-size: 10px;
    }

}

/* POLAROID NEW */
/* .polaroid {
  position: relative;
  display: inline-block;
  padding: 5px;
  transition: .3s ease;
  width: 95%;
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
} */



/* =========================
   STORY (TIMELINE STYLE)
========================= */
#story p {
  font-size: 18px;
  margin: 10px 0;
  position: relative;
}

#story p::before {
  content: "•";
  font-size: 24px;
  margin-right: 10px;
  color: #111;
}

/* =========================
   COUNTDOWN
========================= */
#countdown h3 {
  font-size: 40px;
  font-weight: 700;
}

/* box angka */
#countdown .col-3 {
  padding: 10px;
}

/* =========================
   EVENT SECTION
========================= */

#event {
    position: relative;
    overflow: hidden;
}

#event h1 {
    font-family: 'Permanent Marker', cursive;
    color: #2d3436;
}

#event h2 {
    font-family: 'Permanent Marker', cursive;
    color: #2d3436;
}
#event p {
    /* font-family: "Montserrat", sans-serif; */
    color: #2d3436;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 20px;

    /* background: #fff; */
    border-radius: 20px;
    padding: 24px;

    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); */
    transition: all 0.3s ease;
    height: 100%;
}

.event-icon {
    flex-shrink: 0;
    width: 80px;
}

.event-icon img {
    width: 100%;
    display: block;
}

.event-content {
    flex: 1;
}

#event .holy {
    font-family: "Montserrat", sans-serif;
    /* font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px; */
    color: #2d3436;
    text-align: center!important;
}

.event-info p {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #636e72;
}

.event-info i {
    color: #2d3436;
    width: 18px;
    text-align: center;
}

@media (max-width: 576px) {
    .event-card {
        gap: 15px;
        padding: 18px;
    }

    .event-icon {
        width: 90px;
    }

    .event-content h4 {
        font-size: 1.1rem;
    }

    .event-info p {
        font-size: 0.85rem;
    }

    .event-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

.wedding-calendar {
  max-width: 500px;
  margin: auto;
  padding: 1.5rem;
  /* background: #fff; */
  border: #2d3436 1px solid;
  border-radius: 10px;
}

.calendar-header {
  text-align: center;
  margin-bottom: 1rem;
}

.calendar-header span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #2d3436;
}

.calendar-header h2 {
  margin: 0;
  font-size: 3rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  /* gap: 12px; */
}

.day-names div {
  text-align: center;
  font-weight: 600;
  color: #999;
  padding-bottom: 10px;
}

.dates div {
  text-align: center;
  font-size: 1rem;
  color: #555;
  padding: 5px 0;
}

.empty {
  visibility: hidden;
}

.special-date{
    font-weight: 600;
    color: #b37e40;
}

/* =========================
   HOLY MATRIMONY
========================= */

.holy-matrimony {
    height: 100%;
    min-height: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px 20px;
    color: #2d3436;
}

.holy-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #2d3436;
}

.holy-ornament {
    margin: 18px 0 20px;

    font-size: 0.8rem;
    color: #b37e40;
}

.holy-church {
    margin: 18px 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.holy-church img {
    display: block;

    width: 200px;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}

/* DATE */

.holy-date {
    display: flex;
    flex-direction: column;
    align-items: center;

    line-height: 1.1;
}

.date-day {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 3px;
}

.date-year {
    margin-top: 6px;

    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    color: #777;
}

/* TIME */

.holy-time {
    margin-top: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.holy-time span {
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.holy-time small {
    margin-top: 3px;

    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #888;
}

/* DIVIDER */

.holy-divider {
    width: 180px;
    height: 1px;

    margin: 22px 0;

    background: #2d3436;
    opacity: 0.35;
}

/* LOCATION */

.holy-location {
    margin-bottom: 24px;
}

.holy-location p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3436;
}

.holy-location span {
    display: block;

    margin-top: 5px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    color: #777;
}

/* BUTTON */

.holy-direction {
    display: inline-block;

    min-width: 190px;

    padding: 10px 20px;

    /* border: 1px solid #2d3436; */
    border-radius: 0;

    color: #fff;
    border: 1px solid #2d3436;
    background: #2d3436;

    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;

    transition: all 0.2s ease;
}

.holy-direction:hover {
    color: #2d3436;
    background: transparent;
    border: 1px solid #2d3436;
}

/* =========================
   DESKTOP LAYOUT ONLY
========================= */

.holy-info {
    width: 100%;
    max-width: 560px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
}

/* LEFT - DATE & TIME */

.holy-date-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-right: 30px;
}

/* RIGHT - CHURCH */

.holy-venue {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-left: 30px;

    border-left: 1px solid rgba(45, 52, 54, 0.2);
}



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

    .holy-matrimony {
        min-height: 330px;
        padding: 25px 15px;
    }

    .holy-title {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .holy-church {
        margin: 15px 0 18px;
    }

    .holy-church img {
        width: 200px;
    }

    .date-day {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .date-year {
        font-size: 0.9rem;
    }

    .holy-time {
        margin-top: 18px;
    }

    .holy-divider {
        width: 150px;
        margin: 20px 0;
    }

    .holy-location p {
        font-size: 0.85rem;
    }

    .holy-location span {
        font-size: 0.8rem;
    }

    .holy-direction {
        min-width: 180px;
        font-size: 0.7rem;
    }

    .holy-info {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: none;
    }

    .holy-date-time {
        padding-right: 0;
    }

    .holy-venue {
        padding-left: 0;
        border-left: none;
    }
}



/* =========================
   MAPS
========================= */
#maps iframe {
  border: 0;
  border-radius: 10px;
}

/* =========================
   GALLERY
========================= */

#gallery {
  overflow: hidden;
}

#gallery .container {
  max-width: 1100px;
}

.gallery-quote {
  max-width: 700px;
  margin: auto;

  font-family: "Cormorant Garamond", serif;
  font-size: 15px!important;
  line-height: 1.7;

  color: #555;
  font-style: italic;
}


/* =========================
   CAROUSEL
========================= */

.gallery-carousel {
  position: relative;

  width: 100%;
  height: 400px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* =========================
   TRACK
========================= */

.gallery-track {
  position: relative;

  width: 100%;
  height: 100%;
}


/* =========================
   CARD
========================= */

.gallery-card {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 280px;
  padding: 10px 10px 45px;

  background: #fff;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.18);

  transform:
    translate(-50%, -50%)
    scale(0.65);

  opacity: 0;

  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease,
    z-index 0.6s;

  pointer-events: none;
}

.gallery-card img {
  display: block;

  width: 100%;
  height: 280px;

  object-fit: cover;
}


/* =========================
   POSITION 0
   MAIN
========================= */

.gallery-card.position-main {
  transform:
    translate(-50%, -50%)
    translateX(0)
    scale(1)
    rotate(-1deg);

  opacity: 1;

  z-index: 5;

  pointer-events: auto;
}


/* =========================
   POSITION LEFT
========================= */

.gallery-card.position-left {
  transform:
    translate(-50%, -50%)
    translateX(-300px)
    scale(0.68)
    rotate(-5deg);

  opacity: 0.65;

  z-index: 2;
}


/* =========================
   POSITION RIGHT
========================= */

.gallery-card.position-right {
  transform:
    translate(-50%, -50%)
    translateX(300px)
    scale(0.68)
    rotate(5deg);

  opacity: 0.65;

  z-index: 2;
}


/* =========================
   HIDDEN LEFT
========================= */

.gallery-card.position-hidden-left {
  transform:
    translate(-50%, -50%)
    translateX(-600px)
    scale(0.5)
    rotate(-8deg);

  opacity: 0;

  z-index: 1;
}


/* =========================
   HIDDEN RIGHT
========================= */

.gallery-card.position-hidden-right {
  transform:
    translate(-50%, -50%)
    translateX(600px)
    scale(0.5)
    rotate(8deg);

  opacity: 0;

  z-index: 1;
}


/* =========================
   BUTTON
========================= */

.gallery-btn {
  position: absolute;

  top: 50%;

  width: 45px;
  height: 45px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  /* background: rgba(70, 70, 70, 0.7); */
  background-color: #E6D8C3;

  /* color: #fff; */
  color: #5C4033;

  cursor: pointer;

  z-index: 20;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.gallery-btn span {
  font-size: 32px;
  line-height: 1;

  margin-top: -4px;
}

.gallery-btn:hover {
  /* background: rgba(40, 40, 40, 0.9); */
  /* background-color: #5C4033;

  color: #E6D8C3; */

  transform:
    translateY(-50%)
    scale(1.08);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}


/* =========================
   COUNTER
========================= */

.gallery-counter {
  font-family: "Cormorant Garamond", serif;

  font-size: 12px;

  color: #777;
}

.gallery-divider {
  margin: 0 5px;

  color: #aaa;
}


/* =========================
   LIGHTBOX
========================= */

.gallery-lightbox {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  padding: 30px;

  animation: lightboxFade 0.3s ease;
}


/* =========================
   IMAGE
========================= */

.gallery-lightbox-img {
  max-width: 85%;
  max-height: 88vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 8px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6);

  animation: lightboxZoom 0.3s ease;
}


/* =========================
   NAVIGATION BUTTON
========================= */

.lightbox-btn {
  position: absolute;

  top: 50%;

  width: 55px;
  height: 55px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: rgba(230, 216, 195, 0.9);

  color: #5C4033;

  font-size: 36px;
  line-height: 1;

  cursor: pointer;

  z-index: 10001;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


/* =========================
   PREVIOUS
========================= */

.lightbox-prev {
  left: 30px;
}


/* =========================
   NEXT
========================= */

.lightbox-next {
  right: 30px;
}


/* =========================
   HOVER
========================= */

.lightbox-btn:hover {

  background: #E6D8C3;

  transform:
    translateY(-50%)
    scale(1.1);

}


/* =========================
   CLOSE
========================= */

.lightbox-close {
  position: absolute;

  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  border: none;
  background: transparent;

  color: #fff;

  font-size: 42px;
  line-height: 1;

  cursor: pointer;

  z-index: 10002;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}


.lightbox-close:hover {

  color: #E6D8C3;

  transform: scale(1.1);

}


/* =========================
   ANIMATION
========================= */

@keyframes lightboxFade {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes lightboxZoom {

  from {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }

}


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

@media (max-width: 576px) {

  .gallery-lightbox {
    padding: 15px;
  }

  .gallery-lightbox-img {
    max-width: 90%;
    max-height: 80vh;
  }

  .lightbox-btn {

    width: 35px;
    height:35px;

    font-size: 22px;

  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {

    top: 10px;
    right: 12px;

    font-size: 36px;

  }

}


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

@media (max-width: 768px) {

  .gallery-carousel {
    height: 320px;
  }

  .gallery-card {
    width: 210px;

    padding: 7px 7px 32px;
  }

  .gallery-card img {
    height: 210px;
  }

  .gallery-card.position-left {
    transform:
      translate(-50%, -50%)
      translateX(-180px)
      scale(0.65)
      rotate(-5deg);

    opacity: 0.55;
  }

  .gallery-card.position-right {
    transform:
      translate(-50%, -50%)
      translateX(180px)
      scale(0.65)
      rotate(5deg);

    opacity: 0.55;
  }

  .gallery-card.position-hidden-left {
    transform:
      translate(-50%, -50%)
      translateX(-400px)
      scale(0.5);
  }

  .gallery-card.position-hidden-right {
    transform:
      translate(-50%, -50%)
      translateX(400px)
      scale(0.5);
  }

  .gallery-btn {
    width: 38px;
    height: 38px;
  }

  .gallery-btn span {
    font-size: 28px;
  }

  .gallery-prev {
    left: 5px;
  }

  .gallery-next {
    right: 5px;
  }
}


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

@media (max-width: 576px) {

  .gallery-quote {
    font-size: 18px;
  }

  .gallery-carousel {
    height: 280px;
  }

  .gallery-card {
    width: 175px;

    padding: 6px 6px 28px;
  }

  .gallery-card img {
    height: 175px;
  }

  .gallery-card.position-left {
    transform:
      translate(-50%, -50%)
      translateX(-125px)
      scale(0.62)
      rotate(-5deg);

    opacity: 0.5;
  }

  .gallery-card.position-right {
    transform:
      translate(-50%, -50%)
      translateX(125px)
      scale(0.62)
      rotate(5deg);

    opacity: 0.5;
  }

  .gallery-btn {
    width: 34px;
    height: 34px;
  }

  .gallery-btn span {
    font-size: 25px;
  }

  .gallery-prev {
    left: 2px;
  }

  .gallery-next {
    right: 2px;
  }
}

/* =========================
   VIDEO
========================= */
#video video {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================
   RSVP FORM
========================= */
#rsvp{
    background-color: #fbf8f5!important;
    color: #2d3436 !important;
    /* font-family: "Cormorant Garamond", serif; */
}
#rsvp form {
  background: #EEE9E3;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#rsvp .title{
    display: flex;
    align-items: center;
    gap: 8px;
}

#rsvp .book{
  /* font-family: 'Permanent Marker', cursive; */
  /* font-family: "Montserrat", sans-serif; */
  font-family: "Cormorant Garamond", serif;
  color: #2d3436;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
  /* text-decoration: underline; */
}

#rsvp input,
#rsvp select,
#rsvp textarea {
  border-radius: 5px;
}

.attend-btn {
    border-color: #A77F60!important;
    color: #A77F60!important;
}

.active-attend {
    /* background-color: #C4A484 !important; */
    background-color: #A77F60 !important;
    /* border-color: #6c757d !important; */
    color: white !important;
    border: none!important;
    /* opacity: 0.6; */
}

.active-disabled-attend {
    /* background-color: #6c757d !important; */
    border-color: #A77F60 !important;
    color: #A77F60 !important;
    opacity: 0.6;
    /* cursor: not-allowed; */
}

#rsvp .btn-send{
    font-family: 'Permanent Marker', cursive;
    /* border: 1px solid #5C4033; */
    color: whitesmoke;
    background-color: #A77F60;
    /* background-color: #5C4033; */
    /* background-color: #2d3436; */
    /* border-radius: 100px!important; */
}

#rsvp input, select, textarea{
    background-color: transparent!important;
    border-color: #A77F60 !important;
}

#rsvp .form-control:focus {
    /* border-color: #ced4da; */
    box-shadow: none;
    outline: none;
}
.disabled-select{
    background-color: #D9CFC7!important;
    border-color: #D9CFC7!important;
}



/* =========================
   WISHES
========================= */
#wishes{
    /* background-color: #fbf8f5; */
    /* font-family: "Cormorant Garamond", serif; */
    font-family: "Montserrat", sans-serif;
}
#wishes .wishes-section{
    min-height: 400px;
    max-height: 400px;
    /* border: 1px solid #A77F60; */
    border-radius: 10px;
    /* padding: 10px; */
    overflow-y: auto;
    scroll-behavior: smooth;
    /* scroll-snap-type: y proximity; */
}
#wishes h2{
    font-family: 'Permanent Marker', cursive;
    color: #2d3436;
    line-height: 1.5;
    margin: 0;
}
.wishes-box{
    max-width: 900px;
}
#wishes .border {
  border-radius: 10px;
  transition: 0.3s ease;
}

#wishes .card-wish{
    border-color: #D9CFC7;
    background-color: #fbf8f5;
}

#wishes .badge{
    border: 1px solid #A77F60;
    color: #A77F60;
    padding-top: 1px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

#wishes .card h6{
  font-size: 12px!important;
}

#wishes .card .badge small{
  font-size: 8px!important;
}

#wishes .card .text-wish{
  display: block;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* #wishes .border:hover {
  transform: scale(1.02);
} */

/* =========================
   GIFT SECTION
========================= */
#gift .border {
  border-radius: 12px;
  transition: 0.3s ease;
}

#gift .border:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* QRIS IMAGE */
#gift img {
  filter: grayscale(100%);
  transition: 0.3s ease;
}

#gift img:hover {
  filter: grayscale(0%);
}

/* =========================
   MUSIC BUTTON
========================= */
#musicToggle {
  width: 50px;
  height: 50px;
  font-size: 18px;
  z-index: 999;
}

/* =========================
   FOOTER
========================= */
footer {
  letter-spacing: 1px;
  color: #2d3436;
}

footer h1{
    font-family: "Damion", cursive;
    font-weight: 400;
    font-style: normal;
    
    font-size: 3rem!important;
    color: #2d3436;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}

footer small{
    /* font-family: "Cormorant Garamond", serif; */
    font-family: "Montserrat", sans-serif;
}

footer p{
    font-family: "Cormorant Garamond", serif;
    font-size: 12px!important; 
    line-height: 1.7;
    color: #555;
    /*font-style: italic;*/
}

footer .footer-closing{
    font-family: "Montserrat", sans-serif;
}

footer .polaroid-footer {
  position: relative;
  display: inline-block;
  background: #fbf8f5;
  padding: 12px 12px 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  border-radius: 10px;
  transition: .3s ease;
  /* transform: rotate(-3deg); */
  /* width: 90%; */
  width: 100%;
  max-width: 900px;
  /* font-family: "Edu NSW ACT Foundation", cursive; */
  font-optical-sizing: auto;
  /* font-weight: ; */
  font-style: normal;
  color: #5C4033;
}

footer .polaroid-footer::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    #e0c19a 0%,
    #c79b67 50%,
    #b7814f 100%
  );
  border-radius: 3px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.2),
    inset 0 1px 1px rgba(255,255,255,.4);
  z-index: 2;
}

footer .polaroid-footer::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 16px;
  background: rgba(0,0,0,.15);
  border-radius: 2px;
  z-index: 3;
}

/* .polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

.polaroid .caption {
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: black;
}

.polaroid.bride {
  transform: rotate(3deg);
} */

/* =========================
   SMOOTH ANIMATION GLOBAL
========================= */
/* * {
  transition: all 0.2s ease-in-out;
} */


.flying-bird {
    position: absolute;
    top: 0;
    left: -200px;
    z-index: 99999;
    pointer-events: none;
}

.flying-bird img {
    width: 80px;
}


.quote {
    font-family: "Lobster Two", sans-serif!important;
    font-weight: 0!important;
    font-size: 20px;
    font-style: italic;
}


