/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.wedding-page {
	font-family: 'Open Sans', sans-serif;
	color: #333;
	background-color: #f9f7f4;
	line-height: 1.7;
}

/* Hero Section */
.hero {
	position: relative;
	background: url('/gallery/fattoria-terracotta.jpg') center center/cover no-repeat;
	height: 70vh;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 0 20px;
}

.hero h1 {
	font-family: 'Playfair Display', serif;
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
	font-size: 1.2rem;
	font-weight: 300;
	letter-spacing: 1px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Main Container */
.container {
	max-width: 800px;
	margin: -80px auto 60px;
	padding: 0 20px;
	position: relative;
	z-index: 10;
}

/* Intro Section */
.intro {
	background: white;
	padding: 50px 40px;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
	text-align: center;
}

.lead {
	font-size: 1.25rem;
	color: #7b4f28;
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

/* Info Sections */
.info-section {
	background: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
}

.info-section h2 {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	color: #7b4f28;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid #e8d5c4;
	padding-bottom: 10px;
}

.info-section h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.3rem;
	color: #5a4a3a;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.info-section p {
	margin-bottom: 1rem;
}

.info-section ul,
.info-section ol {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.info-section li {
	margin-bottom: 0.5rem;
}

/* Event Cards */
.event {
	background: #fdfbf8;
	padding: 20px;
	border-left: 4px solid #c9a66b;
	margin-bottom: 1.5rem;
}

.event h3 {
	margin-top: 0;
	color: #7b4f28;
}

/* Highlight Box */
.highlight-box {
	background: #fff9f0;
	border: 2px solid #e8d5c4;
	padding: 20px;
	border-radius: 6px;
	margin: 1.5rem 0;
}

/* Links */
a {
	color: #7b4f28;
	text-decoration: none;
	border-bottom: 1px solid #c9a66b;
	transition: all 0.3s ease;
}

a:hover {
	color: #5a4a3a;
	border-bottom-color: #7b4f28;
}

/* RSVP Section */
.rsvp-section {
	background: linear-gradient(135deg, #fff9f0 0%, #fdfbf8 100%);
	border: 3px solid #c9a66b;
	text-align: center;
}

/* Add this new rule */
.rsvp-section ul {
	text-align: left;
	display: inline-block;
	margin: 1rem auto;
}

.rsvp-email {
	font-size: 1.2rem;
	margin-top: 1.5rem;
}

.rsvp-email a {
	font-weight: 600;
	font-size: 1.3rem;
}

/* Final Message */
.final-message {
	text-align: center;
	background: linear-gradient(135deg, #fdfbf8 0%, #fff 100%);
}

/* Footer */
.page-footer {
	text-align: center;
	padding: 40px 20px;
	color: #888;
	font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero {
		height: 50vh;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.container {
		margin-top: -40px;
	}

	.intro,
	.info-section {
		padding: 30px 25px;
	}

	.info-section h2 {
		font-size: 1.6rem;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 2rem;
	}

	.intro,
	.info-section {
		padding: 25px 20px;
	}
}
