 :root{
    --button-color:rgb(17, 17, 182);
    --button-color2:rgb(5, 5, 160);
 }
 
 .hero {
            background: url('/img/IMG_20240329_233922767.jpg') center/cover no-repeat;
            height: 100vh;
            display: flex;
            align-items: center;
            color: white;
            position: relative;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.35);
            text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
            background-color: rgba(0, 0, 0, 0.7); 
        }

    .hero-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    padding-left: 15%;
    /* UWAGA: Tutaj usuwasz background-color: rgba(0, 0, 0, 0.7); */
}

/* Style dla wszystkich tekstów wewnątrz bloku */
.hero-content h1,
.hero-content h2,
.hero-content p {
    color: #ffffff; /* Biały tekst */
    
    /* Właściwość text-shadow dla zwiększenia czytelności */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}


        .navbar-brand {
            font-size: 26px;
            font-weight: 700;
        }
.hero-btn {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 12px 26px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: bold;
}

/* Hover — jasne tło, ciemny tekst, lekka transformacja */
.hero-btn:hover {
    background-color:var(--button-color2);
    color: white;
    transform: scale(1.15);
}
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px; /* większe marginesy */
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 10px; /* bezpieczny margines po bokach */
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: left;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.5;
        text-align: left;
    }

    .hero-btn {
        margin-top: 20px;
        font-size: 14px;
        padding: 12px 24px;
    }
}
/* -----------------------------
   Sekcja promocyjna
----------------------------- */
.promo-section {
  padding: 60px 20px;
  background: #fff;
}

/* Kontener z flexboxem */
.promo-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* -----------------------------
   Tekst - lewa strona
----------------------------- */
.promo-text {
  flex: 1 1 500px;
}

.promo-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #111;
}

.promo-text h2 .highlight {
  color: #ff6600;
  font-weight: bold;
}

.promo-text p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: #333;
}

/* -----------------------------
   Specjalizacje / Usługi
----------------------------- */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 35px;
}

.service-item {
  text-align: center;
  max-width: 150px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 28px;
  color: #fff;
}

.icon-circle.blue { background: #0077b6; }
.icon-circle.orange { background: #ff6600; }
.icon-circle.green { background: #6cbf40; }

.service-item p {
  font-weight: 600;
  font-size: 0.95rem;
}

/* -----------------------------
   Przycisk CTA
----------------------------- */
.btn-cta {
  background: var(--button-color);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  display: block;        /* Zrób z niego element blokowy */
    width: fit-content;    /* Zmień szerokość na taką jak zawartość (kluczowe!) */
    margin: 0 auto;
}

.btn-cta:hover {
  background: var(--button-color2);
color:#fff;
transform: scale(1.15);
}

/* -----------------------------
   Obrazek - prawa strona
----------------------------- */
.promo-image {
  flex: 1 1 450px;
  text-align: center;
}

.promo-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* responsywność na telefon*/
/* Specjalizacje jedna pod drugą na telefonie */
@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .service-item {
    max-width: 100%;
  }
}
/* ---------------------- */
/*  SEKCJA CONTENT-WITH-IMAGES */
/* ---------------------- */

.content-with-images {
  padding: 60px 20px;
  background: #f8faff;
}

.content-with-images .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- LEWA KOLUMNA --- */
.text-content {
  flex: 1 1 500px;
}

.text-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #002d62;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

/* LISTA Z CHECKAMI */
.text-container2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.text-container2 .text-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #222;
  position: relative;
  padding-left: 28px;
}

.text-container2 .text-item::before {
  content: "\f058"; /* Font Awesome check-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0077b6;
  font-size: 1.2rem;
}

/* PRZYCISK */
.text-content .btn {
  display: inline-block;
  background: #0056d2;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.text-content .btn:hover {
  background: #003f99;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* --- PRAWA KOLUMNA — ZDJĘCIA --- */
.image-grid {
  flex: 1 1 500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.image-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}
/* Cechy firmy ssparcie,standardy,innowacyjnosc itd*/

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border: 1px solid #eef1f7;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
    font-size: 42px;
    line-height: 1;
}

.feature-card .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #002d62;
}

.feature-card .desc {
    font-size: 0.95rem;
    color: #444;
}
.footer {
  background: #0c0c0c;
  color: #ffffff;
  padding: 70px 20px 30px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p,
.footer-menu li {
  font-size: 15px;
  margin: 6px 0;
  color: #dcdcdc;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  opacity: 0.6;
}

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icon_fotter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #555;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s;
}

.icon_fotter:hover {
  border-color: #fff;
  opacity: 0.6;
}

/* Dolna linia */
.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* Responsywność */
@media (max-width: 900px) {
  .footer-container {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
/* Domyślna nawigacja */
/* --- MODAL --- */
.modal {
    display: none; /* domyślnie ukryty */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    overflow: auto; /* przewijanie jeśli treść większa niż okno */
}

.modal.active {
    display: flex;
}

/* --- ZAWARTOŚĆ MODALA --- */
.modal-content {
    background-color: #fff;
    color: black; /* tekst domyślnie czarny */
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh; /* ograniczenie wysokości okna */
    overflow-y: auto; /* przewijanie w oknie */
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* --- PRZYCISK ZAMYKANIA --- */
.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

/* --- TYTUŁY W MODALU --- */
.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- GALERIA MINIATUR --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    width: 100%;
    height: 250px; /* stała wysokość miniatur */
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* --- OBRAZ W PEŁNEJ ROZDZIELCZOŚCI PO KLIKU --- */
.modal-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* --- KATEGORIE W PORTFOLIO --- */
.categories {
    width: 100%;
    text-align: center; /* wycentrowane */
    margin-bottom: 20px;
}

.categories h2 {
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    display: inline-block;
    margin: 0 auto 15px auto;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.category-item:hover {
    background-color: #e9ecef;
}

.category-item.active {
    background-color: #007BFF;
    color: white;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .categories ul {
        gap: 5px;
    }
}






