/* Reset and base styles with unique prefixes */
.stw-wedding-container * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.stw-wedding-container {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: linear-gradient(135deg, #f8faff 0%, #fdf9fc 50%, #f6f8ff 100%); /* ELEGANT DESIGN: Soft romantic gradient */
	min-height: 100vh;
	padding: 2rem;
	position: relative;
	--stw-mobile-nav-height: 20px;
}

/* FLAT DESIGN: Removed background effects for clean flat design */

.stw-wedding-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	background: #ffffff; /* FLAT DESIGN: Solid white background */
	border-radius: 16px; /* FLAT DESIGN: Reduced border radius for cleaner look */
	border: none; /* FLAT DESIGN: Removed border for cleaner appearance */
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* FLAT DESIGN: Stronger shadow for depth */
	overflow: hidden;
	position: relative;
	min-height: calc(100vh - 4rem);
	display: flex;
	z-index: 2;
}

/* FLAT DESIGN: Enhanced Side Navigation */
.stw-nav-sidebar {
	width: 320px;
	background: #f8f9fa; /* FLAT DESIGN: Light gray background */
	border-right: 1px solid #e9ecef; /* FLAT DESIGN: Subtle border */
	padding: 0;
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
	transition: all 0.3s ease;
}

.stw-nav-header {
	text-align: center;
	padding: 3rem 2rem 2rem;
	border-bottom: 1px solid #e9ecef; /* FLAT DESIGN: Solid border */
	margin-bottom: 1rem;
	background: #ffffff; /* FLAT DESIGN: Clean white background */
	position: relative;
}

.stw-nav-header::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 30%;
	right: 30%;
	height: 3px;
	background: #ff6b6b; /* FLAT DESIGN: Solid accent color */
	border-radius: 2px;
}

.stw-nav-title {
	color: #2c3e50; /* FLAT DESIGN: Dark color for contrast */
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	text-shadow: none; /* FLAT DESIGN: Removed text shadow */
}

.stw-nav-subtitle {
	color: #6c757d; /* FLAT DESIGN: Gray color for subtitle */
	font-size: 1rem;
	font-weight: 300;
}

.stw-nav-item {
	display: flex;
	align-items: center;
	padding: 1.25rem 2rem;
	color: #495057; /* FLAT DESIGN: Dark gray text */
	text-decoration: none;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	cursor: pointer;
	user-select: none;
	margin: 0.5rem 0;
	font-weight: 500;
	position: relative;
	border-radius: 8px; /* FLAT DESIGN: Rounded corners */
}

/* FLAT DESIGN: Removed complex hover animations for clean look */

.stw-nav-item:hover {
	background: #e9ecef; /* FLAT DESIGN: Light gray hover background */
	color: #2c3e50; /* FLAT DESIGN: Darker text on hover */
	border-left-color: #ff6b6b; /* FLAT DESIGN: Accent color border */
	transform: translateX(5px);
	box-shadow: none; /* FLAT DESIGN: Removed shadow */
}

.stw-nav-item.stw-active {
	background: #ff6b6b; /* FLAT DESIGN: Solid accent color background */
	color: white; /* FLAT DESIGN: White text on accent background */
	border-left-color: #e55353; /* FLAT DESIGN: Slightly darker accent border */
	box-shadow: none; /* FLAT DESIGN: Removed shadow */
}

