﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #1e2a32;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: #1a3e4c;
}
.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: #2c6e9e;
  margin: 16px auto 0;
}

.btn {
  display: inline-block;
  background: #2c6e9e;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: 0;
}
.btn:hover {
  background: #1e4f73;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.8rem 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 55px;
  width: auto;
  transition: opacity 0.2s;
}
.logo img:hover {
  opacity: 0.85;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}
.nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #1a3e4c;
  transition: color 0.2s;
  font-size: 1rem;
}
.nav-links li a:hover {
  color: #2c6e9e;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #1a3e4c;
}
@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
}

/* ----- AUTORSKI SLIDER ----- */
.hero-slider {
  width: 100%;
  background: #eef3f7;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 70px);
  min-height: 500px;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide-overlay {
  background: rgba(0,0,0,0.45);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}
.slide-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.slide-overlay p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 1.8rem;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 2;
  transition: background 0.2s;
  border-radius: 0;
}
.slider-btn:hover {
  background: rgba(0,0,0,0.7);
}
.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0;
}
.dot.active {
  background: white;
  transform: scale(1.2);
}
.slider-fixed-btn {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: #2c6e9e;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
}
.slider-fixed-btn:hover {
  background: #1e4f73;
  transform: translateX(-50%) translateY(-3px);
}
@media (max-width: 768px) {
  .hero-slider { height: calc(100vh - 60px); min-height: 450px; }
  .slide-overlay h1 { font-size: 1.8rem; }
  .slider-fixed-btn { padding: 10px 24px; font-size: 0.9rem; bottom: 12%; }
}

/* ----- NASZA OFERTA ----- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.offer-card {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid #eef2f5;
  border-radius: 0;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
  background: #fafdff;
  border-color: #2c6e9e;
}
.offer-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.offer-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1.2rem 1rem 1.2rem;
  text-align: center;
  background: #fff;
  color: #1a3e4c;
  border-top: 1px solid #eef2f5;
  transition: color 0.2s, background 0.2s;
  margin: 0;
}
.offer-card:hover h3 {
  background: #2c6e9e;
  color: white;
  border-top-color: #2c6e9e;
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Lightbox */
.modal-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: default;
}
.modal-lightbox.active {
  display: flex;
}
.modal-lightbox img {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  font-size: 28px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2001;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
  font-size: 32px;
  width: 55px;
  height: 55px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2001;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* kontakt */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  background: #f1f6f9;
  padding: 2rem;
  border-radius: 0;
}
.contact-info {
  flex: 1;
}
.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a3e4c;
}
.contact-details {
  margin: 1.5rem 0;
  line-height: 1.8;
}
.contact-details p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-details i {
  width: 26px;
  color: #2c6e9e;
  font-style: normal;
  font-weight: 600;
}
.contact-details a {
  color: #2c6e9e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}
.contact-details a:hover {
  border-bottom-color: #2c6e9e;
}
.map {
  flex: 1.2;
  overflow: hidden;
  min-height: 320px;
  border-radius: 0;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* FAQ */
.faq-section {
  background: #f9fbfd;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #e6edf2;
  overflow: hidden;
  border-radius: 0;
}
.faq-question {
  padding: 1.2rem 1.8rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a3e4c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #f4f9fe;
}
.faq-question:after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.2s;
  color: #2c6e9e;
}
.faq-item.open .faq-question:after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.8rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  background: #ffffff;
  border-top: 1px solid transparent;
  color: #2c3e47;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 1.2rem 1.8rem 1.8rem;
  border-top-color: #eef2f7;
}
.faq-answer p, .faq-answer table {
  margin-bottom: 0.75rem;
}
.faq-answer table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
}
.faq-answer td, .faq-answer th {
  border: 1px solid #ddd;
  padding: 6px;
}
.faq-answer table caption {
  font-weight: 600;
  text-align: left;
  padding: 8px 0 6px 0;
  color: #1a3e4c;
  font-size: 0.95rem;
  caption-side: top;
}
.faq-answer table thead th {
  background: #f4f8fc;
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid #ddd;
}
.faq-answer table td {
  padding: 8px 10px;
  border: 1px solid #ddd;
}
.faq-answer table tbody tr:nth-child(even) {
  background: #fafdff;
}

/* social bar */
.social-bar {
  background: #eef2f7;
  padding: 2rem 0 1.5rem;
  text-align: center;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  transition: all 0.2s;
  text-decoration: none;
  font-size: 1.6rem;
  color: #2c6e9e;
  border-radius: 0;
}
.social-icons a:hover {
  background: #2c6e9e;
  color: white;
  transform: translateY(-3px);
}

/* languages */
.lang-bar {
  background: #f4f8fc;
  padding: 1.2rem 0;
  text-align: center;
  border-top: 1px solid #dfe8ef;
}
.lang-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.lang-links a {
  text-decoration: none;
  color: #3b5c6f;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.lang-links a:hover {
  color: #2c6e9e;
}

/* stopka */
.footer-main {
  background: #0f1f2a;
  color: #e0ecf5;
  padding: 3rem 0 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-main .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col p {
  margin-bottom: 0.5rem;
  color: #dce8ef;
}

.footer-col a {
  color: #6db4d9;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-col strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #b5d0df;
}

.footer-copyright strong {
  color: #ffffff;
}

.footer-copyright p {
  margin: 0.5rem 0;
  color: #b5d0df;
}

.footer-copyright .ai-meta {
  font-size: 0.7rem;
  color: #a0c0d4;
  margin-top: 0.5rem;
}

.footer-copyright a {
  color: #6db4d9;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-main {
    padding: 2rem 0 1rem;
  }
}

/* ========== SEKCJA "O FIRMIE" ========== */
.about-extended {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2c3e47;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.about-extended h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: #1a3e4c;
  font-weight: 600;
}

.about-extended p {
  margin-bottom: 1rem;
  text-align: left;
}

.about-extended p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section { padding: 50px 0; }
  .section-title { font-size: 2rem; }
  .contact-wrapper { flex-direction: column; }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.4rem;
  }
}
/* ===== ABOUT - TEKST + OBRAZEK ===== */
.about-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.about-text {
  flex: 1.4;
  min-width: 0;
}

.about-image {
  flex: 1;
  max-width: 420px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image {
    max-width: 100%;
    position: static;
  }
  
  .about-image img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .about-image img {
    max-height: 300px;
  }
}
/* ===== LINKI W STOPCE - DOCELOWE ELEMENTY DOTYKOWE ===== */
.footer-link {
  display: inline-block;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  color: #7cb8d9;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-btn {
  display: inline-block;
  padding: 12px 20px;
  min-width: 48px;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #7cb8d9;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.footer-col p {
  margin-bottom: 0.5rem;
  color: #dce8ef;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

/* Responsywność */
@media (max-width: 768px) {
  .footer-link {
    padding: 12px 8px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .footer-btn {
    padding: 14px 20px;
    min-width: 52px;
    min-height: 52px;
    width: 100%;
  }
}
/* ===== LANGUAGE SECTION ===== */
.lang-section {
  background: #f4f8fc;
  padding: 1.2rem 0;
  border-top: 1px solid #dfe8ef;
}

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.lang-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #3b5c6f;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 10px;
  min-height: 44px;
  min-width: 44px;
  transition: color 0.2s;
}

.lang-item:hover {
  color: #2c6e9e;
}

.lang-item img {
  display: inline-block;
  border-radius: 2px;
}