/* ===============================================
   Świat Platerów - Modern Professional CSS
   =============================================== */

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

:root {
	/* Colors */
	--primary-color: #1a2332;
	--primary-light: #2c3e50;
	--secondary-color: #8b7355;
	--accent-gold: #d4af37;
	--accent-copper: #b87333;
	--text-dark: #1e293b;
	--text-light: #64748b;
	--text-muted: #94a3b8;
	--bg-light: #f8fafc;
	--bg-white: #ffffff;
	--bg-cream: #fdfaf5;
	--border-color: #e2e8f0;
	--border-light: #f1f5f9;
	
	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow-md: 0 4px 20px rgba(0,0,0,0.08);
	--shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
	--shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
	
	/* Transitions */
	--transition-fast: 0.15s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;
	
	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 3rem;
	--spacing-xl: 4rem;
	
	/* Border Radius */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 16px;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: var(--bg-light);
	color: var(--text-dark);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
	color: var(--primary-color);
	margin-bottom: var(--spacing-sm);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	margin-bottom: var(--spacing-md);
}

h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: var(--spacing-md);
	font-weight: 700;
}

h3 {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	margin-bottom: var(--spacing-sm);
	font-weight: 600;
	color: var(--primary-light);
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-dark);
}

p {
	margin-bottom: var(--spacing-sm);
	color: var(--text-light);
	font-size: 1.0625rem;
	line-height: 1.8;
}

strong {
	font-weight: 600;
	color: var(--text-dark);
}

a {
	color: var(--secondary-color);
	text-decoration: none;
	transition: all var(--transition-base);
	font-weight: 500;
}

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

a:focus-visible {
	outline: 2px solid var(--accent-gold);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

/* Header */
header {
	background: var(--bg-white);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-light);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
}

.header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--spacing-sm) 0;
	gap: var(--spacing-md);
}

.logo {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	transition: transform var(--transition-base);
}

.logo:hover {
	transform: translateY(-2px);
}

.logo img {
	height: 50px;
	width: auto;
	object-fit: contain;
}

.logo-text {
	font-family: ui-serif, Georgia, serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	letter-spacing: -0.02em;
}

.language-switcher {
	display: flex;
	gap: var(--spacing-xs);
	background: var(--bg-light);
	padding: 6px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
}

.language-switcher a {
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	color: var(--text-light);
	font-weight: 500;
	font-size: 0.9375rem;
	transition: all var(--transition-fast);
}

.language-switcher a:hover {
	background: var(--bg-white);
	color: var(--primary-color);
}

.language-switcher a.active {
	background: var(--primary-color);
	color: var(--bg-white);
	box-shadow: var(--shadow-sm);
}

/* Navigation */
nav {
	background: var(--primary-color);
	box-shadow: var(--shadow-md);
}

.nav-links {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: var(--spacing-xs);
}

.nav-links li {
	list-style: none;
}

.nav-links li::before {
	content: none;
}

.nav-links a {
	display: block;
	padding: var(--spacing-sm) var(--spacing-md);
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	transition: all var(--transition-fast);
	border-radius: var(--radius-sm);
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 60%;
	height: 2px;
	background: var(--accent-gold);
	transition: transform var(--transition-base);
}

.nav-links a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--bg-white);
}

.nav-links a:hover::after {
	transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
	background: var(--accent-gold);
	color: var(--primary-color);
	font-weight: 600;
}

.nav-links a.active::after {
	display: none;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
	padding: var(--spacing-xl) 0;
	border-bottom: 1px solid var(--border-light);
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

.hero-text h1 {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: var(--spacing-md);
}

.hero-text p {
	font-size: 1.25rem;
	line-height: 1.8;
	color: var(--text-light);
	margin-bottom: 0;
}

.hero-image {
	position: relative;
}

.hero-image::before {
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-copper) 100%);
	border-radius: var(--radius-lg);
	z-index: -1;
	opacity: 0.15;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	display: block;
	transition: transform var(--transition-slow);
}

.hero-image img:hover {
	transform: scale(1.02);
	box-shadow: var(--shadow-hover);
}

/* Main Content */
main {
	background: var(--bg-white);
	border-radius: var(--radius-lg);
	margin: var(--spacing-lg) 0;
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.content-section {
	padding: var(--spacing-lg);
	border-bottom: 1px solid var(--border-light);
}

.content-section:last-child {
	border-bottom: none;
}

.content-section h2 {
	position: relative;
	padding-bottom: var(--spacing-sm);
	margin-bottom: var(--spacing-md);
}

.content-section h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-copper) 100%);
	border-radius: 2px;
}