.stw-nav-icon {
	margin-right: 1rem;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: #f8f9fa; /* FLAT DESIGN: Light gray background */
	border-radius: 50%;
	border: 2px solid #e9ecef; /* FLAT DESIGN: Solid border */
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.stw-nav-item:hover .stw-nav-icon {
	background: #ffffff; /* FLAT DESIGN: White background on hover */
	border-color: #ff6b6b; /* FLAT DESIGN: Accent color border */
	transform: scale(1.1);
}

.stw-nav-item.stw-active .stw-nav-icon {
	background: #ffffff; /* FLAT DESIGN: White background for active */
	border-color: #e55353; /* FLAT DESIGN: Darker accent border for active */
	transform: scale(1.1);
}

/* FLAT DESIGN: Enhanced Content Area */
.stw-content-area {
	flex: 1;
	padding: 3rem 3rem 3rem 3rem;
	position: relative;
	background: #ffffff; /* FLAT DESIGN: Clean white background */
	overflow-y: auto;
}

.stw-content-section {
	display: none;
	animation: stw-fadeIn 0.6s ease-in-out;
}

.stw-content-section.stw-active {
	display: block;
}

/* Professional section separators */
.stw-content-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 3rem;
	right: 3rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stw-content-section:first-child::before {
	display: none;
}

.stw-section-title {
	color: #2c3e50; /* FLAT DESIGN: Dark text for contrast */
	font-size: 2.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-shadow: none; /* FLAT DESIGN: Removed text shadow */
	letter-spacing: -0.02em;
	position: relative;
}

.stw-section-title::after {
	content: '';
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #ff6b6b, #ee5a24);
	border-radius: 1.5px;
	box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.stw-section-subtitle {
	color: #6c757d; /* FLAT DESIGN: Gray text for subtitle */
	font-size: 1.2rem;
	margin-bottom: 3rem;
	line-height: 1.6;
	font-weight: 300;
	max-width: 600px;
}

.stw-content-card {
	background: #f8f9fa; /* FLAT DESIGN: Light gray background */
	border-radius: 12px; /* FLAT DESIGN: Reduced border radius */
	border: 1px solid #e9ecef; /* FLAT DESIGN: Solid border */
	padding: 2.5rem;
	margin-bottom: 2.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* FLAT DESIGN: Subtle shadow */
	transition: all 0.4s ease;
	position: relative;
}

/* FLAT DESIGN: Removed complex animations for clean look */

.stw-content-card:hover {
	transform: translateY(-3px);
	background: #ffffff; /* FLAT DESIGN: White background on hover */
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); /* FLAT DESIGN: Elevated shadow */
	border-color: #dee2e6; /* FLAT DESIGN: Slightly darker border on hover */
}

.stw-card-title {
	color: #2c3e50; /* FLAT DESIGN: Dark text for contrast */
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	text-shadow: none; /* FLAT DESIGN: Removed text shadow */
	position: relative;
}

.stw-card-title::after {
	content: '';
	position: absolute;
	bottom: -0.75rem;
	left: 0;
	width: 50px;
	height: 2px;
	background: #ff6b6b; /* FLAT DESIGN: Solid accent color */
}

.stw-card-icon {
	margin-right: 1rem;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	background: #ff6b6b; /* FLAT DESIGN: Accent color background */
	border-radius: 50%;
	border: none; /* FLAT DESIGN: Removed border */
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.stw-content-card:hover .stw-card-icon {
	background: #e55353; /* FLAT DESIGN: Darker accent color on hover */
	transform: scale(1.05);
}

.stw-card-content {
	color: #495057; /* FLAT DESIGN: Dark gray text for readability */
	line-height: 1.7;
	font-size: 1rem;
}

.stw-card-content p {
	margin-bottom: 1.5rem;
	font-weight: 300;
}

.stw-list {
	list-style: none;
	padding-left: 0;
	margin: 1.5rem 0;
}

.stw-list-item {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: flex-start;
	transition: all 0.3s ease;
}

.stw-list-item:hover {
	background: #e9ecef; /* FLAT DESIGN: Light gray hover background */
	border-radius: 8px;
	padding-left: 1rem;
	padding-right: 1rem;
	margin: 0 -1rem;
}

.stw-list-item:last-child {
	border-bottom: none;
}

.stw-list-icon {
	margin-right: 1rem;
	color: #ff6b6b;
	font-size: 1rem;
	font-weight: bold;
	min-width: 1rem;
	margin-top: 0.1rem;
}

.stw-cta-button {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #ff6b6b, #ee5a24);
	color: white;
	padding: 1rem 2rem;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 2rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.stw-cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
	background: linear-gradient(135deg, #ff8787, #ff6b47);
}

.stw-external-icon {
	margin-left: 0.5rem;
	font-size: 1rem;
}

/* FLAT DESIGN: Enhanced Mobile Navigation */
.stw-nav-mobile {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #ffffff; /* FLAT DESIGN: White background */
	border-top: 1px solid #e9ecef; /* FLAT DESIGN: Solid border */
	padding: 1rem 0;
	min-height: var(--stw-mobile-nav-height);
	padding-bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 9999;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); /* FLAT DESIGN: Subtle shadow */
	transform: translateY(0);
	transition: transform 0.3s ease-in-out;
}

.stw-nav-mobile-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
	max-width: 600px;
	margin: 0 auto;
	padding: 0 1rem;
	gap: 0.5rem;
}

.stw-nav-mobile-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #6c757d; /* FLAT DESIGN: Gray text */
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.8rem 0.5rem;
	border-radius: 8px; /* FLAT DESIGN: Reduced border radius */
	transition: all 0.3s ease;
	cursor: pointer;
	user-select: none;
	border: 1px solid #e9ecef; /* FLAT DESIGN: Light border */
}

.stw-nav-mobile-item:hover {
	color: #2c3e50; /* FLAT DESIGN: Dark text on hover */
	background: #f8f9fa; /* FLAT DESIGN: Light gray background */
	transform: translateY(-2px);
}

.stw-nav-mobile-item.stw-active {
	color: white; /* FLAT DESIGN: White text on accent */
	background: #ff6b6b; /* FLAT DESIGN: Solid accent background */
	box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3); /* FLAT DESIGN: Subtle shadow */
	border-color: #e55353; /* FLAT DESIGN: Darker accent border */
}

.stw-nav-mobile-icon {
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
	text-shadow: none; /* FLAT DESIGN: Removed text shadow */
}

/* Responsive Design */
@media (max-width: 1024px) {
	.stw-nav-sidebar {
		width: 280px;
	}
	
	.stw-content-area {
		padding: 2.5rem;
	}
}

