@import url("https://fonts.googleapis.com/css?family=Lato|Raleway|Rouge+Script");

.has-vertically-aligned-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Raleway', Tahoma, sans-serif;
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
}

/* ---------- Intro / Landing Page ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  background-color: #46563A;
}

.intro-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 40, 25, 0.78), rgba(30, 40, 25, 0.78)), url("../image/canfan.jpeg") center/cover no-repeat;
  filter: blur(2px);
  transform: scale(1.05);
  z-index: 0;
}

.intro-overlay.intro-hidden {
  display: none;
}

.intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/flowers-and-leaves.png") left top / 180px no-repeat,
    url("../image/divider1-white.png") right bottom / 180px no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  color: #fff;
  padding: 36px 28px;
  border-radius: 18px;
  background-color: rgba(30, 40, 25, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.intro-overline {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: #DEE7D2;
  margin: 0 0 14px;
}

.intro-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #fff;
}

.intro-date {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  color: #EDF1E6;
  margin: 0 0 26px;
}

.btn-buka {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #B7C4A5;
  color: #3F4C35;
  border: none;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 15px 30px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease-in-out, background-color .2s ease-in-out, color .2s ease-in-out;
}

.btn-buka:hover {
  background-color: #DEE7D2;
  color: #2F3A27;
  transform: translateY(-2px);
}

.btn-buka i {
  font-size: 1.15rem;
}

/* Bottom nav hidden until invitation is opened */
.bottom-nav {
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: visibility .3s ease-in-out, opacity .3s ease-in-out, transform .3s ease-in-out;
}

body.intro-opened .bottom-nav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
/* ---------- End Intro ---------- */

.header-wrapper {
  padding-bottom: 30px;
}

.navbar-item {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;
}

.navbar-item.is-active {
  border-bottom: 2px solid #6E8060;
}

.a.navbar-item {
  color: #6E8060;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #46563A;
  color: white;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  font-family: 'Raleway', sans-serif;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(30, 40, 25, 0.72), rgba(30, 40, 25, 0.72)), url("../image/canfan.jpeg") center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/flowers-and-leaves.png") left top / 200px no-repeat,
    url("../image/divider1-white.png") right bottom / 200px no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.hero .title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transform: none;
  font-size: 2.6rem;
  padding-bottom: 5px;
  color: whitesmoke;
}

.hero .subtitle {
  padding: 35px;
  color: whitesmoke;
  font-size: 1.3rem;
}

.hero .tempatwaktu {
  padding-top: 35px;
  font-size: 1.3rem;
}

.hero .hero-foot {
  height: 50px;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.082);
}

@media (max-width: 599px) {
  .hero .hero-foot {
    display: none;
  }
}

