@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@400;700&display=swap"); */

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /*
        Purple: hsl(250, 66%, 75%)
        Blue: hsl(207, 90%, 72%)
        Pink: hsl(356, 66%, 75%)
        Teal: hsl(174, 63%, 62%)
  */
  --first-hue: 43;
  --sat: 25%;
  --lig: 54%;
  --second-hue: 219;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 71%);
  /* -4% */
  --title-color: hsl(var(--second-hue), 15%, 95%);
  --text-color: hsl(var(--second-hue), 8%, 75%);
  --text-color-light: hsl(var(--second-hue), 4%, 55%);
  --body-color: hsl(var(--second-hue), 48%, 8%);
  --container-color: hsl(var(--second-hue), 32%, 12%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  /* --font-family: "Lobster", cursive; */
  --biggest-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: 0.4s;
  /* for light mode animation */
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semibold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== FLOATING MUSIC PLAYER ===============*/
.music-btn {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 9999;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: none;
  /* hidden until cover dismissed */
}

body:not(.cover-active) .music-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-btn__disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: hsl(var(--second-hue), 32%, 12%);
  border: 2px solid var(--first-color-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s, opacity 0.3s;
  animation: discSpin 4s linear infinite;
  animation-play-state: paused;
}

.music-btn.playing .music-btn__disc {
  animation-play-state: running;
  border-color: var(--first-color);
}

.music-btn.playing .music-btn__ring {
  animation-play-state: running;
}

.music-btn__disc i {
  font-size: 1.3rem;
  color: var(--first-color);
  transition: color 0.3s;
}

.music-btn:not(.playing) .music-btn__disc {
  opacity: 0.65;
}

/* Pulse ring */
.music-btn__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--first-color);
  opacity: 0;
  animation: ringPulse 2s ease-out infinite;
  animation-play-state: paused;
}

@keyframes discSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

/*=============== COVER PAGE ===============*/
body.cover-active {
  overflow: hidden;
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: hsl(var(--second-hue), 35%, 18%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  min-height: 100dvh;
  /* use dvh to account for mobile browser chrome */
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.cover.cover--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Floral decorations */
.cover__flower--top {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 90vw);
  pointer-events: none;
  z-index: 1;
}

.cover__flower--bottom {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  width: min(380px, 90vw);
  pointer-events: none;
  z-index: 1;
}

/* Content wrapper — stretches to fill, scrollable if needed */
.cover__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(0.5rem, 3vw, 1.5rem) clamp(1rem, 5vw, 2rem);
  max-width: 420px;
  width: 100%;
  /* push content away from flowers */
  margin-top: clamp(70px, 18vw, 130px);
  margin-bottom: clamp(70px, 18vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover__label {
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--first-color-alt);
  margin-bottom: 0.5rem;
  font-weight: 500;
  opacity: 0;
  animation: coverFadeUp 0.8s ease 0.3s forwards;
}

.cover__names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 9vw, 4rem);
  color: var(--first-color);
  line-height: 1.15;
  margin-bottom: 0.4rem;
  opacity: 0;
  animation: coverFadeUp 0.8s ease 0.5s forwards;
}

.cover__date {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  color: var(--text-color);
  margin-bottom: clamp(1rem, 4vw, 1.75rem);
  letter-spacing: 1px;
  opacity: 0;
  animation: coverFadeUp 0.8s ease 0.7s forwards;
}

/* Guest card */
.cover__guest-card {
  border: 1px dashed var(--first-color-alt);
  border-radius: 4px;
  padding: clamp(0.75rem, 3vw, 1.25rem) clamp(1rem, 4vw, 1.5rem);
  margin-bottom: clamp(1.25rem, 5vw, 2.25rem);
  width: 100%;
  opacity: 0;
  animation: coverFadeUp 0.8s ease 0.9s forwards;
}

.cover__guest-label {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  color: var(--text-color-light);
  margin-bottom: 0.3rem;
}

.cover__guest-name {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 0.15rem;
  word-break: break-word;
}

.cover__guest-address {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  color: var(--text-color-light);
  margin-bottom: 0.4rem;
}

