/* === Reset i font === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* === Baner z filmem === */
.hero {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Pasek górny */
.top-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: rgba(11, 58, 99, 0.5);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Pudełko pod logo */
.logo-box {
  background: rgba(255, 255, 255, 0.95); /* jasne tło pod logo */
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  height: 80px; /* dopasuj wysokość logo */
  width: auto;
  display: block;
}

}

/* Menu – desktop */
.nav {
  display: flex;
  gap: 12px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-call {
  background: #0c6aad !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-call:hover {
  background: #095184 !important;
  transform: translateY(-2px) scale(1.03);
}

/* Przycisk hamburger – tylko mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(11,58,99,0.95);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 220px;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    display: none; /* ukryte domyślnie */
  }

  .nav a {
    display: block;
    width: 100%;
    margin: 4px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav.active {
    display: flex; /* pokaż menu po kliknięciu */
  }
}


/* === Teksty na wideo === */
.hero-text-left {
  position: absolute;
  top: 40%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  z-index: 3;
  max-width: 600px;
  text-align: left;
}

.hero-text-left h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text-left p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.buttons .btn {
  padding: 0.7rem 1.5rem;
  margin-right: 0.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

.btn-primary {
  background-color: #003366;
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

/* === Sekcja mapy === */
/* Sekcja mapy – nowa wersja */
.map-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 30px;
  background: linear-gradient(135deg, #f5f7fa, #e8eef5); /* lekki gradient */
  gap: 40px;
  flex-wrap: wrap;
}

/* Blok tekstowy */
.map-text {
  flex: 1 1 45%;
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Podtytuł */
.map-text .section-subtitle {
  font-size: 1rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Główny nagłówek */
.map-text .section-title {
  font-size: 2.4rem;
  color: #1d4a80;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Opis */
.map-desc {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

/* Mapa */
.map-container {
  flex: 1 1 50%;
  min-height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .map-section {
    flex-direction: column;
  }
  .map-text {
    margin-bottom: 20px;
  }
}


/* === Sekcja o nas === */
.about-section {
  position: relative;
  background: url("../images/onas-geo.jpg") center center / cover no-repeat;
  color: white;
  padding: 100px 30px;
}

.about-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 60px 30px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.8rem;
  color: #1d72b8;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.about-stats div {
  flex: 1;
  text-align: center;
}

.about-stats strong {
  font-size: 4.5rem;
  display: block;
  margin-bottom: 5px;
}

.about-stats span {
  font-size: 1rem;
  color: #ddd;
}

.signature {
  text-align: left;
}

.signature img {
  height: 60px;
  margin-bottom: 10px;
}

.signature p {
  font-size: 1rem;
}

/* === Sekcja usług === */
.services-section {
  background-color: #f5f5f5;
  padding: 80px 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: #1d4a80;
  margin-bottom: 50px;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-box img {
  height: 50px;
  margin-bottom: 20px;
}

.service-box p {
  font-size: 1rem;
  color: #111;
  line-height: 1.4;
  font-weight: 500;
}

/* === Sekcja realizacje === */
.projects-section {
  background: #f8f8f8;
  padding: 80px 30px;
  text-align: center;
}

.projects-section .section-title {
  margin-bottom: 20px;
}

.section-desc {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Galeria */
.realizacje-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.realizacja-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fff;
  transition: transform 0.3s ease;
}

.realizacja-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.realizacja-card:hover img {
  transform: scale(1.08);
}

.realizacja-card .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.realizacja-card:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
.projects-cta {
  margin-top: 40px;
  text-align: center;
}

.projects-cta .btn {
  padding: 12px 28px;
  font-size: 1.1rem;
  border-radius: 6px;
  font-weight: 600;
}


/* === Sekcja Nasi klienci === */
.clients-section {
  background: #f8f8f8;
  padding: 80px 30px;
  text-align: center;
}
.clients-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #1d4a80;
}
.clients-section p {
  max-width: 640px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
}

/* Równa siatka logotypów */
#nasi-klienci .clients-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: stretch;
  justify-items: center;
  margin: 0 auto;
  max-width: 1200px;
}

#nasi-klienci .partner-box {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  overflow: hidden;
}

#nasi-klienci .partner-box img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

/* Responsywność */
@media (max-width: 1200px) {
  #nasi-klienci .clients-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  #nasi-klienci .clients-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  #nasi-klienci .clients-logos { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  #nasi-klienci .partner-box { border-radius: 10px; }
}
/* === STOPKA === */
.footer {
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  padding: 50px 30px 20px;
  font-size: 0.95rem;
  color: #222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #0b3a63;
}

.footer-col p,
.footer-col a {
  color: #333;
  text-decoration: none;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #0c6aad;
  text-decoration: underline;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-logo img {
  max-width: 300px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #666;
}
/* === Redukcja odstępów między sekcjami o ~60% === */
.hero,
.map-section,
.about-section,
.services-section,
.projects-section,
.clients-section,
.footer {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.about-section { padding: 40px 20px !important; }
.about-overlay { padding: 24px 20px !important; }

.services-section,
.projects-section,
.clients-section {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