.hero .hero-foot .hero-foot--wrapper {
  margin: 7px auto;
  height: 50px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li {
  display: inline-block;
  padding-right: 15px;
  padding-left: 15px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li.is-active a {
  border-bottom: 2px solid #6E8060;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a {
  color: #6E8060;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a:hover {
  color: #6E8060;
  transition: all .2s ease-in-out;
  border-bottom: 2px solid #879A72;
}

/* Mobile navbar readability */
.navbar.is-transparent .navbar-menu.is-active {
  background-color: rgba(110, 128, 96, 0.97);
}

.navbar.is-transparent .navbar-menu.is-active .navbar-item,
.navbar.is-transparent .navbar-menu.is-active .navbar-item a {
  color: #fff;
}

.space40px {
  height: 40px;
}

.space24px {
  height: 24px;
}

.main-content {
  padding-top: 2rem;
  color: #000;
  font-family: 'Raleway', sans-serif;
}

.main-content .section-dark {
  background-color: #EDF1E6;
  padding: 80px 40px;
}

.main-content .section-darker {
  background-color: #DEE7D2;
  padding: 80px 40px;
}

.main-content .section-dark.resume {
  height: 400px;
  padding-top: 60px;
}

@media (max-width: 599px) {
  .main-content .section-dark.resume {
    padding-top: 75px;
  }
}

.main-content .section-dark.resume .title {
  padding: 20px;
}

.main-content .section-dark.resume button {
  border: 2px solid #6E8060;
  background: white;
  color: #6E8060;
  height: 50px;
  width: 250px;
  font-size: 1rem;
  text-transform: uppercase;
}

.main-content .section-dark.resume .fa-download {
  color: #6E8060;
}

.main-content .section-dark.my-work {
  padding: 80px 40px;
}

.main-content .section-cashbac {
  background-color: rgb(238, 250, 253);
  padding: 80px 40px;
}

@media (max-width: 599px) {
  .main-content .section-dark.foto-foto {
    padding: 75px 20px;
  }
}

.main-content .section-dark.foto-foto .foto-item {
  margin-bottom: 1rem;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

.main-content .section-dark.my-work .work-item:hover {
  -webkit-transform: scale(1.055) translateY(-2px);
  transform: scale(1.055) translateY(-2px);
  -webkit-box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
  box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
}

.section-map {
  padding: 0;
}

.section-map iframe {
  max-width: 100%;
}

.main-content .section-light {
  padding: 80px 40px;
}

.main-content .section-light.regular-section {
  padding-bottom: 80px;
}

.main-content .section-light.regular-section .is-larger {
  font-size: 1.2rem;
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .about-links {
    text-align: center;
  }
}

.main-content .section-light.regular-section .right-image img {
  border-radius: 11px;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .right-image img {
    margin: auto;
  }
}

.main-content .section-light.skills {
  padding: 100px;
}

@media (max-width: 599px) {
  .main-content .section-light.skills {
    padding: 50px 20px 40px 20px;
    padding-bottom: 20px;
  }
}

.main-content .section-light.skills h1 {
  padding: 10px;
  font-size: 24px;
}

.main-content .section-light.contact {
  padding: 80px;
}

.main-content .section-light.contact button {
  width: 100%;
  color: white;
  height: 50px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
}

@media (max-width: 599px) {
  .main-content .section-light.contact {
    padding: 80px 40px;
  }
}

.main-content .section-color.pertanyaan {
  padding: 100px;
  background-color: #6E8060;
  color: white;
}

.main-content .section-color.pertanyaan .title,
.main-content .section-color.pertanyaan .subtitle {
  color: white;
}

.main-content .section-color.pertanyaan i {
  font-size: 3rem;
  padding: 20px;
}

.main-content .section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: #5A6B4C;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0px;
  padding-bottom: 60px;
}

.nama-lengkap {
  font-family: 'Rouge Script', sans-serif;
  /* color: #5A6B4C; */
  font-size: 3.5rem;
  letter-spacing: 0px;
  padding-bottom: 6px;
  line-height: 3.7rem;
}

.parent-nama {
  font-family: 'Raleway', sans-serif;
  /* color: #6E8060; */
  font-size: 1.05rem;
  line-height: 1.6rem;
  max-width: 34rem;
  margin: 0 auto;
  padding-bottom: 6px;
}

.ampersand {
  font-size: 5rem;
  font-family: 'Rouge Script', sans-serif;
  /* color: #6E8060; */
  line-height: 5rem;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 15px;
}

.bodytext {
  font-size: 18px;
  line-height: 1.8rem;
  padding: 0 10px;
}

.waktu {
  font-size: 1.4rem;
  font-family: 'Raleway', sans-serif;
}

.tanggal-angka {
  font-size: 5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  line-height: 1;
  color: #5A6B4C;
}

.tempat {
  font-size: 1.4rem;
  font-family: 'Raleway', sans-serif;
  line-height: 1.8rem;
  margin-bottom: 50px;
}

.has-vertically-align {
  vertical-align: middle;
}

.footer {
  bottom: 0;
  width: 100vw;
  padding: 10px;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
  background: #879A72;
  color: whitesmoke;
}

.footer p {
  color: white;
  font-weight: 500;
  font-size: 10pt;
  display: inline-block;
  vertical-align: middle;
}

.main-content .no-padding-top {
  padding-top: 0px;
}

.footer img {
  margin: 10px 0px 10px 10px;
  display: inline-block;
  max-height: 24px;
  vertical-align: middle;
}

.footer a .nav-item {
  color: whitesmoke;
}

.fa-download {
  color: #43485c;
}

.divider {
  margin: 40px 25px;
  display: inline-block;
  max-height: 60px;
  vertical-align: middle;
}

.bismillah {
  margin: 25px;
  display: inline-block;
  max-height: 50px;
  vertical-align: middle;
}

#toTop {
  height: 50px;
  width: 50px;
  display: none;
  position: fixed;
  bottom: 82px;
  right: 16px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #6E8060;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
  opacity: 0.9;
}

#toTop a {
  color: white;
}