@media (max-width: 768px) {
	.stw-wedding-container {
		padding: 1rem;
	}

	.stw-wedding-wrapper {
		flex-direction: column;
		min-height: calc(100vh - 2rem);
		margin-bottom: calc(var(--stw-mobile-nav-height) + max(1rem, env(safe-area-inset-bottom)));
	}

	.stw-nav-sidebar {
		display: none;
	}

	.stw-nav-mobile {
		display: block;
		transform: translateY(100%);
		pointer-events: none;
	}

	.stw-content-area {
		padding: 2rem 1.5rem;
		padding-bottom: calc(var(--stw-mobile-nav-height) + max(1rem, env(safe-area-inset-bottom)) + 2rem);
		background: transparent;
	}

	.stw-section-title {
		font-size: 2.2rem;
	}

	.stw-content-card {
		padding: 2rem 1.5rem;
		margin-bottom: 2rem;
	}

	.stw-card-title {
		font-size: 1.4rem;
	}

	.stw-nav-mobile-container {
		gap: 0.3rem;
	}
}

@media (max-width: 480px) {
	.stw-wedding-container {
		padding: 0.5rem;
	}
	
	.stw-content-area {
		padding: 1.5rem 1rem;
	}

	.stw-section-title {
		font-size: 2rem;
	}

	.stw-content-card {
		padding: 1.5rem;
	}

	.stw-card-title {
		font-size: 1.3rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.stw-card-icon {
		margin-right: 0;
		margin-bottom: 0.5rem;
	}

	.stw-nav-mobile-container {
		padding: 0 0.5rem;
		gap: 0.2rem;
	}

	.stw-nav-mobile-item {
		font-size: 0.8rem;
		padding: 0.6rem 0.3rem;
	}

	.stw-nav-mobile-icon {
		font-size: 1.2rem;
	}

	.stw-list-item:hover {
		margin: 0 -0.5rem;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

/* Enhanced scrollbar styling */
.stw-nav-sidebar::-webkit-scrollbar,
.stw-content-area::-webkit-scrollbar {
	width: 8px;
}

.stw-nav-sidebar::-webkit-scrollbar-track,
.stw-content-area::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

.stw-nav-sidebar::-webkit-scrollbar-thumb,
.stw-content-area::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	transition: background 0.3s ease;
}

.stw-nav-sidebar::-webkit-scrollbar-thumb:hover,
.stw-content-area::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.5);
}

/* Loading animation for content sections */
@keyframes stw-slideIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.stw-content-card {
	animation: stw-slideIn 0.5s ease-out forwards;
}

.stw-content-card:nth-child(2) { animation-delay: 0.1s; }
.stw-content-card:nth-child(3) { animation-delay: 0.2s; }
.stw-content-card:nth-child(4) { animation-delay: 0.3s; }
.stw-content-card:nth-child(5) { animation-delay: 0.4s; }

/* Accessibility improvements */
.stw-nav-item:focus,
.stw-nav-mobile-item:focus,
.stw-cta-button:focus {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.stw-wedding-wrapper {
		border: 2px solid rgba(255, 255, 255, 0.5);
	}
	
	.stw-content-card {
		border: 1px solid rgba(255, 255, 255, 0.4);
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.stw-content-card,
	.stw-nav-item,
	.stw-nav-mobile-item,
	.stw-cta-button {
		transition: none;
	}
	
	.stw-content-section {
		animation: none;
	}
}

/* FLAT DESIGN: Color Showcase Styles */
.stw-color-showcase {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2rem;
}

.stw-color-info {
	flex: 1;
}

.stw-color-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

.stw-color-swatch {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 3px solid #ffffff;
	margin-bottom: 0.75rem;
}

.stw-color-name {
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	text-align: center;
}

/* FLAT DESIGN: Color Palette Styles */
.stw-color-palette {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.stw-palette-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.stw-palette-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stw-palette-color {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	border: 2px solid #ffffff;
	flex-shrink: 0;
}

.stw-palette-info h5 {
	margin: 0 0 0.25rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #2c3e50;
}

.stw-palette-info span {
	color: #6c757d;
	font-size: 0.9rem;
	font-weight: 500;
}

/* Responsive adjustments for color elements */
@media (max-width: 768px) {
	.stw-color-showcase {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}
	
	.stw-color-palette {
		grid-template-columns: 1fr;
	}
	
	.stw-palette-item {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.stw-color-swatch {
		width: 60px;
		height: 60px;
	}
	
	.stw-palette-color {
		width: 50px;
		height: 50px;
	}
	
	.stw-palette-item {
		padding: 0.75rem;
		gap: 0.75rem;
	}
}

/* Print styles */
@media print {
	.stw-nav-sidebar,
	.stw-nav-mobile {
		display: none;
	}
	
	.stw-content-area {
		padding: 1rem;
	}
	
	.stw-content-card {
		break-inside: avoid;
		margin-bottom: 1rem;
	}
}