* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.5rem 3rem;
}

.nav-logo a {
	text-decoration: none;
	font-size: 1.8rem;
	font-weight: 700;
	color: #1e293b;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.nav-logo a:hover {
	color: #334155;
	transform: scale(1.05);
}

.nav-logo-img {
	height: 40px;
	width: auto;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo-img:hover {
	transform: scale(1.05);
	opacity: 0.9;
}

.nav-menu {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 3rem;
}

.nav-menu li {
	display: inline-block;
}

.nav-menu li a {
	text-decoration: none;
	color: #1e293b;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
	padding: 0.5rem 0;
}

.nav-menu li a:hover {
	color: #334155;
}

.nav-menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #334155 0%, #475569 100%);
	transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
	width: 100%;
}

.nav-language {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-language a {
	text-decoration: none;
	color: #64748b;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	transition: all 0.3s ease;
	letter-spacing: 0.5px;
}

.nav-language a:hover {
	color: #1e293b;
	background: #f1f5f9;
}

.nav-language a.lang-active {
	color: #1e293b;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
}

.lang-separator {
	color: #cbd5e1;
	font-weight: 300;
}

/* Hamburger Menu */
.hamburger {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
	gap: 5px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: #1e293b;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-lang {
	display: none !important;
}

body.menu-open {
	overflow: hidden;
}

/* Hero Section */
.hero {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	width: 100%;
	max-width: 100vw;
	background: linear-gradient(135deg, #1e1e1e, #333);
	color: #fff;
	text-align: center;
	position: relative;
	overflow: hidden;
	padding: 2rem 1rem;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: 
		radial-gradient(circle at 20% 50%, rgba(71, 85, 105, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(100, 116, 139, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(51, 65, 85, 0.1) 0%, transparent 50%);
	animation: flowingGradient 15s ease-in-out infinite;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
	opacity: 0.5;
}

@keyframes flowingGradient {
	0%, 100% {
		transform: translate(0%, 0%) rotate(0deg);
	}
	33% {
		transform: translate(30%, -20%) rotate(120deg);
	}
	66% {
		transform: translate(-20%, 30%) rotate(240deg);
	}
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	position: relative;
	z-index: 1;
	max-width: 100%;
	padding: 0 1rem;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero h1 {
	font-size: 4rem;
	margin-bottom: 1rem;
	font-weight: 700;
	background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	margin-top: 0rem;
	opacity: 0.9;
	color: #e2e8f0;
	font-weight: 300;
	letter-spacing: 0.5px;
}

.services_link,
.services_link h3 {
  text-decoration: none !important;
}

.services_link:hover,
.services_link:hover h3 {
  text-decoration: none !important;
}

.portfolio-image h3 {
  text-decoration: none !important;
}


.cta-button {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: linear-gradient(135deg, #334155 0%, #475569 100%);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 10px 40px rgba(51, 65, 85, 0.3);
	position: relative;
	overflow: hidden;
	z-index: 10;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s ease;
}

.cta-button:hover::before {
	left: 100%;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 50px rgba(51, 65, 85, 0.5);
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Section Styles */
section {
	padding: 5rem 2rem;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

#about {
	background: #ffffff;
}

#services {
	background: #f8fafc;
}

#portfolio {
	background: #ffffff;
}

#contact {
	background: #f8fafc;
}

section h2 {
	font-size: 2.5rem;
	margin-bottom: 3rem;
	text-align: center;
	color: #333;
	position: relative;
}

section h2::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	margin: 1rem auto 0;
	border-radius: 2px;
}

/* About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	width: 100%;
	max-width: 100%;
}

.about-text p {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	color: #555;
}

.about-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.profile-photo-container {
	position: relative;
	width: 350px;
	height: 350px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.profile-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.logo-photo-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;  
	height: auto;
	gap: 10px;
	pointer-events: none;
}

.logo {
	width: 40%;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.photo-icon {
	width: 80px;
	height: 80px;
	margin-bottom: 1rem;
}

.photo-placeholder p {
	font-size: 1.2rem;
	font-weight: 500;
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	width: 100%;
	max-width: 100%;
}

.service-card {
	padding: 2rem;
	background: white;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	text-align: center;
	cursor: pointer;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
	color: white;
}

.service-card h3 {
	margin-bottom: 1rem;
	color: #333;
}

.service-card p {
	color: #666;
	line-height: 1.8;
}

/* Portfolio Section */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	width: 100%;
	max-width: 100%;
}

.portfolio-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: white;
	border: 1px solid #e2e8f0;
}

.portfolio-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(51, 65, 85, 0.12);
	border-color: #475569;
}