.cover__guest-note {
  font-size: clamp(0.55rem, 1.8vw, 0.625rem);
  color: var(--text-color-light);
  font-style: italic;
}

/* Scroll indicator / Buka button */
.cover__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  opacity: 0;
  animation: coverFadeUp 0.8s ease 1.2s forwards;
  transition: transform 0.3s ease;
}

.cover__scroll:hover {
  transform: translateY(-3px);
}

.cover__scroll-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--first-color-alt);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.cover__scroll-icon::before {
  content: '';
  width: 3px;
  height: 7px;
  background: var(--first-color);
  border-radius: 2px;
  margin-top: 5px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.cover__scroll-text {
  font-size: clamp(0.6rem, 2vw, 0.688rem);
  color: var(--text-color-light);
  letter-spacing: 1px;
}

/* Cover animations */
@keyframes coverFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Very short screens (iPhone SE, landscape, etc.) ── */
@media (max-height: 660px) {

  .cover__flower--top,
  .cover__flower--bottom {
    width: min(260px, 80vw);
  }

  .cover__content {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .cover__names {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .cover__date {
    margin-bottom: 0.6rem;
  }

  .cover__guest-card {
    margin-bottom: 0.8rem;
    padding: 0.6rem 1rem;
  }
}


/*=============== THEME ===============*/
.change-theme {
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.3s;
}

.change-theme:hover {
  color: var(--first-color);
}

/*========== Variables Light theme ==========*/
body.light-theme {
  --title-color: hsl(var(--second-hue), 15%, 15%);
  --text-color: hsl(var(--second-hue), 8%, 35%);
  --body-color: hsl(var(--second-hue), 100%, 99%);
  --container-color: #fff;
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.light-theme .scroll-header {
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, 0.1);
}

.light-theme .nav__menu {
  background-color: hsla(var(--second-hue), 32%, 90%, 0.8);
}

.light-theme .section__subtitle {
  color: var(--text-color);
}

.light-theme .home__social-link {
  box-shadow: 0 2px 8px hsla(var(--second-hue), 48%, 8%, 0.1);
}

.light-theme .home__social::after,
.light-theme .footer__social-link {
  background-color: var(--title-color);
}

.light-theme .home__social-link,
.light-theme .home__scroll,
.light-theme .button,
.light-theme .button:hover,
.light-theme .active-work,
.light-theme .footer__title,
.light-theme .footer__link,
.light-theme .footer__copy {
  color: var(--title-color);
}

.light-theme .about__box {
  box-shadow: 0 2px 8px hsla(var(--second-hue), 48%, 9%, 0.1);
}

.light-theme .skills__content,
.light-theme .services__card,
.light-theme .work__card,
.light-theme .testimonial__card,
.light-theme .contact__card {
  box-shadow: 0 2px 16px hsla(var(--second-hue), 48%, 9%, 0.1);
}

.light-theme::-webkit-scrollbar {
  background-color: hsl(var(--second-hue), 8%, 66%);
}

.light-theme::-webkit-scrollbar-thumb {
  background-color: hsl(var(--second-hue), 8%, 54%);
}

.light-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--second-hue), 8%, 44%);
}

/* CSS Galery */
.memory-section {
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.12),
      rgba(255, 255, 255, 0.04));
  z-index: 1;
  pointer-events: none;
}

.main-photo {
  width: 100%;
  max-width: 320px;
  display: block;
  border-radius: 24px;
  transform: scale(1);
  animation: floatImage 4s ease-in-out infinite;
}

.quote_momen {
  margin: 28px auto 10px;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.9;
  color: #5b4b43;
  padding: 0 10px;
}

.quote_momen b {
  color: #2f241f;
  font-weight: 700;
}

.gallery-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(30px);
}

.gallery-item img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
}

