﻿/* Plik: style.css */
/* Zmienne CSS dla łatwej edycji */
:root {
	--primary-color: #007BFF;
	--secondary-color: #333;
	--background-color: #f4f4f4;
	--text-color: #555;
	--white: #fff;
	--font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
	font-family: var(--font-family);
	margin: 0;
	padding: 0;
	background-color: var(--background-color);
	color: var(--text-color);
	line-height: 1.6;
}
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}
.intro-text-section {
	padding: 50px 20px;
	text-align: center;
}
.intro-text-section h2 {
	font-size: 2.5rem;
	color: #2c3e50;
	margin-bottom: 20px;
}
.intro-text-section p {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
}
/* Nagłówek i Nawigacja */
.main-header {
	background-color: var(--white);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar {
	padding: 1rem 0;
}
.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--primary-color);
	text-decoration: none;
}
.nav-links {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}
.nav-links li {
	margin-left: 20px;
}
.nav-links a {
	text-decoration: none;
	color: var(--secondary-color);
	font-weight: bold;
	transition: color 0.3s ease;
}
.nav-links a:hover {
	color: var(--primary-color);
}
/* Sekcje Strony */
/* Nowe style dla responsywnego menu językowego */
.lang-links {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap; /* Kluczowa zmiana: pozwala na zawijanie linków */;
	padding: 10px 0;
	margin: 0;
	border-top: 1px solid #ddd;
	background-color: #f8f8f8;
}
.lang-links li a {
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	color: #555;
	font-weight: bold;
	font-size: 0.9em;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: background-color 0.3s;
}
.lang-links li a:hover {
	background-color: #eee;
	color: #333;
}
.lang-links li a.active {
	background-color: #ddd;
	color: #000;
}
/* Zapytanie mediów dla małych ekranów */
@media (max-width: 768px) {
.lang-links {
	padding: 5px;
}
.lang-links li a {
	font-size: 0.8em;
	padding: 3px 6px;
}
}
section {
	padding: 60px 0;
}
.hero-section {
	text-align: center;
	background-color: var(--primary-color);
	color: var(--white);
	padding: 100px 0;
}
.hero-section h1 {
	font-size: 3.5rem;
	margin-bottom: 10px;
}
.hero-section .subtitle {
	font-size: 1.5rem;
	margin-top: 0;
}
.cta-button {
	background-color: var(--secondary-color);
	color: var(--white);
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease;
}
.cta-button:hover {
	background-color: #555;
}
.intro-section, .content-section {
	background-color: var(--white);
	text-align: center;
}
.page-header {
	background-color: var(--secondary-color);
	color: var(--white);
	text-align: center;
	padding: 60px 0;
}
.page-header h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2rem;
	color: var(--secondary-color);
	margin-bottom: 20px;
}
p {
	font-size: 1rem;
	max-width: 800px;
	margin: 0 auto 20px;
}
.manifest-list {
	text-align: left;
	list-style: decimal;
	padding-left: 20px;
}
.manifest-list li {
	margin-bottom: 20px;
}
.content-image {
	max-width: 100%;
	height: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.feature-grid, .project-card, .blog-post {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.feature-item, .project-card, .blog-post {
	background-color: var(--background-color);
	padding: 30px;
	border-radius: 8px;
	text-align: left;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.project-card, .blog-post {
	display: block;
	max-width: 800px;
}
.read-more {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: bold;
}
/* Stopka */
.main-footer {
	background-color: var(--secondary-color);
	color: var(--white);
	text-align: center;
	padding: 20px 0;
}
/* Responsywność dla urządzeń mobilnych (Mobile-First) */
/* Hamburger menu dla małych ekranów */
.nav-toggle {
	display: none;
	font-size: 2rem;
	cursor: pointer;
}
@media (max-width: 768px) {
.nav-links {
	display: none;
	flex-direction: column;
	width: 100%;
	text-align: center;
	background: #fff;
	position: absolute;
	top: 80px; /* Zmienić, jeśli wysokość headera jest inna */;
	left: 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 10;
	padding: 10px 0;
}
.nav-links.active {
	display: flex;
}
.nav-links li {
	margin: 10px 0;
}
.nav-toggle {
	display: block;
}
.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
}
