﻿:root {
	/* Cream and Gold Palette */
	--color-bg-cream: #faf9f6;
	--color-text-dark: #333333;
	--color-text-muted: #666666;
	--color-gold-light: #f5deb3;
	--color-gold-accent: #d4af37;
	--color-gold-dark: #996515;
	--color-white: #ffffff;
	--color-error: #cc0000;

	/* Typography */
	--font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-family-serif: 'Playfair Display', Georgia, serif;

	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--spacing-xl: 8rem;

	/* Transitions */
	--transition-smooth: all 0.3s ease-in-out;
}

/* Reset basics */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--color-bg-cream);
	color: var(--color-text-dark);
	font-family: var(--font-family-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-serif);
	color: var(--color-gold-dark);
	margin-top: 0;
	font-weight: 500;
}

a {
	color: var(--color-gold-accent);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:hover {
	color: var(--color-gold-dark);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Layout Utilities */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

.section {
	padding: 6rem 0;
}

.section-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, var(--color-gold-light), transparent);
	margin: 0;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin: -1rem;
}

.col-half {
	width: 50%;
	padding: 1rem;
	flex: 1 1 300px;
}

.align-items-center {
	align-items: center;
}

/* Typography Helpers */
.text-center {
	text-align: center;
}

.section-title {
	margin-bottom: 1rem;
	font-size: 2.5rem;
}

.section-desc {
	max-width: 700px;
	margin: 0 auto 3rem auto;
	color: var(--color-text-muted);
	font-size: 1.1rem;
}

.clean-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.clean-list li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
}

.clean-list li:last-child {
	border-bottom: none;
}

/* Colors & Backgrounds */
.bg-white {
	background-color: var(--color-white);
}

.bg-cream {
	background-color: var(--color-bg-cream);
}

.bg-dark {
	background-color: #2c2925;
	color: var(--color-bg-cream);
}

.theme-light {
	color: var(--color-gold-light);
}

/* Buttons */
.btn {
	display: inline-block;
	background-color: var(--color-gold-accent);
	color: var(--color-white);
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 4px;
	font-family: var(--font-family-sans);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-smooth);
	text-align: center;
}

.btn:hover,
.btn.active {
	background-color: var(--color-gold-dark);
	color: var(--color-white);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-gold-dark);
	border: 2px solid var(--color-gold-accent);
}

.btn-outline:hover {
	background-color: var(--color-gold-accent);
	color: var(--color-white);
}

.btn-block {
	width: 100%;
	display: block;
}

.mt-4 {
	margin-top: 1.5rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 1rem;
}

.p-4 {
	padding: 1.5rem;
}

/* Forms */
.form-group {
	text-align: left;
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--color-gold-dark);
}

.form-control {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--color-white);
	transition: var(--transition-smooth);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-gold-accent);
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-control-sm {
	padding: 0.5rem;
	font-size: 0.9rem;
}