.gallery-item:nth-child(1) img {
  height: 250px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(5) img {
  height: 180px;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
    transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.35s;
}

.delay-3 {
  transition-delay: 0.5s;
}

.delay-4 {
  transition-delay: 0.65s;
}

.delay-5 {
  transition-delay: 0.8s;
}

@keyframes floatImage {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.01);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

@media screen and (min-width: 768px) {
  .memory-section {
    padding: 60px 40px;
  }

  .main-photo {
    max-width: 400px;
  }

  .quote_momen {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item:nth-child(1) img {
    height: 100%;
    min-height: 380px;
  }

  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img,
  .gallery-item:nth-child(4) img,
  .gallery-item:nth-child(5) img {
    height: 180px;
  }
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.main {
  overflow: hidden;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section__front {
  padding: 4.5rem 0;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 2rem;
}

.section__subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== HEADER & NAV===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: 0.4s;
  /* for light mode animation */
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--first-color);
  font-weight: var(--first-color);
  transition: 0.4s;
}

.nav__logo:hover {
  color: var(--first-color-alt);
}

.nav__menu {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: hsl(var(--second-hue), 32%, 16%, 0.8);
  width: 90%;
  max-width: 400px;
  border-radius: 4rem;
  padding: 1rem 2.25rem;
  backdrop-filter: blur(10px);
  transition: 0.4s;
  /* for light mode animation */
  z-index: var(--z-fixed);
}

.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__link {
  color: var(--text-color);
  font-size: 1.25rem;
  padding: 0.4rem;
  display: flex;
  border-radius: 5rem;
}

/* Active link */
.active-link {
  background: linear-gradient(180deg,
      hsla(var(--first-hue), var(--sat), var(--lig), 1),
      hsla(var(--first-hue), var(--sat), var(--lig), 0.2));
  box-shadow: 0 0 16px hsla(var(--first-hue), var(--sat), var(--lig), 0.4);
  color: var(--title-color);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 4px 4px hsla(0, 0%, 4%, 0.3);
}

/*=============== HOME ===============*/
.home__container {
  position: relative;
  row-gap: 1.5rem;
  padding-top: 1rem;
}

.home__data {
  text-align: center;
}

.img__first {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 70vh;
  opacity: 0;
  transform: scale(1.15);
  animation: heroImageReveal 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-play-state: paused;
}

/* Play animation only after cover is dismissed */
body:not(.cover-active) .img__first {
  animation-play-state: running;
}

@keyframes heroImageReveal {
  0% {
    opacity: 0;
    transform: scale(1.15);
  }

  40% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bottom__greeting {
  transform: rotate(180deg);
}

.receive__name {
  text-align: center;
}

.home__greeting {
  font-size: x-large;
  display: block;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.home__education {
  color: var(--text-color);
  margin-bottom: 2.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.quote_momen {
  color: var(--text-color);
  margin-bottom: 2.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  padding: 0 1rem;
}

.home__name {
  font-size: 2.4rem;
  font-weight: 400;
  font-family: var(--body-font);
}

.home__img {
  width: 160px;
}

.front__greeting {
  align-content: center;
}

.up__img {
  position: initial;
  height: fit-content;
  padding-bottom: 1.5rem;
}

.wrapper {
  height: auto;
}

.home__handle {
  justify-self: center;
  width: 190px;
  height: 293px;
  background: linear-gradient(180deg,
      hsla(var(--first-hue), var(--sat), var(--lig), 1),
      hsla(var(--first-hue), var(--sat), var(--lig), 0.2));
  border-radius: 10rem 10rem 1rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.home__social,
.home__scroll {
  position: absolute;
}

.home__social {
  bottom: 5rem;
  left: 0;
  display: grid;
  row-gap: 0.5rem;
}

.home__social-link {
  width: max-content;
  background-color: var(--container-color);
  color: var(--first-color);
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  font-size: 1rem;
  transition: 0.4s;
}

.home__social-link:hover {
  background-color: var(--first-color);
  color: #fff;
}

.home__social::after {
  content: "";
  width: 32px;
  height: 2px;
  background-color: var(--first-color);
  transform: rotate(90deg) translate(16px, 3px);
}

.home__scroll {
  color: var(--first-color);
  right: -1.5rem;
  bottom: 4rem;
  display: grid;
  row-gap: 2.25rem;
  justify-items: center;
}

.home__scroll-icon {
  font-size: 1.25rem;
}

.home__scroll-name {
  font-size: var(--smaller-font-size);
  transform: rotate(-90deg);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.4s;
}

.button-lokasi {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-weight: var(--tiny-font-size);
  transition: 0.4s;
  margin-top: 0.5rem;
}

.button:hover {
  background-color: var(--first-color-alt);
  color: var(--body-color);
}

.button--ghost {
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.button--guest {
  display: inline-block;
  background-color: transparent;
  border: 0.1px solid var(--first-color-alt);
  color: var(--first-color-alt);
  padding: 0.75rem 6rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.4s;
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 2.5rem;
  justify-items: center;
}

.about__img {
  width: 220px;
  border-radius: 1.5rem;
  justify-self: center;
  display: block;
  margin: 0 auto;
}

.center {
  align-items: center;
}

.about__data {
  text-align: center;
}

.about__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.about__box {
  background-color: var(--container-color);
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem;
}

.about__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

.about__title {
  font-size: var(--small-font-size);
}

.about__subtitle {
  font-size: var(--tiny-font-size);
}

.about__description {
  margin-bottom: 2rem;
}

.nama__mempelai {
  color: var(--first-color);
}

/*=============== SKILLS ===============*/
.skills__container {
  row-gap: 2rem;
  padding-top: 2rem;
}

.skills__content {
  background-color: var(--container-color);
  border-radius: 1.25rem;
}

.skills__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
}

.skills__box {
  display: flex;
  justify-content: center;
  column-gap: 2.5rem;
}

.skills__group {
  display: grid;
  align-content: flex-start;
  row-gap: 1rem;
}

.skills__data {
  display: flex;
  column-gap: 0.5rem;
  padding: 0 2rem;
}

.skills .bx-map,
.skills .bx-time {
  font-size: 1rem;
  color: var(--first-color);
}

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  line-height: 18px;
}

.skills__level {
  font-size: var(--font-medium);
}

/*=============== SERVICES ===============*/
.services {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
}

.services__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 0.2rem;
}

.services__card {
  padding: 1.2rem 0.5rem 0.5rem;
  border-radius: 0.5rem;
}

.padding-up {
  padding: 3rem 0 0;
}

.button__kalender {
  text-align: center;
}

.services__card_day {
  padding: 1.5rem 0.5rem 0;
  border-radius: 0.5rem;
  margin: 2rem auto 0;
  max-width: 200px;
}

.services__title {
  font-size: var(--h1-font-size);
  text-align: center;
  color: var(--first-color);
}

.keterangan {
  font-size: var(--h3-font-size);
  text-align: center;
  color: var(--first-color);
  margin-bottom: 1.5rem;
}

.services__button {
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
}

.services__button:hover .services__icon {
  transform: translate(0.25rem);
}

.services__icon {
  font-size: 1rem;
  transition: 0.4s;
}

/* Services modal */
.services__modal {
  position: fixed;
  inset: 0;
  background-color: hsl(var(--second-hue), 28%, 16%, 0.7);
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  z-index: var(--z-modal);
}

.services__modal-content {
  position: relative;
  background-color: var(--body-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
}

.services__modal-title,
.services__modal-description {
  text-align: center;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.services__modal-description {
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.services__modal-list {
  display: grid;
  row-gap: 0.75rem;
}

.services__modal-item {
  display: flex;
  align-items: flex-start;
  column-gap: 0.5rem;
}

.services__modal-icon {
  font-size: 1.5rem;
  color: var(--first-color);
}

.services__modal-info {
  font-size: var(--small-font-size);
}

.services__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

/*Active modal*/
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*=============== WORK ===============*/
.work__container {
  padding-top: 1rem;
}

.work__filters {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: 2rem;
}

.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.25rem 0.75rem;
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
}

.work__card {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 1rem;
}

.work__img {
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}

.work__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.work__button {
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.work__button:hover .work__icon {
  transform: translateX(0.25rem);
}

.work__icon {
  font-size: 1rem;
  transition: 0.4s;
}

/* Active item work*/
.active-work {
  background-color: var(--first-color);
  color: var(--body-color);
}

/*=============== TESTIMONIAL ===============*/
.testimonial__card {
  background-color: var(--container-color);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial__img {
  width: 60px;
  border-radius: 3rem;
  margin-bottom: 1rem;
}

.testimonial__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.testimonial__description {
  font-size: var(--small-font-size);
}

/* Swiper class */
.swiper-pagination-bullet {
  background-color: var(--text-color-light);
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

/*=============== KIRIM UCAPAN ===============*/
.ucapan__container {
  max-width: 600px;
  margin: 0 auto;
}

.ucapan__header {
  text-align: center;
  margin-bottom: 2rem;
}

.ucapan__decor {
  width: 80px;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.ucapan__main-title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

.ucapan__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.ucapan__form-wrapper {
  background-color: var(--container-color);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
  box-shadow: 0 8px 32px hsla(var(--second-hue), 48%, 8%, 0.3);
}

.ucapan__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ucapan__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ucapan__label {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ucapan__label i {
  font-size: 1rem;
}

.ucapan__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid hsla(var(--second-hue), 8%, 40%, 0.4);
  border-radius: 0.75rem;
  background-color: hsla(var(--second-hue), 32%, 12%, 0.5);
  color: var(--title-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ucapan__input::placeholder {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.ucapan__input:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
  background-color: hsla(var(--second-hue), 32%, 14%, 0.7);
}

.ucapan__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b8a88a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.ucapan__select option {
  background-color: var(--container-color);
  color: var(--title-color);
}

.ucapan__textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.6;
}

.ucapan__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg,
      hsl(var(--first-hue), var(--sat), var(--lig)),
      hsl(var(--first-hue), var(--sat), 45%));
  color: var(--body-color);
  border: none;
  border-radius: 0.75rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  margin-top: 0.5rem;
}

.ucapan__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--first-hue), var(--sat), var(--lig), 0.4);
}

.ucapan__btn:active {
  transform: translateY(0);
}

.ucapan__btn i {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.ucapan__btn:hover i {
  transform: translateX(3px);
}

/* Toast notification */
.ucapan__toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg,
      hsl(145, 60%, 40%),
      hsl(145, 50%, 30%));
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: var(--z-modal);
}

.ucapan__toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ucapan__toast i {
  font-size: 1.25rem;
}

/*=============== HASIL UCAPAN / WISHES ===============*/
.wishes__container {
  max-width: 600px;
  margin: 0 auto;
}

.wishes__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 0.25rem;
}

.wishes__title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wishes__title i {
  font-size: 1.35rem;
}

.wishes__count {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  background-color: var(--container-color);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.wishes__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 450px;
  overflow-y: auto;
  padding-right: 0.25rem;
  scroll-behavior: smooth;
}

/* Custom scrollbar for wishes list */
.wishes__list::-webkit-scrollbar {
  width: 4px;
}

.wishes__list::-webkit-scrollbar-track {
  background: transparent;
}

.wishes__list::-webkit-scrollbar-thumb {
  background-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
  border-radius: 2rem;
}

/* Empty state */
.wishes__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-color-light);
}

.wishes__empty i {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
  display: block;
}

.wishes__empty p {
  font-size: var(--small-font-size);
}

/* Individual wish card */
.wish__card {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.08);
  animation: wishSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: border-color 0.3s ease;
}

.wish__card:hover {
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.25);
}