#toTop:hover {
  background-color: #879A72;
  opacity: 1;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #EDF1E6;
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px #6E8060;
  -webkit-box-shadow: inset 0 0 6px #6E8060;
  background-color: #879A72;
}

body.preloader-site {
  overflow: hidden;
}

.preloader-wrapper {
  height: 100%;
  width: 100%;
  background: #B7C4A5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
}

.preloader-wrapper .preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 120px;
}

.btn-whatsapp:hover {
  color: white;
  background-color: #59a543;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #59a543;
  width: 210px;
  height: 65px;
  align-items: center;
  margin: 1rem;
}

.btn-whatsapp {
  background-color: #6cc751;
  width: 210px;
  height: 65px;
  color: white;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 1px solid #6cc751;
  align-items: center;
  margin: 1rem;
}

.btn-cta:hover {
  color: white;
  background-color: #879A72;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #879A72;
  height: auto;
  width: auto;
  min-height: 50px;
  padding: 12px 22px;
  align-items: center;
  white-space: nowrap;
  margin: 1rem;
}

.btn-cta {
  background-color: #6E8060;
  height: auto;
  width: auto;
  min-height: 50px;
  padding: 12px 22px;
  color: white;
  font-size: 1.2rem;
  border: 2px solid #6E8060;
  border-radius: 10px;
  align-items: center;
  white-space: nowrap;
  margin: 1rem;
}

.cashbac-logo-inline {
  width: 160px;
  vertical-align: middle;
}

.button-download {
  min-width: 200px;
  height: 55px;
  align-items: center;
  margin: 0.1rem;
}

.voucher-code {
  height: 55px;
  max-width: 180px;
  border: 2px solid #26ade4;
  border-radius: 10px 0 0 10px;
  font-size: 24px;
  padding: 15px;
}

.btn-voucher-code {
  height: 55px;
  min-width: 100px;
  border: 2px solid #26ade4;
  background-color: #26ade4;
  border-radius: 0 10px 10px 0;
  font-size: 20px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  color: white;
}

.fa-copy {
  margin-right: 5px;
}

.white {
  color: ghostwhite;
}

