:root {
	--pink: #D4AF37;
	--pink-muted: #fdf4f8;
	--pink-light: #EBB866;
	--pink-hover: #C3A368;
	--white: #ffffff;
	--grey: #cccccc;
	--light-grey: #d4d4d4;
	--very-light-grey: #eeeeee;
	--dark-grey: #999999;
	--dark: #151515;
	--black: #000000;
}

html {
	scroll-behavior: smooth;
}

* {
	font-family: 'Work Sans', sans-serif;
}

body.transition {
	animation: fadeInAnimation ease 2s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.h1-heading {
	position: absolute;
	text-align: center;
	width: 50%;
	font-size: 45px;
	margin: auto;
}

.h1-heading.left {
	left: 0;
}

.h1-heading.right {
	right: 0;
}

.huruf-sambung {
  font-family: "Sofia", cursive;
  font-weight: 400;
  font-style: normal;
}


.nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	list-style-type: none;
	display: flex;

	/* Efek tembus pandang */
	background: rgba(168, 143, 6, 0.6); /* pink transparan */
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);

	height: 80px;
	z-index: 9998;
	transform: translateY(100%);
	opacity: 0;
	transition: 
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.4s ease;
	border-radius: 15px;

	/* biar keliatan kayak kaca */
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav.show-nav {
	transform: translateY(0);
	opacity: 1;
}

.nav li {
	flex: 1;
}

.nav li a {
	text-decoration: none;
	color: var(--very-light-grey);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	z-index: 1;
	position: relative;
	border-radius: 15px; /* Rounded corners for each icon */
}

.nav li a:hover {
	color: var(--white);
}

.nav li a.nav-item-music {
	transform: translateY(-20%);
	font-size: 30px;
	top: -30px;
	transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav .nav-music {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background-color: var(--dark);
	position: absolute;
	top: -35px;
	left: 50%;
	transform: translateX(-50%);
}

.nav li a.rotate {
	animation: rotateAnimation 5s linear infinite;
}
@keyframes rotateAnimation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* ================= HERO SECTION ================= */
#hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: url("../img/foto-pengantin1.jpg") center/cover no-repeat;
}

/* BACKGROUND LAYER */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease-in-out;
  z-index: 0;
}

.bg1 {
  opacity: 1;
}

.bg2 {
  opacity: 0;
}

/* OVERLAY GELAP */
#hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* GRADIENT */
#hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0) 70%
  );
  z-index: 2;
}

/* KONTEN */
#hero-section .container {
  position: relative;
  z-index: 5;
  color: white;
}

/* Wave separator */
.custom-wave-gradient {
  position: absolute;
  bottom: -2px; /* menindih section bawah agar tak ada garis */
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 3;
}

.custom-wave-gradient svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none; /* 🔥 biar tombol di atas bisa diklik */
}


#pembuka-section {
  background: #6e6d6d1a; /* ← ganti sesuai warna section pembuka kamu */
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 140px;
}


@media (max-width: 768px) {
  .custom-wave-gradient svg {
    height: 150px;
  }
}

/* Pembuka Section */
#pembuka-section {
  position: relative;
  background: var(--pembuka-bg);
  padding-top: 0 !important;
  margin-top: 0 !important;
  z-index: 1;
}

/* Safari + Android Chrome Rendering Fix */
@supports (-webkit-touch-callout: none) {
  .custom-wave-gradient svg {
    transform: translateY(2px);
    height: 260px;
  }
}

@media screen and (max-width: 768px) {
  .custom-wave-gradient svg {
    height: 220px;
  }
}

.scroll-spacer {
  height: 30px; /* sesuaikan dengan jarak agar nama wanita muncul dulu */
}

#hero-section .container {
	position: relative;
}

#hero-section .btn-get-started {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 10px 28px;
	transition: 0.5s;
	color: var(--pink);
	background: var(--white);
}

#hero-section .btn-get-started:hover {
	background: var(--pink-hover);
	color: var(--white);
}


.text-pink {
	color: var(--pink);
}

.pembuka-section {
	padding-top: 75px;
}

.section-title {
	text-align: center;
	padding-bottom: 30px;
}

.section-title h3 {
	margin: 15px 0 0 0;
	font-size: 32px;
}

.section-title p {
	margin: 15px auto 0 auto;
}