@keyframes wishSlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wish__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.wish__card-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wish__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      hsla(var(--first-hue), var(--sat), var(--lig), 0.8),
      hsla(var(--first-hue), var(--sat), 40%, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body-color);
  font-weight: var(--font-semibold);
  font-size: var(--small-font-size);
  flex-shrink: 0;
  text-transform: uppercase;
}

.wish__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  color: var(--title-color);
  line-height: 1.2;
}

.wish__time {
  font-size: var(--tiny-font-size);
  color: var(--text-color-light);
  display: block;
  margin-top: 2px;
}

.wish__badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  font-weight: var(--font-medium);
  white-space: nowrap;
  flex-shrink: 0;
}

.wish__badge--hadir {
  background-color: hsla(145, 50%, 40%, 0.2);
  color: hsl(145, 60%, 55%);
  border: 1px solid hsla(145, 50%, 40%, 0.3);
}

.wish__badge--tidak {
  background-color: hsla(0, 50%, 45%, 0.15);
  color: hsl(0, 60%, 65%);
  border: 1px solid hsla(0, 50%, 45%, 0.25);
}

.wish__badge--ragu {
  background-color: hsla(43, 50%, 50%, 0.15);
  color: hsl(43, 70%, 60%);
  border: 1px solid hsla(43, 50%, 50%, 0.25);
}

