/* ==========================================================================
   PLIK STYLE.CSS - WERSJA FINALNA
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. ZMIENNE (CUSTOM PROPERTIES) & RESET */
/* -------------------------------------------------------------------------- */
:root {
  --color-primary: #D35400;
  --color-primary-dark: #b84300;
  --color-dark: #2E2E2E;
  --color-text: #333;
  --color-text-muted: #555;
  --color-white: #ffffff;
  --color-light-bg: #f7f7f9;
  --color-surface: #ffffff;
  --color-border: #e9e9e9;
  --color-whatsapp: #25D366;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  --shadow-text: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 5px rgba(0, 0, 0, 0.5);
  --transition-base: all 0.3s ease;
}

@font-face { font-display: swap; font-family: 'Titillium Web'; font-style: normal; font-weight: 400; src: url(fonts/titillium-web-v18-latin_latin-ext-regular.woff2) format('woff2'); }
@font-face { font-display: swap; font-family: 'Titillium Web'; font-style: normal; font-weight: 600; src: url(fonts/titillium-web-v18-latin_latin-ext-600.woff2) format('woff2'); }
@font-face { font-display: swap; font-family: 'Titillium Web'; font-style: normal; font-weight: 700; src: url(fonts/titillium-web-v18-latin_latin-ext-700.woff2) format('woff2'); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: 'Titillium Web', sans-serif;
  color: var(--color-text);
  background-color: var(--color-light-bg);
  margin: 0;
}
main {
  display: block;
}
section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* -------------------------------------------------------------------------- */
/* 2. STYLE GLOBALNE I KOMPONENTY */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: var(--color-white);
  text-align: center;
  text-shadow: var(--shadow-text);
  letter-spacing: 1px;
  margin-bottom: 0;
}
h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
}
h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  font-weight: 600;
}
p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-dark);
}
.container-3d {
  background-color: var(--color-surface);
  padding: 5rem 4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 1200px;
  margin: 0 auto;
}
.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
}
.btn:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.03);
  color: var(--color-white);
}
.btn.btn-secondary {
  background-color: #6c757d;
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* 3. NAGŁÓWEK I NAWIGACJA */
/* -------------------------------------------------------------------------- */
.navbar {
  background: var(--color-dark);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  box-sizing: border-box;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-img {
  display: block;
  height: 65px;
  width: auto;
}
.navbar-menu {
  display: flex;
}
.navbar a {
  color: var(--color-white);
  margin-left: 1.5rem;
  font-weight: 400;
  text-decoration: none;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.8rem;
  padding: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* 4. SEKCJA HERO */
/* -------------------------------------------------------------------------- */
#hero {
  position: relative;
  height: calc(100vh - 70px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  background-image: url('../img/hero-fallback.webp');
  background-size: cover;
  background-position: center;
  padding: 0;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.hero-text-content {
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-text-content p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  font-weight: 400;
  opacity: 0.9;
  color: var(--color-white);
}
.hero-btn {
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.hero-btn:hover {
  background-color: transparent;
  border: 2px solid var(--color-white);
}
.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  font-size: 3rem;
  color: var(--color-white);
  text-decoration: none;
  animation: bounce 2s infinite;
  z-index: 3;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -15px); } 60% { transform: translate(-50%, -7px); } }

/* -------------------------------------------------------------------------- */
/* 5. SEKCJE (O NAS, BIZNES, DOMY, PRODUKTY) */
/* -------------------------------------------------------------------------- */
.feature-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.feature-text-container,
.feature-image-container {
  flex: 1;
}
.feature-text-container h2 {
  text-align: left;
}
.feature-section.layout-reversed {
  flex-direction: row-reverse;
}
.feature-image-container img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.feature-image-container.multi-image {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.image-with-caption {
  text-align: center;
  flex: 1;
}
.caption {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}
#produkty .feature-section {
  align-items: center;
}
#produkty .feature-image-container {
  flex: 0 0 350px;
}
.partner-box {
  text-align: center;
  padding: 1.5rem 2rem;
  background-color: #f0f0f2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.partner-box h4 {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.partner-box img {
  max-width: 200px;
  margin: 1rem 0;
  transition: transform 0.3s ease;
}
.partner-box img:hover {
  transform: scale(1.05);
}
.partner-box .partner-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* 6. SEKCJA USŁUGI */
/* -------------------------------------------------------------------------- */
.services-intro {
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}
.services-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.services-image-column {
  flex: 1 1 40%;
  min-width: 300px;
}
.services-list-column {
  flex: 1 1 55%;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-list li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.service-list-icon svg {
  width: 18px;
  height: 18px;
}
.service-list-text h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.3rem;
}
.service-list-text p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-size: 1rem;
}
.services-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.services-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.service-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.service-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  padding: 0;
}
.slider-dot.active {
  background-color: var(--color-white);
}

