/* === Podstawowe Style, Reset i Zmienne === */
:root {
    --primary-color: #2e4053; /* Jaśniejszy, bardziej przyjazny niebieski */
    --secondary-color: #2980b9; /* Ciemniejszy niebieski dla kontrastu */
    --accent-color: #f39c12; /* Akcent pomarańczowy */
    --light-bg: #f8f9fa; /* Bardzo jasne tło */
    --alternate-bg: #e9ecef; /* Lekko ciemniejsze tło dla sekcji */
    --text-color: #34495e; /* Ciemnoszary tekst */
    --heading-color: #2c3e50; /* Ciemniejszy dla nagłówków */
    --white-color: #ffffff;
    --border-color: #dee2e6;
    --heading-font: 'Merriweather', serif; /* Czcionka szeryfowa dla nagłówków */
    --body-font: 'Lato', sans-serif; /* Czcionka bezszeryfowa dla tekstu */
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color); /* Główne tło strony */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.7em;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.8em;
    position: relative;
}

/* Podkreślenie dla niektórych H2 */
h2.section-title-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px; /* Odstęp linii od tekstu */
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


h3 {
     font-size: 1.7rem;
}

p {
    margin-bottom: 1.2em;
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

section {
    padding: 80px 0;
}

.alternate-bg {
    background-color: var(--light-bg); /* Użycie jaśniejszego tła dla naprzemiennych sekcji */
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.05rem;
    color: #555; /* Ciemniejszy szary dla lepszego kontrastu */
    line-height: 1.6;
}


/* === Nagłówek i Nawigacja === */
header {
    background-color: var(--white-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo img#logo-image {
    height: 50px; /* Dopasuj wysokość logo */
    width: auto;
    margin-right: 15px; /* Odstęp między obrazkiem a tekstem */
    border-radius: 0; /* Logo nie musi mieć zaokrąglenia, jeśli nie pasuje */
}

header .logo h1 {
    font-size: 1.7rem;
    color: var(--heading-color);
    margin-bottom: 0; /* Usunięcie marginesu z h1 w logo */
    font-weight: 700;
}
header .logo h1:hover {
    color: var(--primary-color);
}

header nav ul.nav-list {
    list-style: none;
    display: flex;
}

header nav ul.nav-list li {
    margin-left: 28px;
}

header nav ul.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.95rem;
}

header nav ul.nav-list li a:hover,
header nav ul.nav-list li a.active {
    color: var(--white-color);
    background-color: var(--primary-color);
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--heading-color);
    padding: 5px;
    line-height: 1;
}


/* === Sekcja Hero === */
.hero-section {
    background-color: #2e4053;
    color: #FFF;
    text-align: center;
    padding: 100px 0 120px; /* Więcej paddingu na dole */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h2 {
    font-size: 3.2rem;
    margin-bottom: 0.7em;
    font-weight: 700;
    line-height: 1.2;
    color: #FFF;
}

.hero-section .hero-brand-name {
    color: #FFF;
    font-weight: 900;
}

.hero-section p {
    font-size: 1.15rem;
    margin-bottom: 1.5em;
    max-width: 10500px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF; /* Lepszy kontrast */
}

.hero-section p:last-of-type {
    margin-bottom: 2.5em;
}
.hero-cta-container {
    margin-top: 20px;
}

/* === Przyciski CTA === */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color) !important; /* Ważne, aby nadpisać kolor linku */
    padding: 15px 38px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin: 10px 8px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 7px 18px #f8f9fa;
}

.cta-button.secondary {
    background-color: var(--white-color);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
box-shadow: 0 7px 18px #f8f9fa;
}

/* === Sekcja Dlaczego My? / Ogólny Offer Grid === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-item {
    background-color: var(--white-color);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left; /* Domyślnie, można zmienić na center jeśli potrzeba */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.offer-item:hover {
     transform: translateY(-7px);
     box-shadow: var(--box-shadow-hover);
}

.offer-item h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    margin-top: 0; /* Reset, jeśli jest ikona powyżej */
}

.offer-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1; /* Aby tekst wypełnił dostępną przestrzeń */
    margin-bottom: 20px; /* Odstęp przed linkiem "Dowiedz się więcej" */
}

.offer-item a.learn-more {
    color: var(--primary-color);
    font-weight: bold;
    align-self: flex-start; /* Wyrównaj do lewej */
    margin-top: auto; /* Wypchnij na dół karty */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offer-item a.learn-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}


/* === Sekcja O Nas === */
#o-nas .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

#o-nas .about-content {
    flex: 1; /* Pozwól treści rosnąć */
    min-width: 300px; /* Minimalna szerokość dla treści */
}

#o-nas .about-content h2 {
    text-align: left; /* Wyrównanie do lewej dla H2 w tej sekcji */
    margin-bottom: 1em;
}
#o-nas .about-content h2::after { /* Usunięcie globalnego podkreślenia dla tego H2 */
    display: none;
}


