:root {
  --bg-main: #f3f6f3; /* background utama */
  --bg-section: #e6eee6; /* beda tipis antar section */

  --primary: #7a9e7e; /* sage green */
  --primary-soft: #a8c3a8; /* hover */

  --text-main: #2f2f2f;
  --text-soft: #6e6e6e;

  --white: #ffffff;

  --shadow: 0 2px 2px rgb(0 0 0/0.5);
}

body {
  font-size: 1.4rem;
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

.section-title {
  font-family: "Playfair Display", serif;
  color: var(--text-main);
  font-size: 4rem;
  margin-bottom: 20px;
}

/* .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
} */

.hero {
  min-height: 100vh;
  background-color: var(--bg-main);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin: 20px 0;
}

.hero h4 {
  font-size: 2rem;
  margin: 20px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: 4px;
}

.thin {
  font-weight: 300;
}

.btn-green {
  color: white;
  background-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-green:hover {
  background: var(--primary-soft);
}

.home {
  background-image: url(img/daun.png);
  background-size: cover;
  background-position: center;
  padding-top: 10rem;
}

.home h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin: 20px 0;
}

.home h3 {
  font-family: "Playfair Display", serif;
}

.ayat {
  width: 100%;
  margin-top: 120px;
  background-color: var(--primary);
  padding: 5rem;
  color: var(--white);
  line-height: 1.6;
}

.ayat h2 {
  font-family: "Amiri", serif;
  line-height: 2.4;
  font-size: 2.3rem;
}

.couple {
  padding-top: 10rem;
  padding-bottom: 10rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.couple h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary);
  margin: 20px 0;
}

.img-responsive {
  width: 100%;
}

.info {
  padding-top: 10rem;
  padding-bottom: 8rem;
  background-color: var(--bg-section);
}

.info a {
  color: white;
  background-color: var(--primary);
  box-shadow: var(--shadow);
}

.info .card {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 2rem;
}

.info .card-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
  margin-bottom: 10px;
}

.info .card-text {
  color: var(--text-main);
  font-size: 1.4rem;
  line-height: 0.8;
  font-weight: 300;
}

.info .deskripsi {
  font-weight: bold;
  color: var(--text-soft);
}

.info iframe {
  border-width: 2;
  border-radius: 5%;
  border-color: var(--primary);
}

.story {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.story p {
  font-weight: 300;
  font-style: italic;
}
.rsvp {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--bg-section);
}

.rsvp .deskripsi {
  font-size: 1.3rem;
  font-weight: 300;
}

.gift {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.gift img {
  width: 50%;
}

.gift h3 {
  font-size: 1.8rem;
}

.gift .card {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 2rem;
  padding: 1rem;
}

.gift .alamat {
  margin-top: 4rem;
}
.wish {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--bg-section);
}

.wish .card {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.wish .comment-name {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 0;
}
.wish .comment-message {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 300;
}

.wish .date {
  color: #6e6e6e;
  font-size: 1rem;
  font-weight: 200;
  line-height: 0;
}

.doa {
  width: 100%;
  background-color: var(--primary);
  background-image: url(img/daun.png);
  background-size: cover;
  background-position: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  color: var(--white);
}

.doa h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
}

.doa h3 {
  font-family: "Amiri", serif;
  font-size: 2rem;
  line-height: 1.6;
}

.doa span {
  font-size: 0.8rem;
  line-height: 0;
}

.doa p {
  font-size: 1.3rem;
  color: var(--bg-main);
  font-weight: 200;
}

.footer {
  background-color: var(--primary);
  color: white;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.footer h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin: 20px 0;
}

.footer p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.wm {
  padding: 5rem;
  background-color: var(--primary);
  color: white;
}

.wm img {
  border-radius: 5%;
  height: 50px;
  width: 50px;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  cursor: pointer;
  color: var(--text-main);
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

/* 1. Keadaan Awal: Elemen sembunyi & agak di bawah */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out; /* Durasi 1 detik biar elegan */
}

/* 2. Keadaan Aktif: Elemen terlihat & di posisi normal */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Media Query */
/* laptop */
@media (max-width: 992px) {
  html {
    font-size: 80%;
  }

  .simply-countdown > .simply-section {
    padding: 60px;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 75%;
  }

  .simply-countdown > .simply-section {
    padding: 40px;
    margin: 5px;
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .simply-countdown > .simply-section {
    padding: 35px;
    margin: 4px;
  }
}