.portfolio-image {
	width: 100%;
	height: 300px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	position: relative;
	overflow: hidden;
}

.portfolio-image::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(51, 65, 85, 0.05) 0%, transparent 70%);
	animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.portfolio-icon-container {
	position: relative;
	z-index: 2;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #334155 0%, #475569 100%);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: 0 10px 30px rgba(51, 65, 85, 0.2);
	transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-icon-container {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 15px 40px rgba(51, 65, 85, 0.35);
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.portfolio-icon {
	width: 50px;
	height: 50px;
	color: white;
	stroke-width: 2;
}

.portfolio-image h3 {
	position: relative;
	z-index: 2;
	font-size: 1.3rem;
	font-weight: 600;
	color: #1e293b;
	text-align: center;
	margin: 0;
	padding: 0 1rem;
}

.portfolio-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
	padding: 1rem;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
	transform: translateY(0);
}

.portfolio-overlay p {
	color: #e2e8f0;
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;	
	text-align: center;
}

/* Project section */
.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	width: 100%;
	max-width: 100%;
}

.project-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: white;
	border: 1px solid #e2e8f0;
}

.project-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(51, 65, 85, 0.12);
	border-color: #475569;
}

.project-image {
	width: 100%;
	height: 300px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2rem;
	position: relative;
	overflow: hidden;
}

.project-image::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(51, 65, 85, 0.05) 0%, transparent 70%);
	animation: rotateGradient 15s linear infinite;
}

.project-icon-container {
	position: relative;
	z-index: 2;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #334155 0%, #475569 100%);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: 0 10px 30px rgba(51, 65, 85, 0.2);
	transition: all 0.4s ease;
}