.sage { color: #B7C4A5; }
.sage-lighter { color: #DEE7D2; }
.sage-lightest { color: #EDF1E6; }
.sage-darker { color: #879A72; }
.sage-darkest { color: #6E8060; }

.tile {
  border-radius: 10px;
}

.foto1 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/beatriz-perez-moya-M2T1j-6Fn8w-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto2 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/evelina-friman-hw_sKmjb0ns-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto3 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/jeremy-wong-weddings-464ps_nOflw-unsplash.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto4 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/jeremy-wong-weddings-K8KiCHh4WU4-unsplash.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto5 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/nathan-dumlao-5BB_atDT4oA-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto6 {
  background-image: linear-gradient(rgba(45, 55, 38, 0.55), rgba(48, 47, 47, 0.9)), url("../image/samantha-gades-x40Q9jrEVT0-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.title-foto {
  font-size: 18pt;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-align: left;
  color: white;
}

.subtitle-foto {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14pt;
  margin-top: 15px;
  text-align: left;
  color: white;
}

.section-light {
  background-image: url(../image/divider-flowers-leaves.png);
  background-position: bottom -30px center;
  background-repeat: no-repeat;
  background-size: initial;
}

/* Decorative floral backgrounds using existing imagery */
.main-content .section-dark,
.main-content .section-darker,
.main-content .section-light {
  position: relative;
  overflow: hidden;
}

.main-content .section-dark > *,
.main-content .section-darker > *,
.main-content .section-light > * {
  position: relative;
  z-index: 1;
}

.main-content .section-dark::before,
.main-content .section-darker::before,
.main-content .section-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: url("../image/flowers-and-leaves.png") center/contain no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.main-content .section-dark::after,
.main-content .section-darker::after,
.main-content .section-light::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: url("../image/flowers-and-leaves.png") center/contain no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  transform: rotate(180deg);
}

.instagram {
  color: #5A6B4C;
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 0.5rem;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  padding: 10px;
}

/* QR Code */
.qr-code {
  display: inline-block;
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.18);
}

.qr-code img {
  display: block;
  width: 220px;
  max-width: 70vw;
  height: auto;
}

.qr-code figcaption {
  margin-top: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #5A6B4C;
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: rgba(110, 128, 96, 0.98);
  box-shadow: 0 -3px 12px rgba(14, 25, 80, 0.28);
  padding: 0 8px;
}

.bottom-nav-item {
  flex: 1;
  max-width: 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 12px;
  transition: color .2s ease-in-out, transform .2s ease-in-out;
  position: relative;
}

.bottom-nav-item:hover {
  color: #fff;
  transform: translateY(-2px);
}

.bottom-nav-item.is-active {
  color: #fff;
}

.bottom-nav-item.is-active i {
  background-color: rgba(183, 196, 165, 0.95);
  color: #4A5A3F;
}

.bottom-nav-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

body.intro-opened {
  overflow: visible;
  padding-bottom: 70px;
}

body.intro-locked {
  overflow: hidden;
  height: 100%;
}

/* Music toggle button */
.music-button {
  position: fixed;
  bottom: 82px;
  left: 16px;
  z-index: 100;
  height: 50px;
  width: 50px;
  border: none;
  outline: none;
  background-color: #6E8060;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease-in-out, transform .2s ease-in-out;
}

.music-button:hover {
  background-color: #879A72;
  transform: scale(1.05);
}

.music-button.playing {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(110, 128, 96, 0.55);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(110, 128, 96, 0);
  }
}

/* ---------- Mobile Responsiveness ---------- */
@media (max-width: 768px) {
  .intro-title {
    font-size: 1.9rem;
  }

  .hero .title {
    font-size: 2.1rem;
    transform: rotate(0deg);
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero .subtitle {
    padding: 20px 12px;
    font-size: 1.1rem;
  }

  .hero .tempatwaktu {
    padding-top: 20px;
    font-size: 1.1rem;
  }

  .main-content {
    padding-top: 1rem;
  }

  .main-content .section-dark,
  .main-content .section-darker,
  .main-content .section-light {
    padding: 50px 20px;
  }

  .nama-lengkap {
    font-size: 2.6rem;
    line-height: 2.9rem;
  }

  .ampersand {
    font-size: 3.6rem;
    line-height: 3.6rem;
  }

  .tanggal-angka {
    font-size: 3.6rem;
  }

  .waktu {
    font-size: 1.25rem;
  }

  .tempat {
    font-size: 1.2rem;
    line-height: 1.7rem;
  }

  .section-map iframe {
    height: 320px;
  }

  .foto1,
  .foto2,
  .foto3,
  .foto4,
  .foto5,
  .foto6 {
    min-height: 18rem;
  }

  .btn-whatsapp,
  .btn-cta {
    width: auto;
    max-width: 100%;
    margin: 0.5rem;
    white-space: nowrap;
  }

  .footer {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .intro-title {
    font-size: 1.6rem;
  }

  .hero .title {
    font-size: 1.7rem;
  }

  .nama-lengkap {
    font-size: 2.3rem;
    line-height: 2.6rem;
  }

  .tanggal-angka {
    font-size: 3rem;
  }
}