html {
    scroll-behavior: smooth;
}


body {
    background: linear-gradient(to bottom, #f5f5f5, #e6f2fa);
    font-family: 'Rajdhani', sans-serif;
    color: #333333;
    padding-top: 60px;
    letter-spacing: 1px;
}


header {
    width: 100%;
    margin-bottom: 10px;
}


#banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100px;
    background: linear-gradient(90deg, steelblue, #2f5f87);
    border-radius: 10px;
}
#banner h1 {
    margin: 0;
    font-size: 42px;
    letter-spacing: 4px;
    color: #16212b;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

#logo {
    display: flex;
    align-items: center;
}
#logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

#tytul {
    display: flex;
    align-items: center;
    justify-content: center;
}


#menu {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: transparent; 
    z-index: 999;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
}
#menu > a {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid black;
    border-radius: 20px;
    background-color: steelblue;
    color: #16212b;
    text-decoration: none;
    font-size: 18pt;
    font-style: italic;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
    opacity: 0.5;
}
#menu > a:hover {
    background-color: #2f5f87;
    transform: translateY(-2px);
    opacity: 1;

}


@media (max-width: 768px) {
    #menu {
        gap: 10px;                 
        justify-content: center;   
        flex-wrap: wrap;           
    }

    #menu > a {
        flex: 1 1 auto;
        min-width: 80px;           
        max-width: calc(100% - 20px); 
        text-align: center;
        font-size: 12pt;
        padding: 8px 0;
        margin: 5px 5px;
    }
}


.sekcja {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.tytSekcji {
    width: 300px;
    text-align: center;
    margin: 15px auto ;

}


h2 {
    display: inline-block;
    width: 300px;
    font-size: 25pt;
    border: 1px solid black;
    border-radius: 20px;
    padding: 5px;
    background-color: steelblue;
    color: #16212b;
}


#goraStat {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}
.poleStat {
    width: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.koloStat {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid steelblue;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f7fa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.licznik {
    font-size: 35pt;
    font-weight: bolder;
    color: steelblue;
}
.podpis {
    margin-top: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20pt;
    text-transform: uppercase;
    color: #1c2b36;
}
#opisFirmy {
    width: 80%;
    max-width: 900px;
    margin: 40px auto 40px auto;
    text-align: center;
    line-height: 1.5;
    font-size: 17pt;
    font-style: italic;
    color: #1c2b36;
}
#opisFirmy p {
    margin: 0;
}


#listaUslug {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    box-sizing: border-box;
}

.usluga {
    min-height: 200px;
    border: 2px solid steelblue;
    border-radius: 15px;
    background-color: #f4f7fa;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.3s;
}
.usluga:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}
.usluga h3 {
    margin-top: 0;
    color: steelblue;
    font-size: 20pt;
}
.usluga p {
    color: #1c2b36;
    font-size: 14pt;
}

#uslugiPrzypis {
    text-align: center;
    margin-top: 40px;
    font-size: 15pt;
    font-style: italic;
    color: #2f5f87;
}
#usługiPrzypis p {
    margin: 0;
    padding: 0;
}
@media (max-width: 900px) {
    #uslugiLista {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #uslugiLista {
        grid-template-columns: 1fr;
    }
}


#galeria {
    width: 90%;
    max-width: 1400px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
#galeria .miniatura {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid steelblue;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
#galeria .miniatura:hover {
    transform: scale(1.05);
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid steelblue;
    border-radius: 10px;
}
#zamknij {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


#kontakt-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#kontakt-info p {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #1c2b36;
}
.ikonka {
    margin-right: 10px;
}
#kontakt-info a {
    color: steelblue;
    text-decoration: none;
    font-weight: bold;
}
#kontakt-info a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    #kontakt-info p {
        font-size: 16px;
    }
    .ikonka {
        width: 16px;
        height: 16px;
    }
}






