@charset "UTF-8";
/* ==========================================================================
   1. ZMIENNE I KONFIGURACJA (ROOT)
   ========================================================================== */
:root {
	--gray: #e8e9e1;
	--gold: #9a9162;
	--gradient: linear-gradient(180deg, #9a9162 0%, #827d63 100%);
	--black: #3a3a38;
	--white: #ffffff;
	--font-primary: 'DM Serif Display', serif;
	--font-secondary: 'Montserrat', sans-serif;
}

/* ==========================================================================
   2. RESET I STYLE GLOBALNE
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-padding-top: 140px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-secondary), sans-serif;
	line-height: 1.6;
	color: var(--black);
}

img {
	max-width: 100%;
	display: block;
}

/* ==========================================================================
   3. KOMPONENTY WSPÓLNE (LAYOUT & UI)
   ========================================================================== */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}
.container .box {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
}
.container.flex {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	gap: 40px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	align-items: center;
}

.section-title {
	position: relative;
	font-family: var(--font-primary);
	color: var(--black);
	text-align: center;
	margin-bottom: 40px;
	font-size: 2rem;
	text-transform: lowercase;
}
.section-title:first-letter {
	text-transform: uppercase;
}
.section-title::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background-color: var(--gold);
}

.btn {
	display: inline-block;
	background: var(--gold);
	color: var(--white);
	font-size: 20px;
	padding: 15px 60px;
	text-decoration: none;
	margin-top: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.432);
	text-transform: uppercase;
	transition: background 0.3s;
}
.btn:hover {
	background: #a38548;
}

.backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out;
	z-index: 900;
}
.backdrop.active {
	opacity: 1;
	visibility: visible;
}

.line {
	width: 2px;
	background-color: var(--black);
}

/* ==========================================================================
   4. NAWIGACJA
   ========================================================================== */
.contact-nav {
	background-color: var(--gold);
	color: var(--white);
	padding: 8px 0;
	font-size: 14px;
	height: 40px;
	text-decoration: none;
}
.contact-nav a {
	color: var(--white);
}

.navbar {
	position: sticky;
	top: 0;
	background-color: var(--white);
	color: var(--black);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.432);
	z-index: 1000;
}
.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.navbar .menu-nav {
	padding: 10px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 30px;
	text-decoration: none;
	color: var(--black);
}
.logo a {
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2rem;
	text-transform: uppercase;
}
.logo span {
	display: block;
	font-size: 0.9rem;
}
.logo img {
	height: 80px;
}

.name {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}
.name .upper-name {
	font-weight: 300;
}
.name .upper-name.nav-title {
	font-size: 16px;
}
.name .lower-name {
	font-family: var(--font-primary);
	font-weight: 500;
}
.name .lower-name.nav-title {
	font-size: 20px;
}

.nav-links {
	display: flex;
	list-style: none;
}
.nav-links li a {
	color: var(--black);
	text-decoration: none;
	padding: 10px;
	margin-left: 20px;
	font-size: 0.9rem;
	transition: color 0.3s;
}
.nav-links li a:hover {
	color: var(--gold);
}

.hamburger {
	display: none;
	cursor: pointer;
	font-size: 1.5rem;
}

/* ==========================================================================
   5. SEKTY HERO
   ========================================================================== */
.hero {
	height: calc(100vh - 160px);
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-img.jpeg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
}
.hero .hero-content h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	max-width: 800px;
}

.hero-second {
	height: 350px;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-second.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	font-family: var(--font-primary);
}
.hero-second h2 {
	font-weight: 300;
	font-size: 40px;
}

/* ==========================================================================
   6. SEKTY TREŚCI (O NAS, USŁUGI, KONTAKT)
   ========================================================================== */
section {
	padding: 50px 0;
}
section.section-gray {
	background-color: var(--gray);
}

.text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: justify;
}

.about-image,
.about-text {
	flex: 1;
}

.about-image {
	display: none;
}
.about-image img {
	width: 100%;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services */
.services {
	background-color: var(--white);
	padding: 80px 0;
}

.services-box {
	margin: 0 auto;
	display: grid;
	justify-items: center;
	grid-template-columns: 1fr;
	gap: 30px;
	padding: 20px 0;
}

.service-card {
	position: relative;
	background: var(--gradient);
	color: var(--white);
	padding: 40px;
	max-width: 500px;
	border-radius: 30px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.service-card img {
	opacity: 0.3;
	position: absolute;
	top: 10px;
	right: 10px;
	object-fit: cover;
}
.service-card h2 {
	position: relative;
	margin-bottom: 20px;
	padding-bottom: 20px;
}
.service-card h2::after {
	/* Poprawiono: dodano & */
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	width: 50%;
	height: 1px;
	background: var(--white);
}
.service-card .first-subtitle {
	font-size: 1.2rem;
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0;
}
.service-card .second-subtitle {
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 800;
	margin: 0;
	line-height: 1;
}
.service-card .description {
	font-size: 0.95rem;
	line-height: 1.5;
	margin-bottom: 25px;
	text-align: left;
}
.service-card ul {
	list-style: none;
	padding: 0;
}
.service-card ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 15px;
	font-size: 0.9rem;
	line-height: 1.4;
}
.service-card ul li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: var(--white);
}
.service-card ul li strong {
	font-weight: 700;
}

/* Kontakt i Mapa */
.contact .text {
	text-align: center;
}
.contact .text a {
	color: var(--black);
}

.map iframe {
	width: 100%;
	height: 400px;
	filter: grayscale(0.8);
	transition: filter 0.3s ease-in-out;
}
.map iframe:hover {
	filter: grayscale(0);
}

/* Stopka */
footer {
	display: flex;
	background: var(--primary-color); /* Uwaga: --primary-color nie jest zdefiniowane w :root */
	color: var(--black);
	font-family: var(--font-primary);
	text-align: center;
	padding: 20px 0;
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 20px;
}

.footer a {
	color: var(--black);
	transition: color 0.3s;
}

.footer a:hover {
	color: var(--gold);
}

/* ==========================================================================
   7. MEDIA QUERIES
   ========================================================================== */
/* Tablety i laptopy */

@media (min-width: 768px) {
	.service-card .second-subtitle {
		font-size: 24px;
	}

	.about-image {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}
@media (max-width: 768px) {
	.line {
		display: none;
	}
}
/* Mobile */
@media (max-width: 768px) {
	.contact-nav {
		display: none;
	}
	.lower-name.nav-title {
		font-size: 16px;
	}
	.upper-name.nav-title {
		font-size: 14px;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.container.flex {
		flex-direction: column;
		align-items: center;
	}
	.about-text {
		width: 100%;
	}
	.nav-links {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--gold);
		padding: 0;
		text-align: center;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease-in-out;
		z-index: 1001;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	}
	.nav-links.active {
		max-height: 400px;
		padding: 20px 0;
		opacity: 1;
		visibility: visible;
	}
	.nav-links li {
		margin: 15px 0;
	}
	.nav-links li a {
		color: var(--black);
		font-weight: 600;
		font-size: 1.1rem;
		margin: 0;
	}
	.hamburger {
		display: block;
		padding: 20px;
		z-index: 1002;
	}
	.hero {
		background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-img-mobile.jpg');
		background-size: cover;
	}
	.hero .hero-content h1 {
		font-size: 1.8rem;
	}
	.hero-second h2 {
		font-size: 24px;
	}
}
/* Desktop (Grid dla usług) */
@media (min-width: 768px) {
	.services-box {
		grid-template-columns: repeat(2, 1fr);
	}
}