/* -------------------------------------------------------------------------- */
/* 7. SEKCJE: REALIZACJE, FAQ, OPINIE, KONTAKT */
/* -------------------------------------------------------------------------- */
.carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.carousel-track-container {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin: 0 -8px;
}
.carousel-slide {
  flex-shrink: 0;
  width: 25%;
  box-sizing: border-box;
  padding: 0 8px;
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  display: block;
  background-color: #f0f0f2;
}
.carousel-button {
  position: absolute;
  top: 50%;
  background-color: rgba(46, 46, 46, 0.7);
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  transform: translateY(-50%);
}
.carousel-button:hover:not(:disabled) {
  background-color: rgba(211, 84, 0, 0.9);
}
.carousel-button.prev {
  left: -25px;
}
.carousel-button.next {
  right: -25px;
}
.carousel-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.scroller {
  max-width: 100%;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.scroller-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  padding-block: 1rem;
}
.scroller[data-animated="true"] .scroller-inner {
  animation: scroll 60s linear infinite;
}
@keyframes scroll {
  to { transform: translate(calc(-50% - .5rem)); }
}
.opinia {
  flex: 0 0 320px;
  padding: 1.5rem;
  background: #f0f0f2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.opinia .stars {
  color: var(--color-primary);
}
.opinia p {
  margin: 1rem 0;
  font-size: 1rem;
}
.opinia-footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: auto;
}
.add-opinion-wrapper {
  text-align: center;
  margin-top: 3rem;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item h3 {
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
}
.faq-item h3::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}
.faq-item.active h3::after {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-primary);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.kontakt-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.kontakt-info, .kontakt-form {
  flex: 1;
}
.kontakt-info h3, .kontakt-form h3 {
  margin-top: 0;
}
.kontakt-info p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.kontakt-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kontakt-form input,
.kontakt-form textarea {
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  width: 100%;
  box-sizing: border-box;
}
.form-checkboxes-container {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-block: 1rem;
}
.form-rodo-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #555;
}
.form-rodo-consent input[type="checkbox"] {
  margin-top: 0.2em;
  width: 1.2em;
  height: 1.2em;
  accent-color: var(--color-primary);
}
.form-rodo-consent a {
  font-weight: 600;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* 8. STOPKA (FOOTER) */
/* -------------------------------------------------------------------------- */
.site-footer {
  background-color: #2e2e2e;
  color: #f0f0f0;
  padding: 2.5rem 2rem 1.5rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-intro {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #444;
}
.footer-intro-logo {
  flex-shrink: 0;
}
.footer-intro-logo .footer-logo {
  display: block;
  max-width: 150px;
  height: auto;
}
.footer-intro-text p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  color: #ccc;
  font-size: 0.95rem;
}
.footer-intro .social-media-links a {
  display: inline-block;
  margin-right: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-intro .social-media-links a:hover {
  opacity: 1;
  transform: scale(1.1);
}
.footer-columns-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-column {
  flex: 1;
  min-width: 220px;
}
.footer-column h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d35400;
  display: inline-block;
}
.footer-column p {
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  text-align: center;
  color: #aaa;
  font-size: 0.8rem;
}
.footer-bottom .copyright {
  line-height: 1.5;
  margin: 0;
  font-size: 0.8rem;
}

/* -------------------------------------------------------------------------- */
/* 9. KOMPONENTY DODATKOWE (MODAL, LIGHTBOX, COOKIE, FAB) */
/* -------------------------------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background-color: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-sm);
  width: 90%;
  max-width: 500px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--color-text);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
#opinia-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#opinia-form input, #opinia-form select, #opinia-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
}
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-sm);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
}
.lightbox-close { top: 10px; right: 20px; }
.lightbox-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 20px; transform: translateY(-50%); }
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1rem;
  z-index: 10001;
  display: none;
}
.cookie-banner-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
}
.floating-blog-button,
.floating-whatsapp-button,
.sticky-fab-quote,
.floating-back-button {
  position: fixed;
  height: 60px;
  min-width: 60px;
  width: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: width 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
  color: var(--color-white) !important;
  padding: 0;
}
.floating-blog-button:hover,
.floating-whatsapp-button:hover,
.sticky-fab-quote:hover,
.floating-back-button:hover {
  width: auto;
  padding: 0 24px 0 18px;
  transform: scale(1.05);
}
.floating-blog-button svg,
.floating-whatsapp-button svg,
.sticky-fab-quote svg,
.floating-back-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-white) !important;
  fill: var(--color-white);
}
.fab-text {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}
.floating-blog-button:hover .fab-text,
.floating-whatsapp-button:hover .fab-text,
.sticky-fab-quote:hover .fab-text,
.floating-back-button:hover .fab-text {
  max-width: 200px;
  opacity: 1;
  margin-left: 12px;
}
.floating-blog-button,
.sticky-fab-quote {
  background-color: var(--color-primary);
}
.floating-blog-button:hover,
.sticky-fab-quote:hover {
  background-color: var(--color-primary-dark);
}
.floating-blog-button { bottom: 30px; right: 30px; }
.sticky-fab-quote { bottom: 100px; right: 30px; }
.floating-whatsapp-button { bottom: 100px; left: 30px; background-color: var(--color-whatsapp); }
.floating-whatsapp-button:hover { background-color: #1DA851; }
.floating-back-button { background-color: #34495e; left: 30px; bottom: 30px; }
.floating-back-button:hover { background-color: #2c3e50; }

/* ========================================================================== */
/* 10. STYLE DLA BLOGA I ARTYKUŁÓW */
/* ========================================================================== */

.blog-main-content,
.article-main-content {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--color-white);
}
.blog-main-content .container-3d,
.article-main-content .container-3d {
  padding: 0 1.5rem;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}