.section-bg {
	background-color: var(--pink-muted);
}

#content-section {
	overflow-x: hidden;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--pink-light);
}

::-webkit-scrollbar-thumb {
	background: var(--pink);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--pink-hover);
}


.card-acara {
	width: calc(50% - 10px);
}

.border-pink {
	border-radius: 15px;
	border: 2px solid var(--pink);
}

.btn-pink {
	font-family: sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 10px 28px;
	border-radius: 4px;
	transition: 0.5s;
	color: var(--white);
	background: var(--pink);
}

.btn-pink:hover {
	background: var(--pink-hover);
	color: var(--white);
}

.timeline {
	list-style: none;
	padding: 20px 0 20px;
	position: relative;
}

.timeline:before {
	content: "";
	top: 0;
	bottom: 0;
	position: absolute;
	width: 1px;
	background-color: var(--light-grey);
	left: 50%;
	margin-left: 0px;
}

.timeline > li {
	margin-bottom: 20px;
	position: relative;
}

.timeline > li:before, .timeline > li:after {
	content: " ";
	display: table;
}

.timeline > li:after {
	clear: both;
}

.timeline > li > .timeline-panel {
	width: 40%;
	float: left;
	border: 1px solid var(--light-grey);
	padding: 30px;
	position: relative;
	border-radius: 4px;
}

.timeline > li > .timeline-panel:before {
	content: " ";
	position: absolute;
	top: 80px;
	right: -15px;
	display: inline-block;
	border-top: 15px solid transparent;
	border-left: 15px solid var(--grey);
	border-right: 0 solid var(--grey);
	border-bottom: 15px solid transparent;
}

.timeline > li > .timeline-panel:after {
	content: " ";
	position: absolute;
	top: 81px;
	right: -14px;
	display: inline-block;
	border-top: 14px solid transparent;
	border-left: 14px solid var(--white);
	border-right: 0 solid var(--white);
	border-bottom: 14px solid transparent;
}

.timeline > li > .timeline-badge {
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	position: relative;
	color: var(--white);
	width: 160px;
	height: 160px;
	line-height: 50px;
	font-size: 1.4em;
	text-align: center;
	position: absolute;
	top: 16px;
	left: 50%;
	margin-left: -80px;
	background-color: var(--dark-grey);
	z-index: 100;
	border-radius: 50%;
}

.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: -14px;
	right: auto;
}

.timeline-title {
	margin-top: 0;
}

.timeline-date {
	display: block;
	margin-bottom: 20px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.timeline-body > p,
.timeline-body > ul {
	margin-bottom: 0;
}

.timeline-body > p + p {
	margin-top: 5px;
}

.credit-card {
	background-color: var(--dark);
	background-size: cover;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	padding: 20px;
	width: 300px;
	color: var(--white);
	position: absolute;
}

.card-logo {
	width: 75px;
	position: absolute;
	top: 15px;
	right: 15px;
}

.card-container {
	display: flex;
	align-items: center;
	margin-top: 50px;
}

.card-sim {
	width: 30px;
	margin-right: 10px;
}

.card-number {
	font-family: 'Courier New', monospace;
	font-size: 22px;
}

.card-name {
	font-family: 'Courier New', monospace;
	font-size: 16px;
	text-align: left;
	margin-top: 10px;
}

.copy-button {
	font-family: 'Courier New', monospace;
	position: absolute;
	top: 5px;
	left: 15px;
	background-color: var(--white);
	color: var(--black);
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 20px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-kirim {
	font-weight: bold;
	color: var(--white);
	background: var(--pink);
}

.btn-kirim:hover {
	background: var(--pink-hover);
	color: var(--white);
}

#penutup-section {
	position: relative;
	height: 100vh;
	color: var(--white);
	display: flex;
	align-items: center;
}

#penutup-section::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 1) 100%), url('../img/penutup.jpg');
	background-position: center;
	background-size: cover;
}

@media (max-width: 480px) {
	.timeline > li > .timeline-panel {
		width: 75% !important;
	}

	.timeline > li > .timeline-panel:before {
		top: 30px;
	}

	.timeline > li > .timeline-panel:after {
		top: 31px;
	}

	.timeline:before {
		margin-left: -64px;
	}

	.timeline > li > .timeline-badge {
		width: 60px;
		height: 60px;
		margin-left: -20px !important;
	}
}

