: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;
}

.footer-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 68px 20px 25px;
  background-image: url("../assets/images/Background 2.jpg");
  color: var(--color-text);
  background-position: top center;
  background-size: 100% auto;
  background-repeat: repeat-y;
  text-align: center;
}

/* =========================================================
   DIVIDER ATAS
========================================================= */

.footer-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 34px;
  overflow: hidden;
  background-image: url("../assets/images/Divider 6.png");
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 34px;
}

.footer-divider-top img {
  display: none;
}

/* =========================================================
   CONTENT
========================================================= */

.footer-content {
  position: relative;
  z-index: 2;
  width: min(90%, 620px);
  margin: 0 auto;
  margin-top: 10px;
}

.footer-eyebrow {
  margin: 0 auto !important;
  font-family: var(--font-secondary) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-title {
  max-width: 500px;
  margin: 0 auto;
  margin-top: 14px;
  font-size: 70px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  font-family: var(--font-primary) !important;
  font-size: 80px !important;
  color: var(--color-primary) !important;
}

.footer-message {
  margin: 24px auto 0 !important;
  font-family: var(--font-secondary) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.9;
  color: #80695b;
}

.footer-photo-frame {
  width: min(72vw, 300px) !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  margin-top: 20px;
  overflow: hidden;
  border: 4px solid #8f4029;
  border-radius: 24px;
  background: #e8dfd2;
  box-shadow: 0 8px 25px rgba(59,41,34,.12);
}

.footer-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   NAMA PENGANTIN
========================================================= */

.footer-greeting {
  margin: 0 auto !important;
  margin-top: 20px !important;
  font-family: var(--font-secondary);
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-couple-name {
  margin: 0;
  margin-top: 20px;
  color: #a85d3a;
  font-family: var(--greeting-font-primary);
  font-size: clamp(38px, 7vw, 58px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

/* =========================================================
   BRAND PHILIA DESIGN
========================================================= */

.footer-brand {
  position: relative;
  z-index: 2;
  margin-top: 32px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(75,48,37,.18);
}

.footer-logo {
  display: block;
  width: 115px;
  height: auto;
  margin: 0 auto 9px;
}

.footer-copyright {
  margin: 0;
  color: #806f64;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* =========================================================
  TABLET
========================================================= */

@media (max-width: 767px) {
  .footer-section {
    padding: 82px 30px 30px;
  }

  .footer-divider-top {
    height: 40px;
    background-size: auto 40px;
  }

  .footer-title {
    font-size: 30px !important;
  }

  .footer-photo-frame {
    width: 350px;
  }

  .footer-message {
    font-size: 15px;
  }

  .footer-brand {
    margin-top: 60px;
  }
}

/* =========================================================
   HP
========================================================= */

@media (max-width: 480px) {
  .footer-section {
    padding: 62px 17px 22px;
  }

  .footer-divider-top {
    height: 25px;
    background-size: auto 25px;
  }

  .footer-content {
    width: 90%;
  }

  .footer-eyebrow {
    margin-bottom: 14px;
    font-size: 12px !important;
  }

  .footer-title {
    font-size: 40px !important;
  }

  .footer-divider {
    gap: 18px;
    margin: 22px auto;
  }

  .footer-message {
    margin-bottom: 27px;
    font-size: 11px !important;
    line-height: 1.7;
  }

  .footer-photo-frame {
    width: 60% !important;
    margin-bottom: 30px;
    border-width: 3px;
    border-radius: 20px;
  }

  .footer-couple-name {
    font-size: 40px;
  }

  .footer-brand {
    margin-top: 43px;
    padding-top: 18px;
  }

  .footer-logo {
    width: 100px !important;
  }

  .footer-copyright {
    font-size: 10px;
  }
}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {
  .footer-section {
    padding: 56px 14px 20px;
  }

  .footer-divider-top {
    height: 22px;
    background-size: auto 22px;
  }

  .footer-content {
    width: 91%;
  }

  .footer-title {
    font-size: 29px;
  }

  .footer-message {
    font-size: 11px;
  }

  .footer-photo-frame {
    width: 78vw;
    border-radius: 17px;
  }

  .footer-couple-name {
    font-size: 36px;
  }

  .footer-brand {
    margin-top: 40px;
  }

  .footer-logo {
    width: 90px;
  }

  .footer-copyright {
    font-size: 8px;
  }
}

/* =========================================================
   SCROLL REVEAL - FOOTER
   ========================================================= */

.footer-divider-top,
.footer-eyebrow,
.footer-title,
.footer-message,
.footer-photo-frame,
.footer-greeting,
.footer-couple-name,
.footer-brand {
  opacity: 0;
  translate: 0 45px;
  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-divider-top.is-visible,
.footer-eyebrow.is-visible,
.footer-title.is-visible,
.footer-message.is-visible,
.footer-photo-frame.is-visible,
.footer-greeting.is-visible,
.footer-couple-name.is-visible,
.footer-brand.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Divider */
.footer-divider-top.is-visible {
  transition-delay: 0s;
}

/* Isi utama */
.footer-eyebrow.is-visible {
  transition-delay: 0.1s;
}

.footer-title.is-visible {
  transition-delay: 0.2s;
}

.footer-message.is-visible {
  transition-delay: 0.3s;
}

.footer-photo-frame.is-visible {
  transition-delay: 0.4s;
}

.footer-greeting.is-visible {
  transition-delay: 0.2s;
}

.footer-couple-name.is-visible {
  transition-delay: 0.35s;
}

/* Brand */
.footer-brand.is-visible {
  transition-delay: 0.2s;
}