/* --- CSS VARIABLES & RESET --- */
:root {
	--bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
	--glass-bg: rgba(255, 255, 255, 0.1);
	--glass-border: 1px solid rgba(255, 255, 255, 0.2);
	--accent-gold: #ffd700;
	--text-primary: #ffffff;
	--text-secondary: #d1d1d1;
	--font-main: 'Montserrat', sans-serif;
	--font-heading: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: var(--font-main);
	background: var(--bg-gradient);
	color: var(--text-primary);
	min-height: 100vh;
	overflow-x: hidden;
	/* Mencegah scroll sebelum buka undangan */
	overflow-y: hidden; 
}

/* --- UTILITIES & ANIMATIONS --- */
.hidden-el { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show-el { opacity: 1; transform: translateY(0); }

/* Glassmorphism Card Style */
.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 16px;
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h2 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	margin-bottom: 1rem;
	background: -webkit-linear-gradient(#fff, #aaa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-align: center;
}

.section-padding { padding: 80px 20px; }
.container { max-width: 1000px; margin: 0 auto; }

/* --- COVER SECTION --- */
.cover {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100vh;
	background: url('https://picsum.photos/seed/reunion2025/1920/1080') no-repeat center center/cover;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Overlay gelap di cover */
.cover::before {
	content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
	background: rgba(0,0,0,0.6);
	z-index: -1;
}

.cover.open { transform: translateY(-100%); }

.cover-content h1 {
	font-family: var(--font-heading);
	font-size: 5.5rem;
	color: var(--accent-gold);
	text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
	margin-bottom: 10px;
	animation: fadeInDown 1s ease;
}

.cover-content p {
	font-size: 1.2rem;
	letter-spacing: 2px;
	margin-bottom: 40px;
	text-transform: uppercase;
	animation: fadeInUp 1s ease 0.3s backwards;
	font-weight: 700;
}

.btn-modern {
	padding: 15px 40px;
	border: 2px solid var(--accent-gold);
	background: transparent;
	color: var(--accent-gold);
	font-weight: bold;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1rem;
	animation: pulse 2s infinite;
}

.btn-modern:hover {
	background: var(--accent-gold);
	color: #000;
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* --- HERO SECTION --- */
.hero {text-align: center;	padding: 120px 50px;background: var(--bg-gradient);}
.hero h3 { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 10px; }
.hero h1 { font-family: var(--font-heading); font-size: 4rem; margin: 20px; line-height: 1.2;color: var(--accent-gold);}
.hero p { max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* --- INFO GRID --- */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

.info-item {
	padding: 30px;
	text-align: center;
	transition: transform 0.3s;
}
.info-item:hover { transform: translateY(-10px); background: rgba(255,255,255,0.15); }
.info-item i { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 15px; }
.info-item h4 { margin-bottom: 10px; font-size: 1.2rem; }

/* --- GUEST STAR SECTION --- */
.guest-star-section { text-align: center; }

.guest-card {
	max-width: 500px;
	margin: 30px auto;
	padding: 40px;
	position: relative;
}

/* Efek Glow di belakang guest star */
.guest-card::before {
	content: ''; position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 150px; height: 150px;
	background: var(--accent-gold);
	filter: blur(80px);
	opacity: 0.4;
	border-radius: 50%;
	z-index: -1;
}

.guest-img {
	width: 180px; height: 180px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 20px;
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* --- PANITIA SECTION --- */
.panitia-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

.panitia-card {
	padding: 20px;
	text-align: center;
}

.panitia-img {
	width: 100px; height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 15px;
}

.panitia-role {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent-gold);
	margin-bottom: 5px;
}

/* --- RSVP FORM --- */
.rsvp-container {
	max-width: 600px;
	margin: 30px auto;
	padding: 40px;
}

.form-control {
	width: 100%; padding: 12px;
	background: rgba(0,0,0,0.2);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 8px;
	color: white; margin-bottom: 15px;
	font-family: var(--font-main);
}
.form-control:focus { outline: none; border-color: var(--accent-gold); }
select.form-control option { background: #24243e; } /* Agar text terbaca di dropdown */

.btn-submit {
	width: 100%; padding: 15px;
	background: linear-gradient(45deg, #ffd700, #fdb931);
	border: none; border-radius: 8px;
	color: #000; font-weight: bold; cursor: pointer;
	font-size: 1rem; transition: transform 0.2s;
}
.btn-submit:hover { transform: scale(1.02); }

footer a {color: var(--accent-gold);  text-decoration: none;}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }

/* Mobile Adjustments */
@media (max-width: 600px) {
	.hero h1 { font-size: 2.5rem; }
	.cover-content h1 { font-size: 2.5rem; }
}