.blog-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
main.blog-main-content h1,
.blog-header h1 {
  color: var(--color-primary);
  text-shadow: none;
  font-size: 3.5rem;
}
.blog-header p {
  max-width: 700px;
  margin: 0.5rem auto 0;
  font-size: 1.2rem;
}
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.post-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.post-card-image {
  max-width: 400px;
  aspect-ratio: 3 / 4; 
  object-fit: cover;
  display: block;
  align-items: center;
  background-color: #f0f0f2;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-card-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.post-card-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  line-height: 1.3;
}
.post-card-title a {
  color: inherit;
  text-decoration: none;
}
.post-card-excerpt {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.post-card-readmore {
  margin-top: auto;
  font-weight: 700;
}
.breadcrumbs {
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: #999;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.full-article .article-header {
  text-align: center;
  margin-bottom: 3rem;
}
.article-meta {
  margin-bottom: 1rem;
}
.article-category {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: 1rem;
}
.article-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
main.article-main-content .full-article h1 {
  color: var(--color-primary);
  text-shadow: none;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-top: 1rem;
}
.article-intro {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 1rem auto 0;
}
.article-body {
  max-width: 800px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-dark);
}
.article-body h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  color: var(--color-dark);
}
.article-body ul, .article-body ol {
  padding-left: 20px;
  line-height: 1.8;
}
.article-body li {
  margin-bottom: 0.75rem;
}
.article-main-image,
.article-image-caption {
    display: block;
    margin: 2.5rem auto;
    max-width: 400px;
    align-items: center;
}
.article-main-image,
.article-image-caption img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    height: auto;
    align-items: center;
}
.article-image-caption figcaption {
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: 1rem;
    align-items: center;
}
.article-cta {
  background-color: var(--color-light-bg);
  border-left: 5px solid var(--color-primary);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-cta h3 {
  margin-top: 0;
}
.article-tags {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.article-tags-label {
  font-weight: bold;
}
.tag-link {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-base);
}
.tag-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.article-share-buttons {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-share-buttons-label {
  font-weight: 600;
  color: var(--color-text-muted);
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  background-color: #f0f0f2;
  transition: var(--transition-base);
  position: relative;
}
.share-btn:hover {
  transform: translateY(-3px);
}
.share-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--color-text-muted);
  transition: fill 0.3s ease;
}
.share-btn:hover svg {
  fill: var(--color-white);
}
.share-facebook:hover { background-color: #1877F2; }
.share-twitter:hover { background-color: #14171A; }
.share-linkedin:hover { background-color: #0A66C2; }
.share-copy { cursor: pointer; border: none; padding: 0; }
.share-copy:hover { background-color: var(--color-primary); }
.copy-feedback {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.share-copy.copied .copy-feedback {
  opacity: 1;
  visibility: visible;
}
.fb-comments-container {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.fb-comments-container h3 {
  font-size: 1.8rem;
}

/* -------------------------------------------------------------------------- */
/* 11. STYLE RESPONSYWNE (MEDIA QUERIES) */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  h2 { font-size: 2.2rem; }
  .container-3d { padding: 4rem 2rem; }
  .feature-section { flex-direction: column !important; text-align: center; gap: 2rem; }
  .feature-text-container h2, #realizacje h2, #faq h2, #opinie h2, #produkty h2, #kontakt h2 { text-align: center; }
  .services-layout { flex-direction: column; gap: 2.5rem; }
  .services-image-column { position: static; transform: none; max-width: 500px; width: 100%; }
  .kontakt-wrapper { flex-direction: column; }
  .carousel-button.prev { left: 10px; }
  .carousel-button.next { right: 10px; }
  .footer-intro { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-columns-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-column { width: 100%; max-width: 350px; }
  .footer-column h4 { display: block; }
  .blog-header h1 { font-size: 2.8rem; }
  main.article-main-content .full-article h1 { font-size: 2.5rem; }
  .article-main-content .container-3d, .blog-main-content .container-3d { padding: 0 1rem; }
}
@media (max-width: 768px) {
  .navbar { padding: 0.5rem 1rem; min-height: 60px; }
  .logo-img { height: 50px; }
  #hero { height: calc(100vh - 60px); }
  .container-3d { padding: 3rem 1.5rem; }
  .navbar-toggle { display: block; }
  .navbar-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-dark); width: 100%; padding: 1rem 0; box-shadow: var(--shadow-md); }
  .navbar-menu.active { display: flex; }
  .navbar-menu a { margin: 0; padding: 0.75rem 0; text-align: center; width: 100%; border-bottom: 1px solid #444; }
  .navbar-menu a:last-child { border-bottom: none; }
  .feature-image-container.multi-image { flex-direction: column; }
  .carousel-slide { width: 50%; }
  .fab-text, .floating-blog-button:hover .fab-text, .floating-whatsapp-button:hover .fab-text, .sticky-fab-quote:hover .fab-text, .floating-back-button:hover .fab-text { display: none; }
  .floating-blog-button, .floating-whatsapp-button, .sticky-fab-quote, .floating-back-button { padding: 0; width: 50px; height: 50px; }
  .floating-blog-button:hover, .floating-whatsapp-button:hover, .sticky-fab-quote:hover, .floating-back-button:hover { width: 50px; padding: 0; }
  .floating-blog-button { bottom: 20px; right: 20px; }
  .sticky-fab-quote { bottom: 80px; right: 20px; }
  .floating-whatsapp-button { bottom: 20px; left: 20px; }
  .floating-back-button { bottom: 80px; left: 20px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  .hero-text-content { padding: 0 1rem; }
  .hero-text-content p { font-size: 1.2rem; line-height: 1.4; }
  .carousel-slide { width: 100%; }
  .form-checkboxes-container { flex-direction: column; gap: 1rem; }
}
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.comparison-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    font-size: 1rem;
}
.comparison-table th,
.comparison-table td {
    padding: 1rem;
    vertical-align: top;
    border-right: 1px solid var(--color-border);
}
.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}
.comparison-table thead th {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 3px solid var(--color-primary);
}
.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--color-dark);
}
.comparison-table tbody td {
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.comparison-table tbody tr:nth-child(even) {
    background-color: var(--color-light-bg);
}
.comparison-table tbody tr:hover {
    background-color: #ffe8d9; /* Delikatny pomarańczowy po najechaniu */
}

/* ========================================================================== */
/* 13. STYLE DLA FILTROWANIA NA BLOGU                              */
/* ========================================================================== */
.blog-filters {
  margin-bottom: 3rem;
  text-align: center;
}

.main-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.active-filter-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-light-bg);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.active-tag-pill {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: capitalize;
}

.clear-filter-btn {
  background-color: var(--color-dark);
  color: var(--color-white);
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clear-filter-btn:hover {
  background-color: #000;
  transform: scale(1.1) rotate(90deg);
  color: var(--color-white);
}

.filter-btn {
  background-color: #f0f0f0;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.filter-btn:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    padding: 2rem;
}