/* =========================
   RESET
========================= */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: #0b1220;
	color: #e5e7eb;
	line-height: 1.6;
}

/* =========================
   GLOBAL
========================= */

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 100px 0;
}

.section__title {
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	text-align: center;
	margin-bottom: 50px;
	position: relative;
}

.section__title::after {
	content: '';
	display: block;
	width: 70px;
	height: 4px;
	background: #3b82f6;
	margin: 15px auto 0;
	border-radius: 10px;
}

.text {
	font-size: 1rem;
	color: #cbd5e1;
	margin-bottom: 15px;
}

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

/* =========================
   NAVIGATION
========================= */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: rgba(11, 18, 32, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav__logo {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	font-size: 1.2rem;
	letter-spacing: 1px;
}

.nav__logo img {
	height: 60px;
	width: auto;
	display: block;
	filter: brightness(1.05);
	transition: 0.2s ease;
}

.nav__logo img:hover {
	transform: scale(1.05);
}

.nav__links {
	display: flex;
	gap: 20px;
}

.nav__link {
	color: #cbd5e1;
	text-decoration: none;
	font-weight: 500;
	transition: 0.2s;
	position: relative;
}

.nav__link:hover {
	color: #60a5fa;
}

.nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 1px;
	width: 0%;
	height: 2px;
	background: #3b82f6;
	transition: 0.2s;
}

.nav__link:hover::after {
	width: 100%;
}
/* MOBILE */
.nav__burger {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 28px;
	cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background:
		radial-gradient(circle at top, rgba(59, 130, 246, 0.25), transparent 40%),
		radial-gradient(circle at bottom, rgba(16, 185, 129, 0.15), transparent 50%), #0b1220;
	padding: 40px 20px;
}

.hero__container {
	max-width: 900px;
}

.hero__title {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	margin-bottom: 20px;
	font-weight: 800;
	letter-spacing: -1px;
}

.hero__text {
	font-size: 1.2rem;
	color: #cbd5e1;
	margin-bottom: 35px;
}

.hero__cta {
	display: inline-block;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: white;
	padding: 14px 28px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: 0.25s;
	box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.hero__cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(59, 130, 246, 0.35);
}

/* =========================
   CARDS - USŁUGI
========================= */

.services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.service-card {
	background: #111a2e;
	border: 1px solid rgba(59, 130, 246, 0.15);
	padding: 25px;
	border-radius: 16px;
	transition: 0.25s;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6, #10b981);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(59, 130, 246, 0.5);
}

.service-card__title {
	color: #60a5fa;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.service-card__text {
	color: #cbd5e1;
}

/* =========================
   TECHNOLOGIE
========================= */

.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
}

.tech-intro {
	max-width: 800px;
	margin: 0 auto 40px auto;
	color: #94a3b8;
	font-size: 1rem;
}

.tech-group {
	background: #111a2e;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 20px;
}

.tech-group__title {
	color: #60a5fa;
	font-size: 1.1rem;
	margin-bottom: 15px;
	text-align: center;
}

.tech-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tech-list__item {
	background: rgba(59, 130, 246, 0.08);
	padding: 10px;
	border-radius: 10px;
	text-align: center;
	transition: 0.2s;
}

.tech-list__item:hover {
	background: rgba(59, 130, 246, 0.18);
	transform: translateY(-2px);
}

/* =========================
   REALIZACJE
========================= */

.projects-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.projects-gallery img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
	transition: transform 0.3s ease;
}

.projects-gallery img:hover {
	transform: scale(1.03);
}

/* =========================
   AREA SECTION + MAP
========================= */

.map-wrapper {
	display: flex;
	justify-content: center;
}

.section--area {
	background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 60%);
}

.section--area iframe {
	width: 100%;
	max-width: 900px;
	height: 350px;
	margin: 30px auto 0 auto;
	display: block;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* =========================
   FAQ
========================= */

.faq__item {
	background: #111a2e;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
}

.faq__question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	background: transparent;
	border: none;
	color: #60a5fa;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
}

.faq__question:hover {
	color: #93c5fd;
}

.faq__icon {
	transition: transform 0.3s ease;
	color: #3b82f6;
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	color: #cbd5e1;
	transition:
		max-height 0.45s ease,
		padding 0.45s ease;
}

.faq__item.active .faq__answer {
	padding: 0 20px 18px 20px;
}

.faq__item.active .faq__icon {
	transform: rotate(180deg);
}

/* =========================
   KONTAKT
========================= */

.section--contact {
	background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12), transparent 60%);
}

.contact {
	text-align: center;
}

.contact__item {
	margin-bottom: 8px;
	color: #cbd5e1;
}

/* =========================
   FOOTER
========================= */

.footer {
	background: #0b1220;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 25px 20px;
	text-align: center;
	position: relative;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #3b82f6, transparent);
	opacity: 0.5;
}

.footer-text {
	color: #94a3b8;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
}

.footer-text span {
	color: #60a5fa;
	font-weight: 600;
}

.footer:hover .footer-text {
	color: #cbd5e1;
	transition: 0.4s;
}

/* =========================
   ANIMACJE
========================= */

.service-card,
.project-card,
.tech-list__item {
	will-change: transform;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
	.hero__title {
		font-size: 2.2rem;
	}

	.section {
		padding: 70px 0;
	}

	.nav__links {
		display: none;
		position: absolute;
		top: 65px;
		left: 0;
		width: 100%;
		flex-direction: column;
		background: rgba(11, 18, 32, 0.95);
		padding: 20px;
		gap: 15px;
	}

	.nav__links.active {
		display: flex;
	}

	.nav__burger {
		display: block;
	}

	.nav__logo img {
		height: 45px;
	}
}
