/* =====================================================================
   pergolewl.pl - style nowych elementow (faza 3, 2026-11)
   Po zmianie tego pliku: php narzedzia/kompresuj-css-js.php + wgrac .css i .css.gz
   ===================================================================== */

/* Naglowki "Dane techniczne" / "Opis produktu" zmienione z H3 na H2 (SEO) - wyglad jak dotad */
#content h2.mb20 {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.1em;
	text-transform: none;
	margin-top: 0;
	margin-bottom: 20px;
	color: #222;
}

/* ---------- Pokaz slajdow na stronie glownej (zamiast Revolution Slider) ---------- */
.hero-slideshow {
	position: relative;
	height: 80vh;
	height: 80svh;
	min-height: 420px;
	max-height: 900px;
	overflow: hidden;
	background: #111;
}
.hero-slide {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	margin: 0;
	opacity: 0;
}
.hero-slide:first-child { opacity: 1; }
.hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hero-slide figcaption {
	position: absolute;
	left: 0; right: 0;
	top: 40%;
}
.de_light .hero-slide figcaption a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 .1em .25em rgba(0, 0, 0, .75);
}
.hero-caption-title {
	display: block;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-size: 46px;
	font-weight: 600;
	line-height: 1.1;
}
.hero-caption-sub {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
@media (max-width: 767px) {
	.hero-slideshow { height: 60vh; height: 60svh; min-height: 320px; }
	.hero-caption-title { font-size: 30px; }
	.hero-caption-sub { font-size: 13px; }
}
/* przenikanie: 5 slajdow, kazdy ok. 4 s + 1 s przejscia; start po zaladowaniu kolejnych zdjec (klasa is-animated) */
.hero-slideshow.is-animated .hero-slide { animation: heroFade 25s infinite; }
.hero-slideshow.is-animated .hero-slide:nth-child(1) { animation-delay: -1s; }
.hero-slideshow.is-animated .hero-slide:nth-child(2) { animation-delay: 4s; }
.hero-slideshow.is-animated .hero-slide:nth-child(3) { animation-delay: 9s; }
.hero-slideshow.is-animated .hero-slide:nth-child(4) { animation-delay: 14s; }
.hero-slideshow.is-animated .hero-slide:nth-child(5) { animation-delay: 19s; }
@keyframes heroFade {
	0%   { opacity: 0; }
	4%   { opacity: 1; }
	20%  { opacity: 1; }
	24%  { opacity: 0; }
	100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-slideshow.is-animated .hero-slide { animation: none; }
}

/* ---------- Sekcje tresci ---------- */
.page-intro { padding: 50px 0 30px; }
.page-intro h1 {
	margin: 0 0 15px;
	font-size: 30px;
	line-height: 1.25;
	color: #222;
	text-transform: none;
}
.page-intro .lead { max-width: 860px; font-size: 17px; line-height: 1.6; color: #555; }

.content-section { padding: 50px 0; }
.content-section.alt { background: #f5f5f5; }
.content-section h2,
.page-text h2 {
	margin: 0 0 20px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
	text-transform: none;
	color: #222;
}
.page-text h2 { margin-top: 30px; font-size: 20px; }
.page-text { margin-bottom: 30px; }
.content-section h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: #222; }
.content-section p, .content-section li, .page-text p { color: #555; }
.de_light .content-section a, .de_light .page-text a { color: #b54800; text-decoration: underline; }

.flex-row { display: flex; flex-wrap: wrap; }
.flex-row > [class*="col-"] { float: none; }

.steps { padding-left: 20px; }
.steps li { margin-bottom: 8px; }

.model-card { margin-bottom: 30px; }
.model-card img { display: block; width: 100%; height: auto; }
.model-card h3 { margin-top: 14px; }
.de_light .content-section .model-card h3 a { color: #222; text-decoration: none; }

.table-scroll { overflow-x: auto; margin-bottom: 30px; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; vertical-align: top; color: #444; }
.compare-table th { background: #f0f0f0; color: #222; font-weight: 600; }

/* ---------- Przyciski ---------- */
.de_light a.btn-cta {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 12px 22px;
	border: 2px solid #b54800;
	border-radius: 3px;
	background: #b54800;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.de_light a.btn-cta:hover { background: #8f3900; border-color: #8f3900; color: #fff; }
.de_light a.btn-cta.btn-cta-line { background: transparent; color: #222; border-color: #222; }
.de_light a.btn-cta.btn-cta-line:hover { background: #222; color: #fff; }

/* ---------- Sciezka nawigacji (w naglowku podstrony) ---------- */
#subheader .breadcrumbs { margin-top: 15px; font-size: 13px; color: #eceff3; }
.de_light #subheader .breadcrumbs a { color: #eceff3; text-decoration: underline; }
/* motyw nadaje kazdemu #subheader span margines 88px i duza czcionke - zerujemy dla sciezki nawigacji */
#subheader .breadcrumbs span { display: inline; margin-top: 0; font-size: 13px; letter-spacing: normal; color: #eceff3; }
#subheader .breadcrumbs .sep { margin: 0 6px; opacity: .7; }

/* ---------- Zobacz tez + przyciski kontaktu pod trescia podstron ---------- */
.see-also { padding: 40px 0 50px; background: #f5f5f5; }
.see-also h2 { margin: 20px 0 15px; font-size: 20px; text-transform: none; color: #222; }
.see-also ul { margin: 0; padding: 0; list-style: none; }
.see-also li { display: inline-block; margin: 0 10px 10px 0; }
.de_light .see-also li a { display: inline-block; padding: 10px 16px; border: 1px solid #bbb; background: #fff; color: #222; text-decoration: none; }
.de_light .see-also li a:hover { border-color: #222; }

/* ---------- FAQ ---------- */
.faq h3 { margin: 25px 0 8px; font-size: 16px; color: #222; }
.faq p { margin-bottom: 10px; color: #555; }
