html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}


.section {
    min-height: 100vh;
    padding: 100px 20px;
    position: relative;
    scroll-margin-top: 80px; /* dla scroll-snap */
    scroll-snap-align: start;
}

html {
    scroll-behavior: smooth; /* Płynne przewijanie */
        scroll-snap-type: y proximity;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    padding-top: 80px; /* Miejsce na fixed header */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position:relative;
}

/* HEADER CONTAINER */
.header-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    
}

.container {
    width: 100%;
    max-width: 1800px; /* Zwiększona szerokość */
    margin: 0 auto;
    padding: 0 20px; /* Mniejsze boczne odstępy */
}


/* TOP-BAR */
.top-bar {
    background-color: #000;
    color: white;
    padding: 6px 0;
    font-size: 13px;
    width: 100%;
}

.top-bar-content {
    display: flex;
    justify-content: right; /* Telefon i email na przeciwległych końcach */
    max-width: 1800px; /* Maksymalna szerokość zawartości */
    margin: 0 auto;
    padding: 0 40px; /* Odstęp od krawędzi */
    gap: 20px;
}

.contact-info {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 0 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* MAIN HEADER */
main {
    flex: 1;
    position: relative;
    z-index: 1;
    margin-top: 0; /* usuwamy margines */
}

#main-header {
    background-color: rgb(235, 235, 235);
    padding: 0px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Cień zamiast rozmycia */
    border-bottom: 1px solid #e0e0e0; /* Delikatna linia */
}

.header-content {
    display: flex;
    justify-content: space-between; /* Logo i menu na przeciwległych końcach */
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 40px; /* Odstęp od krawędzi */
    background-color: rgb(235, 235, 235);
}

/* LOGO */
.logo img {
    height: 70px; /* Większe logo */
    width: auto;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.03);
}

