﻿/* Critical CSS – zminifikowany */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: system-ui,'Segoe UI',Roboto,sans-serif;
	background: #fef9ef;
	color: #2e3b2c;
	line-height: 1.5;
}
h1, h2, h3 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: .75rem;
}
h1 {
	font-size: 2rem;
	text-align: center;
	margin: 1rem auto;
	max-width: 1100px;
	padding: 0 1rem;
	color: #2c5e2a;
}
@media(min-width:768px){
h1 {
	font-size: 2.5rem;
}
}
h2 {
	font-size: 1.8rem;
	color: #3c7a2b;
	padding-left: 1rem;
	margin-bottom: 1.5rem;
}
h3 {
	font-size: 1.4rem;
	color: #2a5a1e;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}
.slider-container {
	position: relative;
	margin: 1rem 0;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.slider {
	display: flex;
	transition: transform .5s ease;
}
.slide {
	flex: 0 0 100%;
}
.slide img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16/9;
	object-fit: cover;
}
img:after {
    content: attr(alt);
    display: block;
    background: #f0f0f0;
    padding: 10px;
    font-size: 14px;
    color: #333;
}
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,.5);
	color: #fff;
	border: none;
	font-size: 2rem;
	padding: 0 1rem;
	cursor: pointer;
	z-index: 10;
	border-radius: .25rem;
}
.prev {
	left: 10px;
}
.next {
	right: 10px;
}
.tresc {
	background: #ffffcc;
	padding: 1.5rem;
	border-radius: 1rem;
	margin: 1rem 0;
	line-height: 1.6;
}
.offer-link {
	display: inline-block;
	margin-top: 1rem;
	background: #3a6b2a;
	color: #fff;
	padding: .6rem 1.2rem;
	border-radius: 2rem;
	text-decoration: none;
	font-weight: 500;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}
.gallery-grid a {
	border-radius: .75rem;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,.1);
}
.gallery-grid img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	display: block;
}
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin: 1rem 0;
	border-radius: 1rem;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.contact-info {
	background: #eef3e3;
	padding: 1.5rem;
	border-radius: 1rem;
	margin: 2rem auto; /* wyśrodkowanie bloku w poziomie */;
	max-width: 800px; /* opcjonalnie – ograniczenie szerokości dla czytelności */;
	text-align: center;  /* wyśrodkowanie tekstu wewnątrz */
}
.contact-info p {
	margin: 0.5rem 0;
	display: flex;
	align-items: center;
	justify-content: center; /* wyśrodkowanie elementów w linii */;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.contact-info a {
	color: #1f4a18;
	text-decoration: none;
	font-weight: 500;
}
.lang-menu {
	background: #2a5a1e;
	padding: 1rem 0;
	margin: 2rem 0 0;
}
.lang-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	list-style: none;
}
.lang-list li a {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	background: #fef9ef;
	padding: .3rem .8rem;
	border-radius: 2rem;
	text-decoration: none;
	color: #1a4a10;
	font-size: .9rem;
}
.lang-list img {
	width: 18px;
	height: auto;
}
.map {
	width: 100%;
	height: 300px;
	border: 0;
	border-radius: 1rem;
	margin: 1rem 0;
	background: #eef3e3;
}
footer {
	background: #1e3a1a;
	color: #f0f7e6;
	padding: 2rem 1rem;
	text-align: center;
	margin-top: 2rem;
}
footer a {
	color: #e9f5da;
	text-decoration: underline;
}
.social-panel {
	position: fixed;
	right: 0;
	top: 30%;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	z-index: 99;
}
.social-item {
	background: #4c7a2c;
	padding: .5rem;
	border-radius: .5rem 0 0 .5rem;
	text-align: center;
}
.social-item a {
	color: #fff;
	text-decoration: none;
	font-size: 1.2rem;
	display: inline-block;
	width: 32px;
}
@media(max-width:768px){
h2 {
	font-size: 1.5rem;
}
.gallery-grid {
	grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
}
.lang-list li a {
	font-size: .7rem;
	padding: .2rem .5rem;
}
.social-panel {
	top: auto;
	bottom: 20%;
}
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.9);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.modal img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}
.modal.active {
	display: flex;
}
/* Dodatkowe style dla sekcji definicji i FAQ – zachowują spójność z resztą strony */
.definicje, .faq {
	margin: 3rem 0;
	scroll-margin-top: 80px;
}
.definicje h2, .faq h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #1a2a2f;
	border-left: 5px solid #b23c1c;
	padding-left: 1rem;
}
.definicje-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}
.definicje-item {
	background: #faf9f7;
	border-radius: 1rem;
	padding: 1rem 1.2rem;
	border: 1px solid #e9ece8;
	transition: 0.2s;
}
.definicje-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}
.definicje-item h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #b23c1c;
}
.definicje-item p {
	font-size: 0.9rem;
	color: #4a5b62;
	line-height: 1.4;
}
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.faq-item {
	background: white;
	border: 1px solid #e9ece8;
	border-radius: 1rem;
	overflow: hidden;
	transition: 0.2s;
}
.faq-question {
	background: #faf9f7;
	padding: 1rem 1.2rem;
	font-weight: 600;
	font-size: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}
.faq-question::after {
	font-size: 0.8rem;
	transition: transform 0.2s;
	color: #b23c1c;
}
.faq-item.open .faq-question::after {
	transform: rotate(180deg);
}
@media (max-width: 600px) {
.definicje-list {
	grid-template-columns: 1fr;
}
}
/* Overlay (tło) */
/* Lightbox – tło */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
    z-index: 1000;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

/* Obrazek */
.modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Wspólne style dla przycisków strzałek */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    z-index: 1010;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lewa strzałka */
.lightbox-prev {
    left: 20px;
}

/* Prawa strzałka */
.lightbox-next {
    right: 20px;
}

/* Efekt po najechaniu */
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

/* Responsywność – na małych ekranach zmniejsz przyciski */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        width: 45px;
        height: 45px;
        left: 10px;
        right: 10px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}
/* Sekcja mapy */
.map-section {
    margin: 2rem 0;
    text-align: center;
}

/* Opis adresu */
.map-address {
    margin-top: 1rem;
    font-size: 0.95rem;
}
.map-address a {
    color: #2c7a2c;
    text-decoration: none;
    font-weight: 500;
}
.map-address a:hover {
    text-decoration: underline;
}

/* Kontener mapy (dla leniwego ładowania) */
.map-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #f0f0f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Iframe – responsywny */
.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Dla małych ekranów */
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px;
    }
	/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    background: linear-gradient(135deg, #1a4d2c 0%, #0f3d22 100%);
    color: #e8f0e8;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-top: 3px solid #e6b422;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-info {
    flex: 2;
    min-width: 280px;
}

.footer-links-side {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.footer-copyright-main {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.footer-digital {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-standards {
    font-size: 0.8rem;
    font-family: monospace;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.footer-case {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-link-highlight {
    color: #e6b422;
    text-decoration: none;
    font-weight: 500;
}

.footer-link-highlight:hover {
    text-decoration: underline;
    color: #ffd966;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: #e8f0e8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e6b422;
    text-decoration: underline;
}

.separator {
    color: #5a8f5a;
    font-size: 0.8rem;
}

.footer-partner {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Responsywność */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-side {
        text-align: center;
    }
    
    .footer-nav-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        padding: 1.5rem 1rem;
    }
    
    .footer-nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .separator {
        display: none;
    }
}
}
