:root {
	--pink: #c8a45a;
	--pink-muted: #f6f1e8;
	--pink-light: #eadfcd;
	--pink-hover: #b5893f;
	--white: #ffffff;
	--grey: #d0c7bb;
	--light-grey: #e5ddd1;
	--very-light-grey: #f8f4ee;
	--dark-grey: #7b6b5c;
	--dark: #1f1b16;
	--black: #0b0a08;
	--emerald: #1f2c26;
	--emerald-dark: #162019;
	--champagne: #e7d2a7;
	--shadow-soft: rgba(28, 20, 12, 0.12);
	--shadow-strong: rgba(18, 12, 6, 0.22);
}

html {
	scroll-behavior: smooth;
}

* {
	font-family: 'Cormorant Garamond', serif;
}

body.transition {
	animation: fadeInAnimation ease 2s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: var(--pink-muted);
	color: #2b2520;
}

@keyframes fadeInAnimation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

h1,
h2,
h3,
h4,
h5,
.timeline-date {
	font-family: 'Cinzel', serif;
	letter-spacing: 0.04em;
}

.btn-pink,
.btn-kirim,
#hero-section .btn-get-started,
.nav li a {
	font-family: 'Cinzel', serif;
}

.huruf-sambung {
	font-family: 'Great Vibes', cursive;
	letter-spacing: 0.02em;
}

.open {
	background: radial-gradient(circle at top, #fbf7f0 0%, #f1e7d7 60%, #e6d8c4 100%);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	justify-content: center;
	z-index: 3;
	overflow-y: hidden;
	transition: transform 1s ease-in-out;
}

.doors {
	width: 400px;
	height: 500px;
	position: relative;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.door {
	width: 50%;
	height: 100%;
	position: absolute;
	transform-origin: center left;
	transition: transform 1s, filter 0.5s;
	overflow: hidden;
	will-change: transform;
}

.door img {
	width: 100%;
	height: 100%;
	object-fit: contain;
} 

.door.left {
	left: 22px;
}

.door.right {
	right: 22px;
	transform-origin: center right;
}

.h1-heading {
	position: absolute;
	text-align: center;
	width: 50%;
	font-size: 45px;
	margin: auto;
}

.h1-heading.left {
	left: 0;
}

.h1-heading.right {
	right: 0;
}

.nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	list-style-type: none;
	display: flex;
	background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
	height: 80px;
	z-index: 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;
}

.nav li a:hover {
	color: var(--champagne);
}

.nav li a.nav-item-music {
	color: var(--dark);
}

.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);
	will-change: transform;
}

.nav .nav-music {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: radial-gradient(circle at top, #f1e1bf 0%, var(--pink) 65%, #a47933 100%);
	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 h1 {
	font-size: 64px;
	text-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

#hero-section::before {
	content: "";
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(22, 32, 25, 0.65) 0%, rgba(22, 32, 25, 0.55) 45%, rgba(10, 11, 8, 0.85) 100%);
}

#hero-section {
	width: 100%;
	height: 100vh;
	background: url("../img/foto-pengantin.jpg") top left;
	background-size: cover;
	position: relative;
	background-position: center;
	z-index: 2;
}

#hero-section .container {
	position: relative;
}