#o-nas .about-content p {
    line-height: 1.8;
    margin-bottom: 1.5em;
}

#o-nas .about-content p strong {
    color: var(--heading-color);
    font-weight: 700;
}

#o-nas .about-image {
    flex: 1; /* Pozwól obrazkowi rosnąć */
    min-width: 300px; /* Minimalna szerokość dla obrazka */
    text-align: center; /* Wyśrodkowanie obrazka jeśli jest mniejszy */
}

#o-nas .about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px; /* Ograniczenie maksymalnej szerokości obrazka */
    margin: 0 auto; /* Wyśrodkowanie jeśli kontener jest szerszy */
}

/* === Sekcja Oferta (specyficzne style, jeśli potrzebne ponad .offer-grid) === */
#oferta {
    background-color: var(--alternate-bg); /* Jasne tło dla sekcji oferta */
}
#oferta h2 {
    color: var(--heading-color);
}
#oferta .section-intro {
    color: var(--text-color);
}

#oferta .price-info {
    text-align: center;
    margin-top: 50px;
    font-size: 0.95rem;
    color: #6c757d; /* Subtelniejszy kolor */
}

/* Dodatkowe usługi w sekcji Oferta */
#oferta .additional-services {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

#oferta .additional-services h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: var(--heading-color);
}

#oferta .additional-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2; /* Dwie kolumny dla listy */
    column-gap: 40px;
}

#oferta .additional-services li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding-left: 28px; /* Miejsce na ikonę */
    line-height: 1.6;
}

#oferta .additional-services li::before {
    content: '✓'; /* Znak "check" */
    position: absolute;
    left: 0;
    top: 3px; /* Dopasowanie pozycji */
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem; /* Rozmiar ikony */
}

/* === Sekcja Dla Kogo === */
#dla-kogo {
    background-color: var(--white-color); /* Lub var(--light-bg) jeśli ma być naprzemiennie */
}
.target-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.target-group-item {
    background-color: var(--white-color);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.target-group-item:hover {
     transform: translateY(-7px);
     box-shadow: var(--box-shadow-hover);
}

.target-group-item .icon-placeholder {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.8rem; /* Większe emoji */
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.target-group-item h3 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.target-group-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* === Sekcja Opinie === */
#opinie {
    background-color: var(--alternate-bg);
}
.testimonials-slider {
    /* W przyszłości można tu dodać style dla karuzeli */
}
.testimonial {
    max-width: 750px;
    margin: 0 auto 50px auto;
    text-align: center;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem; /* Nieco mniejszy dla lepszego dopasowania */
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    padding: 0 20px; /* Mniejszy padding, cudzysłowy na zewnątrz */
}

.testimonial blockquote::before,
.testimonial blockquote::after {
    content: '“'; /* Zmieniony cudzysłów */
    font-family: var(--heading-font);
    font-size: 4.5rem;
    color: var(--primary-color);
    opacity: 0.25;
    position: absolute;
    line-height: 0.5;
}

.testimonial blockquote::before {
    content: '“';
    top: -10px;
    left: -15px;
}

.testimonial blockquote::after {
    content: '”';
    bottom: -20px; /* Dopasowanie pozycji dolnego cudzysłowu */
    right: -15px;
}

.testimonial cite {
    font-weight: bold;
    color: var(--heading-color);
    font-style: normal;
    font-size: 1rem;
    display: block;
    margin-top: 10px;
}

/* === Sekcja Kontakt === */
#kontakt {
    background-color: var(--white-color); /* Jasne tło */
}
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 50px;
    align-items: flex-start; /* Wyrównanie do góry */
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 25px;
    font-size: 1.7rem;
    color: var(--heading-color);
}

.contact-info p {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 1rem;
}
.contact-info strong {
    color: var(--heading-color);
}
.contact-info a {
     color: var(--primary-color);
     font-weight: 500;
     word-break: break-word;
}
.contact-info a:hover {
    color: var(--secondary-color);
}
.contact-info p em { /* Styl dla dodatkowej informacji o umawianiu wizyt */
    font-size: 0.9rem;
    color: #6c757d;
    display: block;
    margin-top: 15px;
}