.project-item:hover .project-icon-container {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 15px 40px rgba(51, 65, 85, 0.35);
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.project-image h3 {
	position: relative;
	z-index: 2;
	font-size: 1.3rem;
	font-weight: 600;
	color: #1e293b;
	text-align: center;
	margin: 0 0 1rem 0;
	padding: 0 1rem;
	line-height: 1.4;
}

.project-image p {
	position: relative;
	z-index: 2;
	font-size: 0.95rem;
	font-weight: 400;
	color: #475569;
	text-align: center;
	margin: 0;
	padding: 0 1.5rem;
	line-height: 1.6;
	max-width: 100%;
}

.project-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
	padding: 1.5rem;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-overlay {
	transform: translateY(0);
}

.project-overlay p {
	color: #e2e8f0;
	font-size: 0.95rem;
	line-height: 1.7;
	margin: 0;
	text-align: center;
}

.portfolio-item.style-2 .portfolio-image {
	background: white;
	border-bottom: 3px solid #e2e8f0;
}

.portfolio-item.style-2:hover .portfolio-image {
	border-bottom-color: #475569;
}

/* Contact Section */
.contact-content {
	max-width: 600px;
	margin: 0 auto;
	width: 100%;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem;
	transition: all 0.3s ease;
	border-radius: 10px;
}

.contact-info-item:hover {
	background: #f8fafc;
	transform: translateX(5px);
}

.contact-icon {
	width: 24px;
	height: 24px;
	color: #334155;
	flex-shrink: 0;
}

.contact-info-item a {
	color: #334155;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.contact-info-item a:hover {
	color: #1e293b;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 0.5rem;
	color: #333;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	padding: 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
	font-family: inherit;
	width: 100%;
	box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #334155;
}

.form-group textarea {
	resize: vertical;
	min-height: 150px;
}

.submit-button {
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #334155 0%, #475569 100%);
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 20px rgba(51, 65, 85, 0.2);
}

.submit-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(51, 65, 85, 0.4);
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Footer */
footer {
	background: #2c3e50;
	color: white;
	text-align: center;
	padding: 2rem;
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.social-links a {
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: #667eea;
}

body.modal-open {
	overflow: hidden;
	height: 100vh;
}

.modal-open {
	overflow: hidden;
	touch-action: none;
}

/* Modal Styles - USUNIĘCIE OBRAMÓWKI FOCUS */
.portfolio-modal,
.project-modal {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	overflow: hidden;
	transition: opacity 0.3s ease;
	opacity: 0;
}

.project-modal-content,
.portfolio-modal-content {
	position: relative;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	margin: 8% auto;
	padding: 3rem 2.5rem;
	width: 90%;
	display: flex;
	flex-direction: column;
	max-width: 700px;
	min-height: 400px;
	border-radius: 25px;
	box-shadow: 
		0 25px 80px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.1) inset;
	animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
	border: 1px solid rgba(51, 65, 85, 0.1);
	overflow: hidden;
	max-height: 90vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	/* USUNIĘCIE OBRAMÓWKI FOCUS */
	outline: none;
}

/* Upewnij się, że focus outline jest usunięty */
.project-modal-content:focus,
.portfolio-modal-content:focus {
	outline: none !important;
	border-color: rgba(51, 65, 85, 0.1) !important;
}

.portfolio-modal-content::before,
.project-modal-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
	background-size: 200% 100%;
	animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes modalSlideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.project-modal-content .project-modal-close,
.portfolio-modal-content .portfolio-modal-close {
	position: sticky;
	top: 10px;
	align-self: flex-end;
	margin-right: 5px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #9c9c9c;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 500;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid white;
	z-index: 200;
}

.portfolio-modal-close:hover,
.project-modal-close:hover {
	background: #797979;
	transform: rotate(90deg);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-modal-content h3,
.project-modal-content h3 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	margin-top: 0.5rem;
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
	letter-spacing: -0.5px;
	position: relative;
	padding-bottom: 1rem;
	text-align: center;
}

.portfolio-modal-content h3::after,
.project-modal-content h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #334155 0%, #475569 100%);
	border-radius: 2px;
}

.portfolio-modal-content p,
.portfolio-modal-content div,
.project-modal-content p,
.project-modal-content div {
	font-size: 1.15rem;
	line-height: 1.9;
	color: #475569;
	font-weight: 400;
}