/* Lists */
.content-section ul,
main ul {
	margin: var(--spacing-md) 0;
	padding-left: var(--spacing-md);
}

.content-section ul li,
main ul li {
	margin-bottom: var(--spacing-sm);
	padding-left: var(--spacing-sm);
	position: relative;
	list-style: none;
	color: var(--text-light);
	line-height: 1.8;
}

.content-section ul li::before,
main ul li::before {
	content: '◆';
	position: absolute;
	left: -8px;
	color: var(--accent-gold);
	font-size: 0.75rem;
}

.content-section ul ul {
	margin: var(--spacing-sm) 0;
	padding-left: var(--spacing-md);
}

/* Info Grid */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--spacing-md);
	margin: var(--spacing-md) 0;
}

.info-card {
	background: var(--bg-cream);
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	transition: all var(--transition-base);
}

.info-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--accent-gold);
}

.info-card h3 {
	color: var(--secondary-color);
	margin-bottom: var(--spacing-sm);
	font-size: 1.25rem;
}

/* Info Table */
.info-table {
	background: var(--bg-cream);
	border-radius: var(--radius-md);
	padding: var(--spacing-md);
	border: 1px solid var(--border-color);
	margin: var(--spacing-md) 0;
}

.info-table h3 {
	color: var(--secondary-color);
	margin-bottom: var(--spacing-md);
	font-size: 1.5rem;
}

.info-table table {
	width: 100%;
	border-collapse: collapse;
}

.info-table td {
	padding: var(--spacing-sm);
	border-bottom: 1px solid var(--border-light);
	color: var(--text-light);
	line-height: 1.6;
}

.info-table td:first-child {
	font-weight: 600;
	color: var(--text-dark);
	width: 40%;
}

.info-table tr:last-child td {
	border-bottom: none;
}

/* Contact Grid */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-md);
	margin: var(--spacing-md) 0;
}

.contact-card {
	background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	transition: all var(--transition-base);
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--accent-gold);
}

.contact-card h3 {
	color: var(--secondary-color);
	margin-bottom: var(--spacing-sm);
	font-size: 1.125rem;
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
}

.contact-card p {
	margin-bottom: 0;
	line-height: 1.8;
}

.contact-card a {
	color: var(--secondary-color);
	font-weight: 500;
	transition: all var(--transition-fast);
}

.contact-card a:hover {
	color: var(--accent-gold);
	text-decoration: underline;
}

/* Map Container */
.map-container {
	display: block;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-base);
	border: 3px solid var(--border-light);
}

.map-container:hover {
	box-shadow: var(--shadow-hover);
	transform: scale(1.02);
	border-color: var(--accent-gold);
}

.map-container iframe,
.map-container img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 400px;
	border: none;
}

/* Footer */
footer {
	background: var(--primary-color);
	color: rgba(255, 255, 255, 0.8);
	padding: var(--spacing-lg) 0;
	margin-top: var(--spacing-xl);
	text-align: center;
	border-top: 4px solid var(--accent-gold);
}

footer p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 968px) {
	.container {
		padding: 0 var(--spacing-sm);
	}
	
	.hero-content {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
	
	.hero-image::before {
		display: none;
	}
	
	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.info-grid {
		grid-template-columns: 1fr;
	}
	
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	:root {
		--spacing-lg: 2rem;
		--spacing-xl: 2.5rem;
	}
	
	.header-wrapper {
		flex-direction: column;
		gap: var(--spacing-sm);
		text-align: center;
	}
	
	.logo-text {
		font-size: 1.25rem;
	}
	
	.nav-links a {
		padding: var(--spacing-xs) var(--spacing-sm);
		font-size: 0.875rem;
	}
	
	.hero {
		padding: var(--spacing-md) 0;
	}
	
	.content-section {
		padding: var(--spacing-md);
	}
	
	.map-container iframe,
	.map-container img {
		min-height: 300px;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 15px;
	}
	
	.logo img {
		height: 40px;
	}
	
	.language-switcher a {
		padding: 6px 12px;
		font-size: 0.875rem;
	}
	
	.nav-links a {
		font-size: 0.8125rem;
	}
	
	.info-card,
	.contact-card {
		padding: var(--spacing-sm);
	}
}

/* Print Styles */
@media print {
	header,
	nav,
	footer,
	.language-switcher {
		display: none;
	}
	
	body {
		background: white;
	}
	
	main {
		box-shadow: none;
		margin: 0;
	}
	
	.hero-image::before {
		display: none;
	}
	
	a {
		color: var(--text-dark);
		text-decoration: underline;
	}
	
	.map-container {
		border: 1px solid #ccc;
	}
}