/* DESKTOP MENU */
.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.desktop-menu a {
    color: #000; /* Czarny tekst */
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.desktop-menu a:hover {
    color: orange;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: orange;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

.desktop-menu ul {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* HAMBURGER MENU (ukryty na desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.mobile-menu {
    display: none;
    background-color: rgb(235, 235, 235);
    width: 100%;
    padding: 0 40px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.mobile-menu a:hover {
    color: orange;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .contact-info {
        justify-content: center;
        gap: 15px;
        font-size: 12px;
    }
}

/* MEDIA QUERIES */
@media (min-width: 1600px) {
    .container {
        padding: 0; /* Na bardzo szerokich ekranach - brak bocznych odstępów */
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px; /* Nieco mniejsze logo na mobile */
    }
}

/* SEKCJA HERO */
.hero {
    position: relative;
    height: 80vh; /* 80% wysokości viewportu */
    background: url('img/20250527_185914.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ciemny filtr 60% */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-button {
    display: inline-block;
    background-color: orange;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid orange;
    text-shadow: none;
}

.hero-button:hover {
    background-color: transparent;
    color: orange;
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-button {
        padding: 12px 25px;
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

.content-wrapper {
    position: relative;
    top: 0;
        min-height: 200vh !important;
    margin-top: 80px;
    padding-top: 20px;
    background: white; /* Tymczasowe - do testów */
    z-index: 1;
}

/*SEKCJA OFERTA*/
/* Sekcja Oferta */
.section-offer {
    padding: 0px 0;
    margin-top:20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.offer-tile {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.offer-tile:hover {
    transform: translateY(-10px);
}

.offer-icon {
    font-size: 3rem;
    color: orange;
    margin-bottom: 20px;
}

.offer-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.offer-tile p {
    color: #666;
    line-height: 1.6;
}

/* Sekcja partnerów */
.partners-section {
    text-align: center;
    margin-top: 50px;
}

.partners-title {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.partners-title:after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    background: orange;
    bottom: -10px;
    left: 25%;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.partners-logos img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Responsywność */
@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        gap: 20px;
    }
    
    .partners-logos img {
        height: 30px;
    }
}

/* Animacje */
.animate-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-section.visible,
.animate-el.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Opóźnienia */
.animate-el:nth-child(1) { transition-delay: 0.2s; }
.animate-el:nth-child(2) { transition-delay: 0.3s; }
.animate-el:nth-child(3) { transition-delay: 0.4s; }
.animate-el:nth-child(4) { transition-delay: 0.5s; }

/*O NAS*/
/* SEKCJA REALIZACJE - POPRAWIONA */
#realizacje {
    padding: 80px 0;
    margin-top: 0;
}

.container-about
    .container {
    max-width: 80%;
    margin: 0 auto;
}



/* SEKCJA O NAS */
#realizacje {
    padding: 80px 0;
    margin-top: 0;
    background: #ffffff;
}

.container-about {
    max-width: 80%;
    margin: 0 auto;
}

/* Sekcja O Nas */
.about-section {
    background: rgb(240, 240, 240);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-header {
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

/* Kafelki statystyk - POPRAWIONE */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-tile {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid orange;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Responsywność kafelków */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Zakres działania z mapką obok */
.coverage-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin: 40px auto;           /* Auto margin środkowanie */
    max-width: 1000px;           /* Ograniczenie szerokości */
    padding: 0 20px;             /* Odstęp od krawędzi w mniejszych ekranach */
    font-size: 1.3rem;
}

.coverage-text {
    flex: 1;
    min-width: calc(60% - 20px); /* 60% szerokości minus gap */
    box-sizing: border-box; /* Ważne dla poprawnego liczenia szerokości */
    padding-left: 80px;
    width: fit-content;
}


.coverage-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.coverage-list {
    list-style: none;
    padding-top: 30px;
    font-size: 1.5rem;
};
 
.coverage-list li {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.coverage-list i {
    color: orange;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Mapka - mała po prawej */
.coverage-map {
    flex: 0 0 calc(40% - 20px); /* 40% szerokości minus gap */
    box-sizing: border-box;
    position: sticky;
    top: 100px;
}

.map-image {
    width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .coverage-text,
    .coverage-map {
        flex: 0 0 100%; /* Na mniejszych ekranach jedna pod drugą */
        min-width: 100%;
        padding-left:0;
    }
    
    .coverage-map {
        position: static;
        margin-top: 20px;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .container-about {
        max-width: 95%;
    }
    
    .coverage-map {
        flex: 1 1 100%;
        position: static;
        margin-top: 30px;
    }
    
}
@media (max-width: 768px) {
    .coverage-text {
        padding-left: 0;
        flex: 0 0 100%; /* Na mniejszych ekranach jedna pod drugą */
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .coverage-list {
        font-size: 1.2rem;
    }

    .coverage-list li {
        font-size: 1.1rem;
    }
}



/* Galeria */
#galeria img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

#galeria img:hover {
    transform: scale(1.03);
}

.swiper {
    padding: 20px 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}



.lightbox .lb-image {
  border: 8px solid #444444 !important; /* Czerwona ramka */
}

/* Dodaj ikonkę FontAwesome */
.lb-data  {
  content: "\f00d"; /* Unicode ikonki "times" */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  color: #999999 !important; /* Pomarańczowy */
  cursor: pointer;
}

/*STOPKA*/
.contact-section {
  background-color: #222;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #fff;
}

.contact-subtitle {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-box {
  background-color: #2d2d2d;
  border: 2px solid #444;
  padding: 25px;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.contact-box:hover {
  border-color: orange;
}

.contact-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ccc;
}

.contact-box p a {
  text-decoration: none;
  color: #ccc;
}

.contact-box p a:hover {
  text-decoration: underline;
  color: orange;
}

@media (min-width: 768px) {
  .contact-details {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-box {
    width: 30%;
  }
}

/*FOOTER*/
.site-footer {
  background-color: #222;
  color: #eee;
  padding: 40px 20px 20px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container div {
  flex: 1 1 200px;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  color: #eee;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.footer-links ul li a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: #00bcd4;
}

.footer-contact a,
.footer-social a {
  color: #eee;
  text-decoration: none;
}

.footer-social .social-icons a {
  font-size: 1.6rem;
  margin-right: 10px;
  margin-top: 15px;
  padding-top: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.8rem;
  color: #aaa;
}