#hero-section .btn-get-started {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 0.14em;
	display: inline-block;
	padding: 10px 28px;
	transition: 0.5s;
	color: var(--dark);
	background: linear-gradient(135deg, #f0e0bc 0%, var(--pink) 60%, #b9893d 100%);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

#hero-section .btn-get-started:hover {
	background: linear-gradient(135deg, #f6e9ce 0%, #d2ad64 60%, #a9752f 100%);
	color: var(--dark);
}

.sparkle {
	position: absolute;
	width: 100%;
	height: 100%;
}

.text-pink {
	color: var(--pink);
}

.pembuka-section {
	padding-top: 75px;
}

.section-title {
	text-align: center;
	padding-bottom: 30px;
}

.section-title h1::after {
	content: "";
	display: block;
	width: 120px;
	height: 1px;
	margin: 14px auto 0;
	background: linear-gradient(90deg, transparent 0%, var(--pink) 50%, transparent 100%);
}

.section-title h3 {
	margin: 15px 0 0 0;
	font-size: 32px;
}

.section-title p {
	margin: 15px auto 0 auto;
}

.section-bg {
	background: linear-gradient(180deg, #fbf7f0 0%, #f2eadf 100%);
}

#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);
	background: var(--white);
	border: 1px solid var(--light-grey) !important;
	box-shadow: 0 10px 22px var(--shadow-soft);
}

.border-pink {
	border-radius: 15px;
	border: 2px solid var(--pink);
	box-shadow: 0 10px 24px var(--shadow-soft);
}

.btn-pink {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 0.18em;
	display: inline-block;
	padding: 10px 28px;
	border-radius: 4px;
	transition: 0.5s;
	color: var(--dark);
	background: linear-gradient(135deg, #f2e2bf 0%, var(--pink) 60%, #b5893f 100%);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-pink:hover {
	background: linear-gradient(135deg, #f8edd3 0%, #d7b26c 60%, #a97832 100%);
	color: var(--dark);
}

.timeline {
	list-style: none;
	padding: 20px 0 20px;
	position: relative;
}

.timeline:before {
	content: "";
	top: 0;
	bottom: 0;
	position: absolute;
	width: 1px;
	background-color: var(--pink-light);
	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: 8px;
	background: var(--white);
	box-shadow: 0 12px 24px var(--shadow-soft);
}

.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%;
	border: 3px solid var(--pink-light);
	box-shadow: 0 14px 24px var(--shadow-soft);
}

.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;
	color: var(--dark-grey);
}

.timeline-body > p,
.timeline-body > ul {
	margin-bottom: 0;
}

.timeline-body > p + p {
	margin-top: 5px;
}

.credit-card {
	background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 55%, #2b3a32 100%);
	background-size: cover;
	border-radius: 15px;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
	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 {
	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 4px 8px rgba(0, 0, 0, 0.35);
}

.btn-kirim {
	font-weight: bold;
	color: var(--dark);
	background: linear-gradient(135deg, #f2e2bf 0%, var(--pink) 60%, #b5893f 100%);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-kirim:hover {
	background: linear-gradient(135deg, #f8edd3 0%, #d7b26c 60%, #a97832 100%);
	color: var(--dark);
}

.qr-card {
	background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
	border: 2px solid var(--pink-light);
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 12px 24px var(--shadow-soft);
	max-width: 520px;
	display: grid;
	gap: 18px;
	justify-items: center;
	transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.qr-code {
	width: 220px;
	height: 220px;
	margin: 0 auto;
	padding: 10px;
	border-radius: 14px;
	background: var(--white);
	border: 2px dashed var(--pink);
	display: flex;
	align-items: center;
	justify-content: center;
}

.qr-code img,
.qr-code canvas {
	width: 100% !important;
	height: 100% !important;
}

.qr-meta {
	width: 100%;
	text-align: center;
}

#copy-qr-link {
	width: 100%;
}

#qr-link {
	word-break: break-all;
}

@media (hover: hover) and (pointer: fine) {
	.qr-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

#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(16, 22, 18, 0.2) 0%, rgba(12, 16, 13, 0.8) 60%, rgba(8, 10, 8, 0.95) 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;
	}

	.qr-code {
		width: 200px;
		height: 200px;
	}

	.qr-card {
		padding: 18px;
	}
}

@media (min-width: 992px) {
	.qr-card {
		grid-template-columns: 240px 1fr;
		gap: 24px;
		padding: 26px 28px;
		justify-items: start;
	}

	.qr-code {
		width: 240px;
		height: 240px;
		margin: 0;
	}

	.qr-meta {
		text-align: left;
	}

	#copy-qr-link {
		width: auto;
	}
}

@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);
	}
}
.gallery-section img {
  width: 100%;
  display: block;
}