.contact-form-container form div {
    margin-bottom: 20px;
}
.contact-form-container form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--text-color);
}
.contact-form-container form input[type="text"],
.contact-form-container form input[type="email"],
.contact-form-container form input[type="tel"],
.contact-form-container form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 0; /* Usunięty margines, bo jest w div */
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-container form input[type="text"]:focus,
.contact-form-container form input[type="email"]:focus,
.contact-form-container form input[type="tel"]:focus,
.contact-form-container form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
.contact-form-container form button[type="submit"] {
    /* Styl dziedziczony z .cta-button */
    width: 100%; /* Przycisk na całą szerokość formularza */
    padding: 15px; /* Dopasowanie paddingu */
}
.contact-form-container form button[disabled] {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
 .contact-form-container form button[disabled]:hover {
     background-color: #cccccc;
     color: #666666;
     transform: none;
     cursor: not-allowed;
 }
.form-notice {
     font-size: 0.8rem;
     color: #777;
     margin-top: 15px;
     line-height: 1.5;
     text-align: center;
 }

.map-placeholder {
    height: 400px; /* Wyższa mapa */
    background-color: #e9e9e9;
    border: 1px solid var(--border-color);
    margin-top: 60px; /* Większy odstęp od formularza/danych kontaktowych */
    border-radius: var(--border-radius);
    overflow: hidden;
}
.map-placeholder iframe {
    border-radius: var(--border-radius); /* Zaokrąglenie dla iframe */
}


/* === Stopka === */
footer {
    background-color: var(--heading-color); /* Ciemne tło stopki */
    color: var(--light-bg); /* Jasny tekst w stopce */
    text-align: center;
    padding: 50px 0;
    margin-top: 80px;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
footer p:last-child {
    margin-bottom: 0;
}
footer a {
    color: #a7d7f9; /* Jaśniejszy niebieski dla linków w stopce */
    text-decoration: underline;
}
footer a:hover {
    color: var(--white-color);
    text-decoration: none;
}

/* === Responsywność === */
@media (max-width: 992px) { /* Tablety */
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.5rem; }
    .hero-section h2 { font-size: 2.8rem; }
    .container { padding: 0 25px; }
    section { padding: 70px 0; }

    #oferta .additional-services ul {
        columns: 1; /* Jedna kolumna na tabletach */
    }

    .contact-details {
        grid-template-columns: 1fr; /* Jedna kolumna dla kontaktu na tabletach */
        gap: 40px;
    }
    .contact-form-container {
        margin-top: 30px; /* Odstęp formularza od info na tabletach w jednej kolumnie */
    }
}

@media (max-width: 768px) { /* Mniejsze tablety i duże telefony */
    html { font-size: 15px; }

    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }
    .hero-section h2 { font-size: 2.4rem; }
    .hero-section p { font-size: 1.05rem; }
    section { padding: 60px 0; }

    header .container {
        flex-direction: row; /* Logo i hamburger w jednym rzędzie */
        align-items: center;
        position: relative; /* Dla pozycjonowania menu mobilnego */
    }
    header .logo h1 { font-size: 1.5rem; }
    header .logo img#logo-image { height: 40px; }


    #mobile-menu-toggle { display: block; }

    header nav ul.nav-list {
        display: none; /* Ukryte domyślnie */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Bezpośrednio pod nagłówkiem */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
        margin: 0; /* Reset marginesu */
    }
    header nav ul.nav-list.active { display: flex; } /* Pokazane po kliknięciu */

    header nav ul.nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0; /* Delikatny separator */
    }
    header nav ul.nav-list li:last-child { border-bottom: none; }

     header nav ul.nav-list li a {
         display: block;
         padding: 14px 15px;
         border-radius: 0; /* Brak zaokrąglenia w mobilnym menu */
         font-size: 1rem;
     }
     header nav ul.nav-list li a:hover,
     header nav ul.nav-list li a.active {
         background-color: var(--light-bg);
         color: var(--secondary-color);
     }

    .hero-section { padding: 80px 0; min-height: auto; }

    .offer-grid, .target-group-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na mobile */
        gap: 25px;
    }

    #o-nas .container {
        flex-direction: column;
        gap: 30px;
    }
    #o-nas .about-content h2 { text-align: center; } /* Wyśrodkowanie H2 na mobile */
    #o-nas .about-image {
         margin-top: 20px;
         order: -1; /* Obrazek na górze na mobile */
    }
    #o-nas .about-image img { max-width: 100%; }

    .testimonial { padding: 25px; }
    .testimonial blockquote { font-size: 1rem; }
    .testimonial blockquote::before, .testimonial blockquote::after { font-size: 3.5rem; }
    .testimonial blockquote::before { top: -5px; left: -10px; }
    .testimonial blockquote::after { bottom: -10px; right: -10px; }


    .map-placeholder { height: 300px; }
}

@media (max-width: 480px) { /* Małe telefony */
    .hero-section h2 { font-size: 2rem; }
    .hero-section p { font-size: 1rem; }
    .cta-button { padding: 12px 28px; font-size: 0.95rem; }
    #oferta .additional-services { padding: 30px 20px; }
    .contact-info p, .contact-form-container form label, .contact-form-container form input, .contact-form-container form textarea {
        font-size: 0.9rem; /* Mniejsza czcionka w formularzu kontaktowym */
    }
    .contact-form-container form input[type="text"],
    .contact-form-container form input[type="email"],
    .contact-form-container form input[type="tel"],
    .contact-form-container form textarea {
        padding: 12px;
    }
}
