:root {
	--primary-color: #583e83;
	--secondary-color: #d1c4e9;
	--accent-color: #7986cb;
	--text-color: #4a4a4a;
	--bg-color: #d1c4e9;
	--font-heading: 'Cormorant Garamond', serif;
	--font-body: 'Cormorant Garamond', serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	color: var(--text-color);
	line-height: 1.6;
	background-color: var(--bg-color);
	background-image: url('image_0.png'); 
	background-repeat: repeat;
	background-size: cover;
	background-attachment: fixed;
}

h1, h2, h3 {
	text-align: center;
}

h1 {
	font-family: var(--font-heading);
	font-size: 5rem;
	color: var(--text-color);
	margin-bottom: 10px;
	line-height: 1.2;
	font-weight: normal;
}

h2 {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	margin-bottom: 30px;
	color: var(--primary-color);
	position: relative;
	padding-bottom: 15px;
}

h2::after {
	content: "";
	display: block;
	width: 100px;
	height: 3px;
	background: linear-gradient(to right, transparent, var(--accent-color), transparent);
	margin: 10px auto 0;
}

h3 {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 5px;
}

p {
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.5rem;
	color: #525151;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: 0.3s;
	font-weight: 600;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	background-image: url("Background2.png");
	padding: 80px 40px;
	margin: 60px auto;
	border-radius: 8px;
	box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
	max-width: 1000px;
	border: 1px solid rgba(149, 117, 205, 0.2);
	position: relative;
}

.hero {
	height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
	background-image: url("Background2.png");
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-circle {
	width: 200px;
	height: 200px;
	background-color: var(--secondary-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -75px;
	margin-bottom: -75px;
	z-index: -1;
}

.hero-circle span {
	font-size: 2rem;
	color: #9575cd;
}

.floral-corner {
	position: absolute;
	width: 250px;
	height: auto;
	z-index: 2;
}

.top-left {
	top: -50px;
	left: -50px;
}

.bottom-right {
	bottom: -50px;
	right: -50px;
	transform: rotate(180deg);
}

.hero p.invite-text {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--text-color);
}

.hero p.date {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	letter-spacing: 2px;
	margin-top: 10px;
	color: var(--text-color);
	font-weight: 400;
	display: inline-block;
	padding: 10px 20px;
}

/* --- SCROLL ARROW INDICATOR --- */
.scroll-arrow {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	cursor: pointer;
	animation: bounce 2s infinite;
	color: var(--primary-color);
	font-size: 2.5rem;
	font-family: var(--font-heading);
	font-weight: 300;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
	40% {transform: translateX(-50%) translateY(-10px);}
	60% {transform: translateX(-50%) translateY(-5px);}
}

iframe {
	width: 100%;
	border: none;
	background-color: #fafafa;
}

.frame-wrapper {
	border: 10px solid #f9f9f9;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.timeline-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.timeline-row {
	display: flex;
	padding: 30px 0;
	border-bottom: 1px solid #eee;
	align-items: center;
	transition: background-color 0.3s;
}

.timeline-row:last-child {
	border-bottom: none;
}

.t-time {
	flex: 0 0 180px;
	text-align: right;
	padding-right: 40px;
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--primary-color);
	border-right: 3px solid var(--secondary-color);
	font-family: var(--font-body);
}

.t-details {
	flex: 1;
	padding-left: 40px;
	text-align: left;
}

.t-details h3 {
	text-align: left;
	margin: 0;
	font-size: 1.4rem;
}

.t-details p {
	text-align: left;
	margin: 5px 0 0 0;
	font-size: 1rem;
}

.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	text-align: left;
	margin-top: 20px;
}

.faq-item h3, .faq-item p {
	text-align: left;
}

.btn {
	display: inline-block;
	background-color: var(--primary-color);
	color: white;
	padding: 15px 40px;
	border-radius: 4px;
	font-size: 1rem;
	letter-spacing: 1px;
	margin-top: 20px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
	background-color: var(--accent-color);
	transform: translateY(-2px);
	color: white;
	box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

footer {
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 50px;
	padding-top: 20px;
	color: var(--primary-color);
}

footer p {
	font-family: var(--font-heading);
	font-size: 2.5rem;
}

.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}
.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 768px) {
	/* SHRINK FONTS TO FIT SCREEN */
	h1 { 
		font-size: 3rem; 
		line-height: 1.1;
	}
	
	h2 { 
		font-size: 2.2rem; /* Reduced from 3.5rem to fit mobile */
	}

	section { 
		padding: 40px 20px; 
		margin: 20px;
	}
	
	.timeline-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 40px 0;
	}
	.t-time {
		text-align: center;
		padding-right: 0;
		border-right: none;
		border-bottom: 2px solid var(--secondary-color);
		padding-bottom: 10px;
		margin-bottom: 15px;
		flex: auto;
	}
	.t-details {
		padding-left: 0;
		text-align: center;
	}
	.t-details h3, .t-details p {
		text-align: center;
	}

	.faq-grid { grid-template-columns: 1fr; }
	.floral-corner { width: 120px; }
	.top-left { top: -30px; left: -30px; }
	.bottom-right { bottom: -30px; right: -30px; }
}