.wish__message {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.7;
  padding-left: calc(36px + 0.65rem);
}

/* Light theme overrides */
.light-theme .ucapan__form-wrapper {
  box-shadow: 0 8px 32px hsla(var(--second-hue), 48%, 8%, 0.08);
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.light-theme .ucapan__input {
  background-color: hsla(var(--second-hue), 20%, 96%, 0.8);
  border-color: hsla(var(--second-hue), 8%, 80%, 0.6);
}

.light-theme .wish__card {
  box-shadow: 0 2px 12px hsla(var(--second-hue), 48%, 9%, 0.06);
}

.wish__jumlah {
  font-size: var(--tiny-font-size);
  color: var(--text-color-light);
  font-weight: 400;
}


/*=============== FOOTER ===============*/
.footer {
  background-color: var(--first-color);
}

.footer__container {
  padding: 2rem 0 6rem;
}

.footer__title,
.footer__link {
  color: var(--body-color);
}

.footer__title {
  text-align: center;
  margin-bottom: 2rem;
}

.footer__list {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.footer__social-link {
  background-color: var(--body-color);
  color: var(--first-color);
  padding: 0.25rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  display: inline-flex;
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  color: var(--container-color);
  text-align: center;
  font-size: var(--smaller-font-size);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--second-hue), 8%, 38%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(var(--second-hue), 8%, 26%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--second-hue), 8%, 20%);
}

