/* Paleta kolorów: */
/* Czerń: #000000 (główne tło strony) */
/* Ciemny grafit: #222222 (tło kontenera, stopki) */
/* Ciepły żółty/złoty: #FFD700 (akcenty, linki, obramowania) */
/* Biały/Jasny szary: #FFFFFF, #E0E0E0 (tekst na ciemnym tle) */
/* Lekko jaśniejszy żółty do hovera: #FFE033 */
/* NOWY AKCENT DLA NAGŁÓWKA: #FFC000 (ciepły złoty/pomarańczowy) */

body {
    font-family: 'Roboto', sans-serif; /* Dodana czcionka Roboto */
    margin: 0;
    padding: 0;
    background-color: #000000; /* Całe czarne tło strony */
    color: #E0E0E0; /* Jasny tekst na czarnym tle */
    line-height: 1.6;
}
header {
    background-color: #222222; /* Tło nagłówka ciemne szare */
    background-image: linear-gradient(to right, #1a1a1a, #222222, #1a1a1a);
    color: #FFFFFF; /* Biały tekst nagłówka */
    padding: 50px 20px; /* Zwiększony padding dla większej wysokości */
    text-align: center;
    box-shadow: 0 2px 5px rgba(255,255,255,0.1); /* Delikatny biały cień */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Ukrywa wszystko co wychodzi poza header, np. cień tekstowy */
}
header .logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 210px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    z-index: 2;
    transition: transform 0.3s ease; /* Płynne przejście dla transformacji */
}
header .logo.right {
    left: auto;
    right: 20px;
}
header h1 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.2em;
    color: #FFC000;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
    padding-left: 240px;
    padding-right: 240px;
    line-height: 1.2;
    z-index: 1;
    transition: font-size 0.3s ease, padding 0.3s ease; /* Płynne przejście dla rozmiaru i paddingu */
}
header p {
     display: none;
}
nav {
    background-color: #111111;
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px solid #FFD700;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline-block;
    margin: 0 15px;
}
nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease; /* Dodana animacja dla border-radius */
}
nav ul li a:hover, nav ul li a.active {
    background-color: #FFD700;
    color: #000000;
    border-radius: 5px;
}
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #222222;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
h2, h3 {
    color: #FFFFFF;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease; /* Animacja dla nagłówków */
}
h2.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Zezwala na zawijanie elementów na małych ekranach */
    justify-content: center; /* Wyśrodkowanie na małych ekranach */
}
h2.section-header-with-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #222222;
    color: #E0E0E0;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Animacja dla sekcji */
}
section#onas {
    background-color: #333333;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(255,255,255,0.08);
}
section#onas h2 {
    color: #FFFFFF;
    border-bottom-color: #FFD700;
}
section#onas p strong {
    color: #FFD700;
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    border: 1px solid #444444;
    padding: 15px;
    border-radius: 5px;
    background-color: #333333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animacja dla elementów usługi */
}
.service-item:hover {
    transform: translateY(-5px); /* Delikatne uniesienie po najechaniu */
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.service-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 3px solid #FFD700;
    background-color: #222222;
    padding: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease; /* Animacja dla ikon usług */
}
.service-item:hover img {
    transform: scale(1.05); /* Lekkie powiększenie ikony */
    border-color: #FFE033;
}

.service-content {
    flex-grow: 1;
}
.service-content h3 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
    color: #FFD700;
}
.service-content ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #E0E0E0;
}
.offer-list ul {
    list-style: none;
    padding: 0;
    background-color: #333333;
    border-radius: 5px;
    padding: 10px 0;
}
.offer-list ul li {
    background: #444444;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 4px;
    font-size: 1.1em;
    color: #FFFFFF;
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Animacja dla elementów listy oferty */
}
.offer-list ul li:hover {
    background-color: #555555;
    border-left-color: #FFE033;
}
.contact-info p.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.contact-info p.contact-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-info a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    color: #FFE033;
    text-decoration: underline; /* Podkreślenie po najechaniu */
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #000000;
    color: #FFFFFF;
    box-shadow: 0 -2px 5px rgba(255,255,255,0.1);
}
footer p {
    margin: 5px 0;
    color: #CCCCCC;
}
/* Responsywność */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }
    header {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    header .logo {
        position: static;
        transform: none;
        margin-bottom: 15px;
        width: 120px;
        height: auto;
    }
    header .logo.right {
        display: none;
    }
    header h1 {
        padding-left: 0;
        padding-right: 0;
        font-size: 1.8em;
        letter-spacing: 0.5px;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    .service-item img {
        margin: 0 auto 15px auto;
    }
    section {
        padding: 15px;
    }
    h2.section-header-with-icon {
        flex-direction: column;
        text-align: center;
        gap: 10px; /* Zmniejszony odstęp na mobilnych */
    }
}