:root {
  --color-primary: #4a2618;
  --color-secondary: #f4ebdd;
  --color-accent: #a85d3a;
  --color-text: #3a241b;
  --color-white: #ffffff;

  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================================
   BACKGROUND SECTION
   Gambar 9:16 → fit mengikuti lebar layar
   ========================================================= */

.quote-section, .couple-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--white);
  background-position: top center;
  background-size: 100% auto;
  background-repeat: repeat-y;
}

/* =========================================================
   QUOTE
   ========================================================= */

.quote-section {
  background-image: url("../assets/images/Background 2.jpg");
}

.quote-divider-top {
  width: 100%;
  height: 6vw;
  max-height: 75px;
}

.quote-divider-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-card {
  width: 88%;
  max-width: 650px;
  margin: 5vw auto 8vw;
  overflow: hidden;
  border-radius: 22px;
  background: #3a241b;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

.quote-photo {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
}

.quote-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote-text {
  padding: 5% 7%;
  text-align: center;
}

.quote-reference {
  margin: 0 0 4%;
  font-family: var(--font-secondary);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: #f4ebdd;
}

.quote-message {
  max-width: 530px;
  margin: auto;
  font-family: var(--font-secondary);
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.6;
  color: #f4ebdd;
}

/* =========================================================
   COUPLE SECTION
   ========================================================= */

.couple-section {
  background-image:
    url("../assets/images/Background 2.jpg");

  padding-top: 2vw;
}

.couple-person {
  position: relative;
  width: 100%;
}

.couple-info {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 0 6%;
}

.couple-name {
  margin: 0;
  font-family: var(--font-primary) !important;
  font-size: clamp(52px, 8vw, 85px);
  font-style: italic;
  font-weight: 800 !important;
  line-height: .9;
  color: #a85d3a;
}

.couple-fullname {
  margin: 20px 0 5px;
  font-family: var(--font-primary) !important;
  font-weight: 600 !important;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.2;
  color: #3a241b;
}

.couple-parents {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  color: #3a241b;
}

/* =========================================================
   INSTAGRAM
   ========================================================= */

.couple-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 28px;
  border-radius: 50%;
  background: #a85d3a;
  color: #fff;
  text-decoration: none;
}

.couple-instagram i {
  font-size: 27px;
  line-height: 1;
}


/* =========================================================
   AREA FOTO
   ========================================================= */

.couple-photo-area {
  position: relative;
  width: 100%;
  height: 570px;
  margin-top: 15px;
}

.couple-photo-frame {
  position: absolute;
  z-index: 5;
  top: 50%;

  width: min(410px, 72vw);
  aspect-ratio: .78 / 1;

  overflow: hidden;
  border: 6px solid #b77b13;
  border-radius: 50%;

  background: #eee;

  box-shadow:
    0 0 0 3px #6d3908,
    0 8px 30px rgba(0,0,0,.3);
}

.couple-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* =========================================================
   ORNAMEN
   ========================================================= */

