/* =========================
   VARIABLE
========================= */

:root {
  --pink: #f14e95;
  --bg: #0a0a0a;
  --shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

/* =========================
   BODY
========================= */

body {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Work Sans", sans-serif;
  min-height: 4000px;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg);

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/1000444977.jpg.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mynavbar {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(4px);
}

.mynavbar .offcanvas {
  height: 100vh;
}

.info h2 {
  color: var(--bg);
  font-family: "Sacramento";
  font-size: 5rem;
  font-weight: bold;
}

.home h2,
.story h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  color: var(--pink);
  font-family: "Sacramento";
  font-size: 5rem;
  font-weight: bold;
}

.home h3 {
  color: #444444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home p {
  font-size: 1.1rem;
  color: #666666;
}

.home .couple {
  margin-top: 40px;
}

.home .couple h3 {
  font-family: "sacramento";
  font-size: 2.4rem;
  color: var(--pink);
}

.home .couple img {
  width: 100%;
}

.info {
  background-image: url("img/Bg\ 2.jpg");
  color: black;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.info alamat {
  font-size: 1.1rem;
}

.info .description {
  font-size: 1rem;
  font-weight: 300;
}

.info .card {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: black !important;
  border: 1px solid #999;
}

.info .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.info .card-body {
  font-size: 1rem;
}

.info .card-footer {
  border-top: 1px solid #999;
  font-size: 0.9rem;
  font-weight: 300;
}

.story {
  background-image: url("img/Bg\ 3.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.gifts {
  background-image: url("img/Bg\ 4.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.story,
.gallery,
.rsvp,
.gifts {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.story span,
.gallery span,
.gifts span {
  text-transform: uppercase;
  color: #666666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.gallery p {
  color: #666666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.story p,
.rsvp p,
.gifts p {
  font-size: 1rem;
  font-weight: 300;
}

.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  top: 0;
  bottom: 0;
  position: absolute;
  width: 1px;
  background-color: #ccc;
  left: 50%;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before,
.timeline li::after {
  content: "";
  display: table;
}

.timeline li::after {
  clear: both;
}

.timeline li .timeline-image {
  width: 160px;
  height: 160px;
  background-color: #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline li .timeline-panel {
  width: 40%;
  float: left;
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
  background-color: #fff;
}

.timeline li .timeline-panel::before {
  content: "";
  display: inline-block;
  position: absolute;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  top: 80px;
  right: -15px;
}

.timeline li .timeline-panel::after {
  content: "";
  position: absolute;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  top: 81px;
  right: -13px;
}

.timeline li.timeline-inverted .timeline-panel {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

.gallery {
  /* background-color: #f5f5f5; */
  background-image: url("img/edit1\ \(1\).JPG.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.rsvp {
  background-color: var(--bg);
}

.rsvp h2 {
  font-size: 4.5rem;
}

.rsvp p {
  color: white;
}

.rsvp form label {
  color: white;
}

.rsvp button {
  background-color: var(--pink);
  color: white;
  border: 1px solid var(--pink);
}

.rsvp button:hover {
  background-color: white;
  color: var(--pink);
  border: 1px solid white;
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: "Sacramento", cursive;
  font-size: 3.2rem;
}

.mynavbar .nav-link {
  text-transform: uppercase;
}

.home {
  background-image: url("img/Bg\ 1.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

/* =========================================
   ATM CARD - GOLD STYLE
   ========================================= */

.atm-card {
  position: relative;
  min-height: 260px;
  border: none;
  border-radius: 20px;
  overflow: hidden;

  /* Gold gradient */
  background: linear-gradient(
    135deg,
    #7a5a00 0%,
    #b8860b 20%,
    #d4af37 40%,
    #f6e27a 55%,
    #d4af37 70%,
    #b8860b 85%,
    #7a5a00 100%
  );

  color: #ffffff;

  /* Shadow */
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effect */
.atm-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.15);
}

/* =========================================
   CARD BODY
   ========================================= */

.atm-card .card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

/* =========================================
   BANK NAME
   ========================================= */

.atm-card h5 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* TABUNGAN */
.atm-card .small {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

/* =========================================
   CHIP ATM
   ========================================= */

.chip {
  position: relative;

  width: 52px;
  height: 40px;

  margin-bottom: 1.5rem;

  background: linear-gradient(135deg, #c99720, #f5d76e, #b8860b);

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;

  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Garis chip */
.chip::before {
  content: "";

  position: absolute;

  width: 100%;
  height: 2px;

  top: 50%;
  left: 0;

  background: rgba(100, 70, 0, 0.35);
}

/* Garis chip vertikal */
.chip::after {
  content: "";

  position: absolute;

  width: 2px;
  height: 100%;

  top: 0;
  left: 50%;

  background: rgba(100, 70, 0, 0.35);
}

/* =========================================
   LABEL
   ========================================= */

.atm-card small {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* =========================================
   NOMOR REKENING
   ========================================= */

.atm-card h4 {
  margin: 0;

  color: #ffffff;

  font-size: 1.5rem;
  font-weight: 700;

  letter-spacing: 2px;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* =========================================
   NAMA PEMILIK
   ========================================= */

.atm-card .fw-semibold {
  color: #ffffff;

  font-size: 0.95rem;

  letter-spacing: 1px;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* =========================================
   BUTTON SALIN
   ========================================= */

.atm-card .btn-light {
  color: #7a5a00;

  background-color: rgba(255, 255, 255, 0.95);

  border: none;

  font-size: 0.8rem;
  font-weight: 600;

  border-radius: 8px;

  padding: 0.35rem 0.7rem;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover tombol */
.atm-card .btn-light:hover {
  color: #5f4500;

  background-color: #ffffff;

  transform: scale(1.05);

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Saat tombol ditekan */
.atm-card .btn-light:active {
  transform: scale(0.95);
}

/* =========================================
   DEKORASI BULAT
   ========================================= */

.atm-card::before {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  top: -100px;
  right: -70px;

  background: rgba(255, 255, 255, 0.12);

  border-radius: 50%;
}

.atm-card::after {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  bottom: -80px;
  left: -50px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}

/* =========================================
   RESPONSIVE - TABLET
   ========================================= */

@media (max-width: 768px) {
  .atm-card {
    min-height: 250px;
    border-radius: 18px;
  }

  .atm-card .card-body {
    padding: 1.3rem;
  }

  .atm-card h4 {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
  }
}

/* =========================================
   RESPONSIVE - HP
   ========================================= */

@media (max-width: 576px) {
  .atm-card {
    min-height: 230px;
    border-radius: 16px;
  }

  .atm-card .card-body {
    padding: 1.2rem;
  }

  .atm-card h5 {
    font-size: 1rem;
  }

  .atm-card h4 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .atm-card .fw-semibold {
    font-size: 0.85rem;
  }

  .chip {
    width: 46px;
    height: 35px;
    margin-bottom: 1.2rem;
  }

  .atm-card .btn-light {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

/* =========================================
   EXTRA SMALL PHONE
   ========================================= */

@media (max-width: 380px) {
  .atm-card {
    min-height: 220px;
  }

  .atm-card .card-body {
    padding: 1rem;
  }

  .atm-card h4 {
    font-size: 1rem;
  }

  .atm-card .d-flex {
    gap: 0.4rem !important;
  }
}

footer {
  padding: 3rem;
  background-color: var(--bg);
  color: white;
}

footer a:hover {
  color: white;
}

footer li {
  list-style: none;
  display: inline;
}

.social-icon {
  color: var(--pink);
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   MAIN
========================= */

.hero main {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* =========================
   HAPPY WEDDING
========================= */

.wedding-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: var(--shadow);
  margin: 0;
  margin-bottom: 10px;
}

/* =========================
   NAMA MEMPELAI
========================= */

.couple-name {
  font-family: "Sacramento", cursive;
  font-size: 5rem;
  line-height: 1;
  text-shadow: var(--shadow);
  margin: 0;
}

/* =========================
   BAGIAN COUNTDOWN
========================= */

.hero-content {
  /*
    Bagian ini yang membuat
    countdown turun ke bawah.
  */

  margin-top: 0;

  transform: translateY(140px);
}

/* =========================
   TEXT RESEPSI
========================= */

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: var(--shadow);
  margin: 0;
  margin-bottom: 20px;
}

/* =========================
   COUNTDOWN
========================= */

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 15px;
}

/* =========================
   BUTTON
========================= */

.hero-content a {
  display: inline-block;
  color: var(--pink);
  background-color: white;
  border: none;
  padding: 10px 25px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

/* =========================
   BUTTON HOVER
========================= */

.hero-content a:hover {
  color: white;
  background-color: var(--pink);
  transform: translateY(-2px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {
  /* HERO */
  .hero {
    background-position: center center;
  }

  .sticky-top {
    overflow: hidden;
  }

  /* HAPPY WEDDING */

  .wedding-title {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  /* NAMA */

  .couple-name {
    font-size: 4rem;
  }

  /* BAGIAN COUNTDOWN */

  .hero-content {
    transform: translateY(100px);
  }

  /* TEXT */

  .hero-content p {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  /* COUNTDOWN */

  .countdown {
    transform: scale(0.8);
    margin-top: 10px;
    margin-bottom: 25px;
  }

  /* BUTTON */

  .hero-content a {
    margin-top: 10px;
    padding: 9px 20px;
  }
}
