* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  color: #1f2937;
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.narrow {
  max-width: 900px;
}

.top {
  background: rgb(255, 255, 255);
  color: #1f2937;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 100%;
  border-bottom: 1px solid #c8c8c8; /* kolor i grubość linii dolnej w menu rozwijanym */
}

.right-contact {
  display: flex;
  gap: 5px;
}
.logo-img {
  height: 50px;
  display: block;
  cursor: pointer;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.icon {
  font-size: 30px;
  color:black;
}

.service-icon {
  font-size: 28px;
  margin-right: 10px;
  vertical-align: middle;
  color:white;
}

.contact-text {
  color: #0ea5e9;
  transition: 0.2s;
}
.contact-link:hover .contact-text {
  text-decoration: underline;
}


.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  color: rgb(165, 255, 168);
}

nav a {
  color: #cbd5f5;
  margin-left: 20px;
  text-decoration: none;
}

.hero-image {
  width: 100%;        // rozciąga na całą szerokość
  height: auto;       // zachowuje proporcje grafiki
  display: block;     // usuwa odstępy inline
  object-fit: contain; // zapewnia, że cały obraz jest widoczny
}
/*
.hero {
  width: 100%;
  overflow: hidden; 
  text-align: center;
}

.hero .wrap {
  max-width: 1200px;  // tak jak w nagłówku i reszcie treści 
  margin: 0 auto;     // centrowanie 
  padding: 0 20px;    // marginesy po bokach 
}



.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
*/
/*
.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}
*/
.project-image {
  width: 100%;
  height: auto;        /* stała wysokość */
  display: block;
  margin-bottom: 15px;
  border-radius: 12px;
}

.section {
  padding: 30px 0;
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.soft {
  background: #f8fafc;
}

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

.box {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.list {
  list-style: none;
  margin-top: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  fill: #0ea5e9;
  flex-shrink: 0;
}

.contact-item a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
}

.social {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social svg {
  width: 22px;
  height: 22px;
  fill: #0ea5e9;
}

.map iframe {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  border: none;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.form button {
  background: #0ea5e9;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* Ustawiamy górny wiersz z lewą częścią (info) i mapą */
.contact-layout {
  display: flex;
  flex-direction: column;
  /* formularz na dole */
  gap: 20px;
}

/* Górny wiersz: left i mapa obok siebie */
.contact-layout>.left {
  display: flex;
  gap: 20px;
}

/* Lewa część: info + social */
.left>.info {
  flex: 1;
  /* zajmuje część lewą */
}

/* Prawa część: mapa */
.left>.map {
  flex: 2;
  /* mapa większa część */
}

/* Formularz na dole, pełna szerokość */
.contact-layout>.right {
  width: 100%;
  margin-top: 20px;
}

.footer {
  background: #ffffff;
  color: black;
  text-align: center;
  padding: 30px;
  border-top: 1px solid #c8c8c8;
}
.form-row {
  display: flex;
  align-items: center;
  gap: 15px;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #234049;
}

/* linki menu po rozwinięciu mobilnego i przed*/
.left-menu a {
  margin-right: 10px;
  text-decoration: none;
  color: rgb(55,55,55);
  font-weight: 500;
}

.left-menu a:hover {
  color: #0ea5e9;
}


.image-widget {
  max-width: 230px;
  max-height: 230px;
  display: flex; /* Ustawia obrazy w rzędzie */
  gap: 10px; /* Odstęp między obrazami */
  /*object-fit: cover;*/
}

.image-item {
  flex: 1; /* Każdy obraz zajmuje równą część przestrzeni */
}

.image-item img {
  width: 100%; /* Obraz dostosowuje się do szerokości kontenera */
  height: auto; /* Zachowuje proporcje */
  display: block; /* Usuwa odstępy pod obrazem */
  border-radius: 8px; /* Opcjonalnie: zaokrąglone rogi */
}
.widget-gallery__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  }
  .widget-gallery__image {
      max-width: 230px;
      max-height: 230px;
      width: 100%;
      height: auto;
      margin: 0 auto 10px;
  }
  
  .widget-gallery__link {
      text-align: center;
      word-break: break-word;
  }
  
  .widget-gallery__text {
      display: flex;
      margin-top: auto;
      font-size: 12px;
  }
/* RESPONSYWNE MENU */
@media (max-width: 1100px) {

/* Przycisk hamburgera - dodajemy mu styl, żeby nie był tylko tekstem */
.menu-toggle {
    display: block;
    z-index: 1000;
    cursor: pointer;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    font-weight: bold;
    color: #333;
}

/* Główne menu */
.left-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Dopasuj do wysokości swojego nagłówka */
    /*left: 0;*/
    width: 100%;
    background: #ffffff; /* Białe tło jest czytelniejsze */
    /*border-top: 1px solid #c8c8c8;  /*Akcent w Twoim kolorze */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Cień nadaje głębi */
    
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Płynniejsza animacja */
    z-index: 999;
}

/* Gdy menu jest aktywne */
.left-menu.active {
    max-height: 500px; /* Większy zapas */
    padding: 15px 0;
}

/* Stylizacja linków wewnątrz menu */
.left-menu a {
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.left-menu a:last-child {
    border-bottom: none;
}

/* Efekt najechania na link */
.left-menu a:hover {
    background: #f4fff6;
    color: #c8c8c8;
    padding-left: 35px; /* Efekt przesunięcia w bok */
}
    .image-widget {
    flex-wrap: wrap; /* Pozwala na zawijanie wierszy */
  }
    .image-item {
    flex: 0 0 calc(50% - 10px); /* 2 obrazy obok siebie (minus odstęp) */
  }
  /*.contact-text {
    font-size: 14px;   // zmniejszony numer i mail
  }
  .icon {
    font-size: 20px;   // możesz też lekko zmniejszyć ikonę
  }
  */
  .logo-img {
  height: 50px;
  cursor: pointer;
  }
  .widget-gallery__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  }
  .widget-gallery__image {
      max-width: 230px;
      max-height: 230px;
      width: 100%;
      height: auto;
      margin: 0 auto 10px;
  }
  
  .widget-gallery__link {
      text-align: center;
      word-break: break-word;
  }
  
  .widget-gallery__text {
      display: block;
      margin-top: auto;
      font-size: 12px;
  }

}


.gallery {
  margin: 20px;
}

.thumbnails img {
  width: 150px;
  height: 150px;
  margin: 5px;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: 0.3s;
}

.thumbnails img:hover {
  border-color: #777;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: 50px;
  user-select: none;
  padding: 10px;
  margin-top: -25px;
}

.prev { left: 20px; }
.next { right: 20px; }

.form-success {
  font-size: 14px;
  color: #16a34a;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.form-success.show {
  opacity: 1;
  transform: translateX(0);
}