/*=============== MAP CONTAINER ===============*/
.map__container {
  padding: 1rem;
}

.map__container iframe {
  width: 100%;
  border-radius: 1rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .nav__menu {
    padding: 1rem 1.5rem;
  }

  .home__buttons {
    flex-direction: column;
  }

  .home__handle {
    width: 150px;
    height: 253px;
  }

  .home__img {
    width: 130px;
  }

  .about__info {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills__box {
    column-gap: 1rem;
  }

  .skills__name {
    font-size: var(--small-font-size);
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  .work__item {
    font-size: var(--small-font-size);
  }

  .work__filters {
    column-gap: 0.25rem;
  }

  .wrapper {
    position: absolute;
    bottom: 0px;
  }
}

@media screen and (max-width: 430px) {
  .wrapper {
    height: auto;
    position: absolute;
    bottom: 0px;
  }
}

@media screen and (min-width: 321px) {
  .wrapper {
    height: auto;
    bottom: 0px;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__info {
    grid-template-columns: repeat(3, 140px);
    justify-content: center;
  }

  .about__description {
    padding: 0 5rem;
  }

  .skills__container {
    justify-content: center;
  }

  .skills__content {
    padding: 2rem 4rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  .services__modal-content {
    width: 500px;
    padding: 4.5rem 2.5rem 2.5rem;
  }

  .services__modal-description {
    padding: 0 3.5rem;
  }

  .work__container {
    justify-content: center;
  }

  .work__img {
    width: 295px;
  }

  .ucapan__form-wrapper {
    padding: 2.5rem 2rem;
  }

  .wishes__list {
    max-height: 500px;
  }
}

@media screen and (min-width: 767px) {
  .work__container {
    grid-template-columns: repeat(2, max-content);
  }

  .ucapan__container,
  .wishes__container {
    max-width: 550px;
  }

  .map__container iframe {
    height: 350px;
  }
}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    max-width: 700px;
  }

  .section {
    padding: 5rem 0 1rem;
  }

  .section__title {
    margin-bottom: 3.5rem;
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
    max-width: 700px;
  }

  .img__first {
    max-height: 60vh;
    object-position: center;
  }

  .home__handle {
    width: 290px;
    height: 400px;
  }

  .home__img {
    width: 220px;
  }

  .home__social-link {
    padding: 0.4em;
    font-size: 1.25rem;
  }

  .home__social::after {
    transform: rotate(90deg) translate(16px, 0);
  }

  .home__scroll-icon {
    font-size: 2rem;
  }

  /* Keep about section centered, vertical on desktop */
  .about__container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about__img {
    width: 300px;
  }

  .about__data {
    text-align: center;
  }

  .about__info {
    justify-content: center;
  }

  .about__box {
    text-align: center;
    padding: 1rem 1.25rem;
  }

  .about__description {
    padding: 0 2rem;
    margin-bottom: 2.5rem;
  }

  .skills__container {
    justify-content: center;
  }

  .skills__content {
    padding: 2rem 4rem;
    max-width: 600px;
    margin: 0 auto;
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;
    margin: 0 auto;
  }

  .work__container {
    gap: 3rem;
  }

  .work__card {
    padding: 1.25rem;
  }

  .work__img {
    margin-bottom: 1rem;
  }

  .work__title {
    margin-bottom: 0.5rem;
  }

  .testimonial__container {
    width: 750px;
  }

  .testimonial__card {
    padding: 1.5rem 2rem;
  }

  .ucapan__container,
  .wishes__container {
    max-width: 600px;
  }

  .ucapan__form-wrapper {
    padding: 2.5rem;
  }

  .wishes__list {
    max-height: 550px;
  }

  .map__container {
    max-width: 700px;
    margin: 0 auto;
  }

  .map__container iframe {
    height: 400px;
  }

  .gallery-grid {
    max-width: 700px;
    margin: 30px auto 0;
  }

  .footer__social-link {
    font-size: 1.25rem;
    padding: 0.4rem;
    border-radius: 0.5rem;
  }

  .home__greeting {
    font-size: 1.8rem;
  }

  .home__education {
    font-size: var(--normal-font-size);
    max-width: 600px;
    margin: 0 auto 2.5rem;
  }

  .nama__mempelai {
    font-size: var(--h1-font-size);
  }

  .quote_momen {
    font-size: var(--normal-font-size);
    max-width: 550px;
  }

  .services {
    max-width: 700px;
    margin: 0 auto;
  }
}

/*=============== GIFT / KADO ===============*/
.gift__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gift__title {
  font-family: 'Great Vibes', cursive;
  font-size: var(--biggest-font-size);
  color: var(--first-color);
  margin-bottom: 0.75rem;
}

.gift__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  max-width: 320px;
  margin: 0 auto;
}

.gift__cards {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
}

.gift__card {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.gift__card:hover {
  transform: translateY(-10px);
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gift__bank-name {
  font-weight: var(--font-semibold);
  color: var(--first-color);
  margin-bottom: 1.25rem;
  font-size: var(--small-font-size);
  letter-spacing: 2px;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  align-self: center;
}

.gift__account-number {
  font-size: 1.2rem;
  font-weight: var(--font-semibold);
  color: var(--title-color);
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.gift__account-holder,
.gift__address-holder {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.gift__account-holder {
  margin-bottom: 1.5rem;
}

.gift__address-text {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  min-height: 3.2em;
  /* Ensure some height for address text */
}

.gift__button {
  padding: 0.8rem 1.5rem;
  font-size: var(--smaller-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  border-radius: 0.75rem;
  color: var(--title-color);
  background: var(--container-color);
  border: 1px solid var(--first-color);
  transition: 0.3s;
  width: fit-content;
  margin: 0 auto;
}

.gift__button:hover {
  background: var(--first-color);
  color: var(--body-color);
}

@media screen and (min-width: 992px) {
  .gift__cards {
    grid-template-columns: repeat(3, 320px);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .gift__cards {
    grid-template-columns: repeat(2, 320px);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .gift__cards {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}