@media (max-width: 768px) {
	.h1-heading {
		top: 5rem;
		bottom: auto;
		font-size: 36px;
	}

	#hero-section h1 {
		font-size: 45px;
	}

	.nav li a.nav-item-music {
		font-size: 40px;
		top: -25px;
	}

	.nav .nav-music {
		top: -15px;
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 992px) {
	ul.timeline:before {
		left: 90px;
	}

	ul.timeline > li > .timeline-panel {
		width: calc(100% - 200px);
	}

	ul.timeline > li > .timeline-badge {
		left: 15px;
		margin-left: 0;
		top: 16px;
	}

	ul.timeline > li > .timeline-panel {
		float: right;
	}

	ul.timeline > li > .timeline-panel:before {
		border-left-width: 0;
		border-right-width: 15px;
		left: -15px;
		right: auto;
	}

	ul.timeline > li > .timeline-panel:after {
		border-left-width: 0;
		border-right-width: 14px;
		left: -14px;
		right: auto;
	}

	.card-acara {
		width: calc(100% - 10px);
	}
}


.foto-mempelai {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Posisi wrapper */
.mempelai-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wanita-wrapper {
  align-items: flex-end;
}
.teks-mempelai {
  max-width: 340px;
}

/* Desktop layout */
@media (min-width: 992px) {
  .mempelai-row:first-child .col-md-6 {
    padding-left: 5rem;
  }
  .mempelai-row:last-child .col-md-6 {
    padding-right: 5rem;
  }
}

/* Mobile (half-bleed edge effect) */
@media (max-width: 991px) {
  .pria-wrapper { align-items: flex-start; text-align: left; }
  .wanita-wrapper { align-items: flex-end; text-align: right; }

  .foto-mempelai {
    width: 100%;
    max-width: 330px;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  /* Efek half-bleed (foto menempel di sisi layar) */
  .pria-img {
    margin-left: -16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .wanita-img {
    margin-right: -16px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .teks-mempelai {
    max-width: 280px;
    padding: 0 10px;
  }
}



/* ===== COVER SECTION ===== */
.cover-section {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url('../img/cover.jpg') center center / cover no-repeat;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), filter 1s ease;
}

.cover-section .cover-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cover-section .cover-content {
  max-width: 600px;
  text-align: center;
}

.cover-section h1,
.cover-section h2,
.cover-section h3 {
  font-size: 2em;
  font-weight: 700;
  color: #fff;
}

.cover-section p {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 20px;
}

.cover-section .cover-image {
  width: 250px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  margin: 20px 0;
  border: 10px solid #fff; /* Add border effect */
  position: relative;
}

.cover-section .cover-image:after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px dashed #fff; /* Dashed border effect */
  border-radius: 15px; /* Rounded corners for the border */
}

/* Button styling */
.cover-section a {
  padding: 10px 25px;
  background-color: #fff;
  color: #000;
  border-radius: 25px;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cover-section a:hover {
  background-color: #f5a623;
  transform: scale(1.1);
}

.cover-section.opening {
  opacity: 0;
  transform: scale(1.1);
  filter: blur(8px);
}

/* MOBILE RESPONSIVE */
@media only screen and (max-width: 768px) {
  .cover-section .cover-image {
    width: 180px;  /* Mengurangi ukuran gambar di mobile */
    height: 280px;
  }

  .cover-section h1 {
    font-size: 1em; /* Menyesuaikan ukuran font di mobile */
  }

  .cover-section h2 {
    font-size: 2.8em; /* Menyesuaikan ukuran font di mobile */
  }

  .cover-section h3 {
    font-size: 1em; /* Menyesuaikan ukuran font di mobile */
  }

  .cover-section h4 {
    font-size: 1.5em; /* Menyesuaikan ukuran font di mobile */
  }
  .cover-section p {
    font-size: 1em; /* Menyesuaikan ukuran font di mobile */
  }

  .cover-section a {
    font-size: 1em; /* Mengurangi ukuran font tombol di mobile */
    padding: 8px 20px;
  }
}
/* ===== HERO ANIMATION ===== */
#hero-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

#hero-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Biar tidak ada jarak putih */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Pastikan tidak ada scroll horizontal */
}