.rsvp-form {
	max-width: 600px;
	margin: 0 auto;
	background: var(--color-white);
	padding: 3rem;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.attending-toggle {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.attending-toggle .btn {
	flex: 1;
}

.border-radius {
	border-radius: 8px;
}

/* Cards & UI Elements */
.card {
	background: var(--color-white);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(212, 175, 55, 0.08);
	transition: var(--transition-smooth);
	height: 100%;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
	border-color: rgba(212, 175, 55, 0.3);
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	background: transparent;
	transition: var(--transition-smooth);
	z-index: 100;
	padding: 1.5rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-header .site-branding .site-title a {
	color: var(--color-gold-dark);
	font-size: 1.5rem;
	transition: var(--transition-smooth);
}

.site-header.is-sticky {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
	padding: 1rem 2rem;
}

.menu-toggle {
	display: none;
}

/* --- Desktop Nav Styling --- */
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.main-navigation a {
	color: var(--color-text-dark);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.5rem 1.25rem;
	border-radius: 20px;
	letter-spacing: 0.5px;
	display: inline-block;
	transition: var(--transition-smooth);
}

.main-navigation li.current-menu-item>a,
.main-navigation li.current_page_item>a {
	background: rgba(0, 0, 0, 0.05);
	color: var(--color-gold-dark);
}

.main-navigation a:hover {
	background: rgba(0, 0, 0, 0.08);
	color: var(--color-text-dark);
}

/* Home Page Header (Transparent / White text before scroll) */
.home .site-header:not(.is-sticky) .site-title a {
	color: var(--color-white);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.home .site-header:not(.is-sticky) .main-navigation a {
	color: var(--color-white);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.home .site-header:not(.is-sticky) .main-navigation li.current-menu-item>a,
.home .site-header:not(.is-sticky) .main-navigation li.current_page_item>a {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(5px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	color: var(--color-white);
}

.home .site-header:not(.is-sticky) .main-navigation a:hover {
	background: rgba(255, 255, 255, 0.3);
	color: var(--color-white);
}

.home .site-header:not(.is-sticky) .hamburger-inner,
.home .site-header:not(.is-sticky) .hamburger-inner::before,
.home .site-header:not(.is-sticky) .hamburger-inner::after {
	background-color: var(--color-white);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Sticky Header Active State override */
.site-header.is-sticky .main-navigation li.current-menu-item>a,
.site-header.is-sticky .main-navigation li.current_page_item>a {
	background: rgba(212, 175, 55, 0.15);
	/* Gold tint */
	color: var(--color-gold-dark);
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg-cream);
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-background::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 2rem;
}

/* Hero Top Nav */
.hero-top-nav {
	position: absolute;
	top: 2rem;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	z-index: 10;
}

.hero-nav-link {
	color: var(--color-white);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.5rem 1.25rem;
	border-radius: 20px;
	letter-spacing: 0.5px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-nav-link.active {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(5px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-nav-link:hover {
	background: rgba(255, 255, 255, 0.3);
	color: var(--color-white);
}

/* Updated Hero Text Elements */
.hero-title-elegant {
	font-size: 4.5rem;
	font-family: var(--font-family-serif);
	color: var(--color-white);
	margin-bottom: 0.5rem;
	text-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5);
	font-weight: 600;
	line-height: 1.1;
}

.hero-title-elegant .ampersand {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 4.2rem;
	margin: 0 0.1rem;
}

.hero-subtitle {
	font-size: 1.1rem;
	font-family: var(--font-family-sans);
	letter-spacing: 3px;
	color: var(--color-white);
	text-transform: uppercase;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.hero-version {
	font-size: 2.2rem;
	font-family: var(--font-family-sans);
	color: var(--color-white);
	font-weight: 300;
	margin-top: 0.5rem;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-scroll-down {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	animation: bounce 2s infinite;
	opacity: 0.9;
	color: var(--color-white);
}

.hero-scroll-down svg {
	stroke: var(--color-white);
	filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) translateX(-50%);
	}

	40% {
		transform: translateY(-10px) translateX(-50%);
	}

	60% {
		transform: translateY(-5px) translateX(-50%);
	}
}

/* Grids */
.menu-grid,
.tourism-grid,
.hotel-list {
	gap: 1.5rem;
}

.menu-item {
	flex: 1;
	min-width: 250px;
}

.transport-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: stretch;
	justify-content: center;
}

.transport-info {
	flex: 1;
	min-width: 300px;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.map-container {
	flex: 1;
	min-width: 300px;
	min-height: 350px;
	background: #f0ede6;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

/* Timeline */
.timeline {
	max-width: 700px;
	margin: 4rem auto 0;
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--color-gold-light);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	width: 50%;
	padding: 2rem 3rem;
	text-align: right;
}

.timeline-item:nth-child(even) {
	margin-left: 50%;
	text-align: left;
}

.timeline-item::after {
	content: '';
	position: absolute;
	top: 2.5rem;
	right: -8px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--color-white);
	border: 4px solid var(--color-gold-accent);
	box-shadow: 0 0 0 4px var(--color-bg-cream);
}

.timeline-item:nth-child(even)::after {
	right: auto;
	left: -8px;
}

.timeline-item .time {
	font-family: var(--font-family-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-gold-dark);
	margin-bottom: 0.5rem;
}

.timeline-item .desc h3 {
	font-size: 1.25rem;
	font-weight: 500;
	margin: 0;
	color: var(--color-text-dark);
}

/* Animations */
.section {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.section.visible,
.card.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
	.col-half {
		width: 100%;
		flex: 1 1 100%;
	}

	.hero-title-elegant {
		font-size: 2.8rem;
	}

	.hero-title-elegant .ampersand {
		font-size: 2.6rem;
	}

	.hero-subtitle {
		font-size: 0.85rem;
		letter-spacing: 1.5px;
	}

	.hero-version {
		font-size: 1.5rem;
	}

	/* Mobile Menu Options */
	.menu-toggle {
		display: block;
		background: transparent;
		border: none;
		cursor: pointer;
		padding: 0.5rem;
		z-index: 101;
	}

	.hamburger-box {
		width: 30px;
		height: 20px;
		display: inline-block;
		position: relative;
	}

	.hamburger-inner {
		display: block;
		top: 50%;
		margin-top: -1.5px;
	}

	.hamburger-inner,
	.hamburger-inner::before,
	.hamburger-inner::after {
		width: 30px;
		height: 3px;
		background-color: var(--color-gold-dark);
		border-radius: 4px;
		position: absolute;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.hamburger-inner::before,
	.hamburger-inner::after {
		content: "";
		display: block;
	}

	.hamburger-inner::before {
		top: -8px;
	}

	.hamburger-inner::after {
		bottom: -8px;
	}

	/* Active State for Hamburger */
	.menu-toggle.toggled .hamburger-inner {
		transform: rotate(45deg);
	}

	.menu-toggle.toggled .hamburger-inner::before {
		top: 0;
		opacity: 0;
	}

	.menu-toggle.toggled .hamburger-inner::after {
		bottom: 0;
		transform: rotate(-90deg);
	}

	.main-navigation ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		padding: 2rem;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
		text-align: center;
		gap: 1.5rem;
		border-top: 1px solid rgba(212, 175, 55, 0.2);
	}

	.main-navigation.toggled ul {
		display: flex;
	}

	/* Force dark text on mobile dropdown even if home header is transparent */
	.home .site-header:not(.is-sticky) .main-navigation.toggled a {
		color: var(--color-text-dark);
		text-shadow: none;
	}

	.home .site-header:not(.is-sticky) .main-navigation.toggled li.current-menu-item>a,
	.home .site-header:not(.is-sticky) .main-navigation.toggled li.current_page_item>a {
		background: rgba(212, 175, 55, 0.15);
		color: var(--color-gold-dark);
		backdrop-filter: none;
		box-shadow: none;
	}

	.home .site-header:not(.is-sticky) .main-navigation.toggled a:hover {
		background: rgba(0, 0, 0, 0.05);
		color: var(--color-text-dark);
	}

	.attending-toggle {
		flex-direction: column;
	}

	.timeline::before {
		left: 20px;
	}

	.timeline-item {
		width: 100%;
		margin-left: 0;
		padding: 1rem 0 2rem 50px !important;
		text-align: left !important;
	}

	.timeline-item:nth-child(even) {
		margin-left: 0;
	}

	.timeline-item::after,
	.timeline-item:nth-child(even)::after {
		left: 12px;
		right: auto;
	}

	.rsvp-form {
		padding: 1.5rem;
	}

	.transport-grid {
		flex-direction: column;
		gap: 1.5rem;
	}
}