/* RESPONSYWNOŚĆ MOBILNA */
@media (max-width: 768px) {
	body, html {
		overflow-x: hidden;
		max-width: 100vw;
		width: 100%;
	}

	.nav-container {
		width: 100%;
		max-width: 100%;
		padding: 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
		box-sizing: border-box;
	}

	.nav-logo {
		flex-shrink: 0;
	}

	.nav-logo-img {
		width: 120px;
		height: auto;
		display: block;
	}

	.hamburger {
		display: flex;
		order: 3;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: white;
		flex-direction: column;
		gap: 0;
		margin: 0;
		padding: 5rem 2rem 2rem;
		box-sizing: border-box;
		box-shadow: -5px 0 15px rgba(0,0,0,0.1);
		transition: right 0.3s ease;
		z-index: 1000;
		overflow-y: auto;
	}

	.nav-menu.active {
		right: 0;
	}

	.nav-menu li {
		width: 100%;
		border-bottom: 1px solid #f1f5f9;
	}

	.nav-menu li a {
		display: block;
		padding: 1rem 0;
		width: 100%;
	}

	.nav-language {
		display: none !important;
	}

	.mobile-lang {
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		margin-top: 2rem;
		padding-top: 2rem;
		border-top: 2px solid #e2e8f0;
		border-bottom: none;
	}

	.mobile-lang a {
		padding: 0.5rem 0.75rem !important;
	}

	.hero {
		min-height: 100vh;
		padding: 6rem 1rem 2rem;
	}

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

	.hero p {
		font-size: 1.2rem;
	}

	.cta-button {
		padding: 0.9rem 2rem;
		font-size: 1rem;
	}

	section {
		padding: 3rem 1rem;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}

	section h2 {
		font-size: 2rem;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.profile-photo-container {
		width: 100%;
		max-width: 280px;
		height: auto;
		aspect-ratio: 1;
		margin: 0 auto;
	}

	.portfolio-grid,
	.project-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		width: 100%;
		max-width: 100%;
	}

	.portfolio-image,
	.project-image {
		height: 250px;
		padding: 1.5rem;
	}

	.portfolio-icon-container,
	.project-icon-container {
		width: 80px;
		height: 80px;
	}

	.portfolio-icon,
	.project-icon {
		width: 40px;
		height: 40px;
	}

	.portfolio-image h3,
	.project-image h3 {
		font-size: 1.2rem;
	}

	.project-image p {
		font-size: 0.9rem;
		padding: 0 1rem;
	}

	.contact-content {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}

	.contact-info {
		padding: 1.5rem;
		gap: 1rem;
		margin-bottom: 2rem;
	}

	.contact-info-item a {
		font-size: 1rem;
	}

	.contact-icon {
		width: 20px;
		height: 20px;
	}

	.portfolio-modal-content,
	.project-modal-content {
		margin: 5% auto;
		padding: 2rem 1.5rem;
		width: 95%;
		max-width: 95vw;
		max-height: 85vh;
	}

	.portfolio-modal-content h3,
	.project-modal-content h3 {
		font-size: 1.8rem;
	}

	.portfolio-modal-content p,
	.portfolio-modal-content div,
	.project-modal-content p,
	.project-modal-content div {
		font-size: 1rem;
		line-height: 1.7;
	}

	footer {
		padding: 2rem 1rem;
	}
	
@media (max-width: 600px) {
	.hero h1 {
		font-size: 2rem;
	}

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

	.profile-photo-container {
		max-width: 220px;
	}

	section {
		padding: 2rem 1rem;
	}

	.portfolio-image,
	.project-image {
		height: 220px;
		padding: 1.2rem;
	}

	.portfolio-icon-container,
	.project-icon-container {
		width: 70px;
		height: 70px;
		margin-bottom: 1rem;
	}

	.portfolio-icon,
	.project-icon {
		width: 35px;
		height: 35px;
	}

	.portfolio-image h3,
	.project-image h3 {
		font-size: 1.1rem;
	}

	.project-image p {
		font-size: 0.85rem;
	}

	.cta-button {
		padding: 0.8rem 1.5rem;
		font-size: 0.95rem;
	}

	.contact-info {
		padding: 1.2rem;
		gap: 0.8rem;
	}

	.contact-info-item a {
		font-size: 0.9rem;
	}

	.contact-icon {
		width: 18px;
		height: 18px;
	}

	.portfolio-modal-content,
	.project-modal-content {
		padding: 1.5rem 1rem;
		margin: 3% auto;
	}

	.portfolio-modal-content h3,
	.project-modal-content h3 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.project-modal-content .project-modal-close,
	.portfolio-modal-content .portfolio-modal-close {
		width: 35px;
		height: 35px;
		font-size: 1.3rem;
	}
}

/* ===== LATEST ARTICLES SECTION ===== */
section#latest-articles {
    padding: 5rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    box-sizing: border-box;
}

section#latest-articles h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
    position: relative;
}

section#latest-articles h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Wrapper dla artykułów - FLEXBOX */
.articles-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}

/* Pojedynczy link artykułu */
.articles-wrapper .article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: calc(33.333% - 14px);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.articles-wrapper .article-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: #475569;
}

/* Header z obrazkiem */
.articles-wrapper .article-card-header {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

.articles-wrapper .article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.articles-wrapper .article-link:hover .article-card-image {
    transform: scale(1.05);
}

/* Data */
.articles-wrapper .article-card-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(51, 65, 85, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* Body z tytułem */
.articles-wrapper .article-card-body {
    padding: 1.5rem;
    background: white;
}

.articles-wrapper .article-card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    color: #1e293b;
    font-weight: 600;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1024px) {
    .articles-wrapper .article-link {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    section#latest-articles {
        padding: 3rem 1rem;
    }
    
    .articles-wrapper {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .articles-wrapper .article-link {
        width: 100%;
    }
    
    .articles-wrapper .article-card-header {
        height: 180px;
    }
    
    section#latest-articles h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}