.couple-leaf,
.couple-flower-left,
.couple-flower-right,
.couple-peacock {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.couple-leaf {
  z-index: 2;
  top: 0;
  width: 230px;
}

.couple-flower-left {
  z-index: 8;
  bottom: 15px;
  width: 145px;
}

.couple-flower-right {
  z-index: 8;
  bottom: 70px;
  width: 125px;
}

/* =========================================================
   siska
   Foto agak ke KIRI
   Bunga utama di KANAN
   ========================================================= */

.couple-siska .couple-photo-frame {
  left: 43%;
  transform: translate(-50%, -50%);
}

.couple-siska .couple-leaf {
  left: 47%;
  transform: translateX(-5%);
}

.couple-siska .couple-flower-left {
  left: 0;
}

.couple-siska .couple-flower-right {
  right: 0;
}

.couple-siska .couple-peacock {
  left: 0;
}


/* =========================================================
   DIVIDER &
   ========================================================= */

.couple-and {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 10% 45px;
}

.couple-and-line {
  flex: 1;
  height: 2px;
  background: #a85d3a;
}

.couple-and-symbol {
  margin: 0 18px;
  font-family: var(--font-primary);
  font-size: clamp(65px, 11vw, 105px);
  font-style: italic;
  font-weight: 600;
  line-height: .7;
  color: #a85d3a;
}


/* =========================================================
   rian
   Teks di KANAN
   Foto agak ke KANAN
   ========================================================= */

.couple-rian {
  padding-bottom: 100px;
}

.couple-rian .couple-info {
  padding-left: 10%;
  padding-right: 6%;
  text-align: right;
}

.couple-rian .couple-instagram {
  margin-left: auto;
}

.couple-rian .couple-photo-area {
  margin-top: 15px;
}

.couple-rian .couple-photo-frame {
  left: 57%;
  transform: translate(-50%, -50%);
}

.couple-rian .couple-leaf {
  right: 47%;
  left: auto;
  transform: translateX(5%);
}

.couple-rian .couple-flower-left {
  left: 0;
}

.couple-rian .couple-flower-right {
  right: 0;
  top: 78%;
  width: 30%;
}

/* =========================================================
   MIN WIDTH 768PX
   ========================================================= */

@media (min-width: 768px) {

  .quote-divider-top {
    height: 70px;
  }

  .quote-card {
    width: min(650px, 75vw);
    margin-top: 45px;
  }

  .couple-info {
    padding-left: 7%;
  }

  .couple-photo-area {
    height: 680px;
  }

  .couple-photo-frame {
    width: 430px;
  }

  .couple-siska .couple-photo-frame {
    left: 43%;
  }

  .couple-rian .couple-photo-frame {
    left: 57%;
  }

  .couple-flower-left {
    width: 230px;
    left: 18% !important;
  }

  .couple-flower-right {
    width: 158px;
    right: 18% !important;
    top: 75% !important;
  }

  .couple-rian .couple-info {
    padding-right: 7%;
  }
}

/* =========================================================
   MAX WIDTH 480PX
   ========================================================= */

@media (max-width: 480px) {

  .quote-card {
    width: 92%;
    margin-top: 25px;
    border-radius: 18px;
  }

  .quote-text {
    padding: 6% 6% 7%;
  }

  .quote-message {
    font-size: 11px;
    line-height: 1.55;
  }

  .couple-info {
    padding: 0 6%;
  }

  .couple-name {
    font-size: 52px;
  }

  .couple-fullname {
    font-size: 22px;
  }

  .couple-parents {
    font-size: 16px;
  }

  .couple-photo-area {
    height: 480px;
  }

  .couple-photo-frame {
    width: 76vw;
    border-width: 5px;
  }

  .couple-siska .couple-photo-frame {
    left: 41%;
  }

  .couple-rian .couple-photo-frame {
    left: 59%;
  }

  .couple-leaf {
    width: 190px;
  }

  .couple-flower-left {
    width: 155px !important;
  }

  .couple-flower-right {
    width: 155px !important;
    top: 74% !important;
  }

  .couple-and {
    padding-bottom: 35px;
  }

  .couple-rian .couple-info {
    padding: 0 6%;
  }
}

/* =========================================================
   MAX WIDTH 420PX
   ========================================================= */

@media (max-width: 420px) {

  .quote-card {
    width: 93%;
  }

  .quote-text {
    padding: 5% 5% 6%;
  }

  .quote-reference {
    font-size: 17px;
  }

  .quote-message {
    font-size: 10px;
  }

  .couple-name {
    font-size: 47px;
  }

  .couple-fullname {
    font-size: 20px;
  }

  .couple-parents {
    font-size: 15px;
  }

  .couple-photo-area {
    height: 435px;
  }

  .couple-photo-frame {
    width: 78vw;
  }

  .couple-siska .couple-photo-frame {
    left: 40%;
  }

  .couple-rian .couple-photo-frame {
    left: 60%;
  }

  .couple-leaf {
    width: 170px;
  }

  .couple-flower-left {
    width: 110px;
    top: 75% !important;
  }

  .couple-flower-right {
    width: 88px;
  }

  .couple-peacock {
    width: 190px;
  }

  .couple-and-symbol {
    font-size: 68px;
  }
}


/* =========================================================
   MAX WIDTH 360PX
   ========================================================= */

@media (max-width: 360px) {

  .quote-divider-top {
    height: 45px;
  }

  .quote-card {
    width: 94%;
    margin-top: 20px;
  }

  .quote-text {
    padding: 5% 4% 6%;
  }

  .quote-reference {
    font-size: 15px;
  }

  .quote-message {
    font-size: 9px;
  }

  .couple-name {
    font-size: 43px;
  }

  .couple-fullname {
    font-size: 18px;
  }

  .couple-parents {
    font-size: 14px;
  }

  .couple-photo-area {
    height: 395px;
  }

  .couple-photo-frame {
    width: 80vw;
    border-width: 4px;
  }

  .couple-siska .couple-photo-frame {
    left: 39%;
  }

  .couple-rian .couple-photo-frame {
    left: 61%;
  }

  .couple-leaf {
    width: 150px;
  }

  .couple-flower-left {
    width: 95px;
  }

  .couple-flower-right {
    width: 75px;
  }

  .couple-peacock {
    width: 170px;
  }

  .couple-and {
    padding:
      15px 8% 30px;
  }

  .couple-and-symbol {
    margin: 0 10px;
    font-size: 60px;
  }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.quote-divider-top,
.quote-card,
.couple-person,
.couple-and {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-divider-top.is-visible,
.quote-card.is-visible,
.couple-person.is-visible,
.couple-and.is-visible {
  opacity: 1;
  translate: 0 0;
}

.quote-card.is-visible {
  transition-delay: 0.15s;
}

.couple-siska.is-visible {
  transition-delay: 0.1s;
}

.couple-and.is-visible {
  transition-delay: 0.25s;
}

.couple-rian.is-visible {
  transition-delay: 0.4s;
}