/* ===== RESET I PODSTAWOWE STYLE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f2f2f2;
    font-size: 16px;
}


/* ===== ZMIENNE CSS ===== */
:root {
    /* Główne kolory z screenów */
    --kolor-glowny: #0056A6;          /* Ciemny granat (nagłówek) */
    --kolor-drugi: #00274C;           /* Nieco jaśniejszy granat */
    --kolor-akcent: #FF6633;          /* Czerwony akcent (przyciski, linki) */
    --kolor-akcent2: #c0392b;         /* Ciemniejszy czerwony (hover) */
    --kolor-tekst: #333333;           /* Główny kolor tekstu */
    --kolor-tekst2: #666666;          /* Drugorzędny tekst */
    --kolor-tla: #ffffff;             /* Tło białe */
    --kolor-tla2: #f8f9fa;            /* Lekkie tło szare */
    --kolor-tla3: #ecf0f1;            /* Tło sekcji */
    --kolor-ramka: #ddd;              /* Kolor ramek */
    
    /* Czcionki - proste, czytelne */
    --czcionka-naglowki: 'Arial', 'Helvetica', sans-serif;
    --czcionka-tekst: 'Arial', 'Helvetica', sans-serif;
    
    /* Cienie - subtelne */
    --cień: 0 2px 5px rgba(0, 0, 0, 0.1);
    --cień-ciemny: 0 4px 10px rgba(0, 0, 0, 0.15);
    
    /* Zaokrąglenia */
    --zaokraglenie: 5px;
    --zaokraglenie-duze: 8px;
    
    /* Przejścia */
    --przejscie: all 0.3s ease;
}

/* ===== TYPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--czcionka-naglowki);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--kolor-glowny);
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--kolor-akcent);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--kolor-akcent);
    transition: var(--przejscie);
}

a:hover {
    color: var(--kolor-akcent2);
}

/* ===== LAYOUT I KONTENER ===== */
.kontener {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== PRZYCISKI ===== */
.przycisk {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--kolor-akcent);
    color: white;
    border: none;
    border-radius: var(--zaokraglenie);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--przejscie);
    text-align: center;
    font-family: var(--czcionka-naglowki);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.przycisk:hover {
    background-color: var(--kolor-akcent2);
    transform: translateY(-2px);
    box-shadow: var(--cień-ciemny);
    color: white;
}

.przycisk.pomaranczowy {
    background-color: var(--kolor-akcent);
}

.przycisk.pomaranczowy:hover {
    background-color: var(--kolor-akcent2);
}

.przycisk.outline {
    background-color: transparent;
    color: var(--kolor-glowny);
    border: 2px solid var(--kolor-glowny);
}

.przycisk.outline:hover {
    background-color: var(--kolor-glowny);
    color: white;
}

.przycisk-pełna-szerokość {
    display: block;
    width: 100%;
}

/* ===== NAGŁÓWEK ===== */
.naglowek {
    background-color: var(--kolor-glowny);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--cień);
}

.zawartosc-naglowka {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--przejscie);
}

.logo:hover {
    opacity: 0.9;
}

.ikona-logo {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ikona-logo i {
    font-size: 24px;
    color: white;
    z-index: 2;
    position: relative;
}

.kolo-tlo {
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.tekst-logo {
    display: flex;
    flex-direction: column;
}

.logo-glowny {
    font-family: var(--czcionka-naglowki);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-dodatkowy {
    font-family: var(--czcionka-naglowki);
    font-weight: 600;
    font-size: 0.85rem;
    color: #ff9999;
    line-height: 1;
}

/* ===== NAWIGACJA ===== */
.nawigacja-glowne {
    display: flex;
    align-items: center;
}

.lista-nawigacji {
    display: flex;
    gap: 25px;
}

.link-nawigacji {
    font-family: var(--czcionka-naglowki);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.link-nawigacji:hover, .link-nawigacji.aktywny {
    color: white;
}

.link-nawigacji.aktywny:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--kolor-akcent);
}

.przycisk-menu-mobilne {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== HERO SEKACJA ===== */
.hero {
    background-color: var(--kolor-drugi);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero .kontener {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zawartosc-hero {
    flex: 1;
    max-width: 600px;
}

.tytul-hero {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    border-bottom: none;
}

.tytul-hero span {
    color: var(--kolor-akcent);
}

.tekst-hero {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.tekst-hero strong {
    color: var(--kolor-akcent);
}

.przyciski-hero {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.obraz-hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ikona-silnika {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
}

/* ===== GŁÓWNA ZAWARTOŚĆ ===== */
.zawartosc-glowna {
    padding: 60px 0;
    background-color: var(--kolor-tla);
}

.tytul-sekcji {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.tytul-sekcji:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--kolor-akcent);
}

.podtytul-sekcji {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--kolor-tekst2);
    font-size: 1.05rem;
}

/* ===== SEKCJA "O NAS" ===== */
.sekcja-onas {
    margin-bottom: 60px;
}

.zawartosc-onas {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 3rem;
}

.tekst-onas {
    flex: 1;
}

.obraz-onas {
    flex: 1;
}

.ramka-wyróżnienie {
    background-color: var(--kolor-tla2);
    border-left: 4px solid var(--kolor-akcent);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 var(--zaokraglenie) var(--zaokraglenie) 0;
}

.ramka-wyróżnienie h3 {
    color: var(--kolor-glowny);
    margin-bottom: 0;
    font-size: 1.3rem;
}

.czytać-więcej {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kolor-akcent);
    font-weight: 600;
    margin-top: 10px;
}

.czytać-więcej:hover {
    color: var(--kolor-akcent2);
    gap: 12px;
}

.miejsce-na-obraz {
    background-color: var(--kolor-tla2);
    border-radius: var(--zaokraglenie);
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--cień);
    border: 1px solid var(--kolor-ramka);
}

.miejsce-na-obraz i {
    font-size: 3.5rem;
    color: var(--kolor-glowny);
    margin-bottom: 15px;
}

.miejsce-na-obraz p {
    font-weight: 600;
    color: var(--kolor-glowny);
    margin-bottom: 0;
}

/* ===== SEKCJA USŁUGI ===== */
.sekcja-usługi {
    margin-bottom: 60px;
}

.siatka-usług {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.karta-usługi {
    background-color: var(--kolor-tla);
    border-radius: var(--zaokraglenie);
    padding: 25px;
    box-shadow: var(--cień);
    transition: var(--przejscie);
    text-align: center;
    border: 1px solid var(--kolor-ramka);
}

.karta-usługi:hover {
    transform: translateY(-5px);
    box-shadow: var(--cień-ciemny);
    border-color: var(--kolor-akcent);
}

.ikona-usługi {
    font-size: 2.2rem;
    color: var(--kolor-glowny);
    margin-bottom: 15px;
}

.karta-usługi h3 {
    color: var(--kolor-glowny);
    margin-bottom: 10px;
}

.wycentrowany {
    text-align: center;
}

/* ===== SEKCJA CTA ===== */
.sekcja-cta {
    background-color: var(--kolor-tla2);
    padding: 50px;
    border-radius: var(--zaokraglenie-duze);
    margin-bottom: 60px;
    text-align: center;
    border: 1px solid var(--kolor-ramka);
}

.sekcja-cta h2 {
    color: var(--kolor-glowny);
    margin-bottom: 20px;
}

.sekcja-cta > p {
    max-width: 800px;
    margin: 0 auto 25px;
}

.cechy {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.cecha {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--kolor-tla);
    padding: 10px 18px;
    border-radius: var(--zaokraglenie);
    box-shadow: var(--cień);
    border: 1px solid var(--kolor-ramka);
}

.cecha i {
    color: var(--kolor-akcent);
    font-size: 1.1rem;
}

.przyciski-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== FORMULARZ KONTAKTOWY ===== */
.sekcja-formularz {
    margin-bottom: 60px;
}

.kontener-formularza {
    background-color: var(--kolor-tla);
    border-radius: var(--zaokraglenie-duze);
    padding: 35px;
    box-shadow: var(--cień);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--kolor-ramka);
}

.grupa-formularza {
    margin-bottom: 20px;
}

.grupa-formularza label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--kolor-glowny);
}

.grupa-formularza input,
.grupa-formularza textarea,
.grupa-formularza select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--kolor-ramka);
    border-radius: var(--zaokraglenie);
    font-family: var(--czcionka-tekst);
    font-size: 1rem;
    transition: var(--przejscie);
    background-color: var(--kolor-tla2);
}

.grupa-formularza input:focus,
.grupa-formularza textarea:focus,
.grupa-formularza select:focus {
    outline: none;
    border-color: var(--kolor-akcent);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    background-color: white;
}

.rzedy-formularza {
    display: flex;
    gap: 20px;
}

.rzedy-formularza .grupa-formularza {
    flex: 1;
}

/* ===== STOPKA ===== */
.stopka {
    background-color: var(--kolor-glowny);
    color: white;
    padding: 50px 0 25px;
}

.zawartosc-stopki {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.info-stopka .logo-glowny {
    color: white;
}

.opis-stopka {
    margin: 15px 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.5;
}

.linki-spolecznosciowe {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.linki-spolecznosciowe a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
    transition: var(--przejscie);
    color: white;
}

.linki-spolecznosciowe a:hover {
    background-color: var(--kolor-akcent);
    transform: translateY(-3px);
}

.linki-stopki h3,
.kontakt-stopka h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.linki-stopki h3:after,
.kontakt-stopka h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--kolor-akcent);
}

.linki-stopki ul li,
.kontakt-stopka ul li {
    margin-bottom: 10px;
}

.linki-stopki ul li a {
    opacity: 0.9;
    transition: var(--przejscie);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.linki-stopki ul li a:hover {
    opacity: 1;
    color: var(--kolor-akcent);
    padding-left: 5px;
}

.kontakt-stopka ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.kontakt-stopka ul li i {
    color: var(--kolor-akcent);
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.dol-stopki {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ===== STRONY PODRĘCZNIKÓW ===== */
.zawartosc-strony {
    padding: 40px 0 60px;
    background-color: var(--kolor-tla);
    min-height: 60vh;
}

.tytul-strony {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Styl dla strony "O nas" */
.sekcja-misja {
    background-color: var(--kolor-tla2);
    padding: 30px;
    border-radius: var(--zaokraglenie);
    margin-top: 30px;
    border: 1px solid var(--kolor-ramka);
}

.sekcja-misja h2 {
    color: var(--kolor-glowny);
    margin-bottom: 15px;
}

/* Styl dla strony "Usługi" */
.siatka-cennik {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.karta-cennik {
    background-color: var(--kolor-tla);
    border-radius: var(--zaokraglenie);
    padding: 25px;
    box-shadow: var(--cień);
    text-align: center;
    border: 1px solid var(--kolor-ramka);
    transition: var(--przejscie);
}

.karta-cennik:hover {
    border-color: var(--kolor-akcent);
    transform: translateY(-5px);
}

.cena {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--kolor-akcent);
    margin: 15px 0;
}

.opis-ceny {
    font-size: 0.95rem;
    color: var(--kolor-tekst2);
    margin-bottom: 20px;
}

/* Styl dla strony "Kontakt" */
.siatka-kontakt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.karta-kontakt {
    background-color: var(--kolor-tla);
    border-radius: var(--zaokraglenie);
    padding: 25px;
    box-shadow: var(--cień);
    border: 1px solid var(--kolor-ramka);
}

.ikona-kontakt {
    font-size: 2.2rem;
    color: var(--kolor-glowny);
    margin-bottom: 15px;
}

.karta-kontakt h3 {
    margin-bottom: 15px;
    color: var(--kolor-glowny);
}

.lista-kontakt {
    list-style: none;
}

.lista-kontakt li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.lista-kontakt li i {
    color: var(--kolor-akcent);
    margin-top: 3px;
    font-size: 0.9rem;
}

/* Mapa */
.mapa {
    width: 100%;
    height: 350px;
    background-color: var(--kolor-tla2);
    border-radius: var(--zaokraglenie);
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid var(--kolor-ramka);
}

.placeholder-mapy {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--kolor-tla3);
    color: var(--kolor-tekst2);
}

.placeholder-mapy i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--kolor-glowny);
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 992px) {
    .hero .kontener {
        flex-direction: column;
        text-align: center;
    }
    
    .zawartosc-hero {
        margin-bottom: 30px;
    }
    
    .przyciski-hero {
        justify-content: center;
    }
    
    .zawartosc-onas {
        flex-direction: column;
    }
    
    .rzedy-formularza {
        flex-direction: column;
        gap: 0;
    }
    
    .siatka-kontakt,
    .siatka-cennik {
        grid-template-columns: 1fr;
    }
    
    .sekcja-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .przycisk-menu-mobilne {
        display: block;
    }
    
    .lista-nawigacji {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: var(--kolor-glowny);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--cień);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--przejscie);
        z-index: 999;
    }
    
    .lista-nawigacji.widoczne {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .lista-nawigacji li {
        width: 100%;
        text-align: center;
    }
    
    .link-nawigacji {
        display: block;
        padding: 12px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .tytul-hero {
        font-size: 2rem;
    }
    
    .cechy {
        gap: 10px;
    }
    
    .cecha {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .kontener-formularza {
        padding: 25px 15px;
    }
    
    .siatka-usług {
        grid-template-columns: 1fr;
    }
    
    .stopka {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .przyciski-hero,
    .przyciski-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .przycisk {
        width: 100%;
    }
    
    .cechy {
        flex-direction: column;
        align-items: center;
    }
    
    .cecha {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .sekcja-misja {
        padding: 20px 15px;
    }
    
    .logo-glowny {
        font-size: 1.3rem;
    }
    
    .logo-dodatkowy {
        font-size: 0.75rem;
    }
}

/* ===== DODATKOWE STYLE DLA SPECJALNYCH ELEMENTÓW ===== */

/* Style dla komunikatów błędów */
.kontener-bledow {
    background: #ffeaea;
    border-left: 4px solid #d9534f;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.kontener-bledow h3 {
    color: #d9534f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontener-bledow ul {
    margin: 0;
    padding-left: 20px;
}

.kontener-bledow li {
    margin-bottom: 5px;
}

/* Style dla pól z błędami */
.pole-z-bledem {
    border-color: #d9534f !important;
    background-color: #fff8f8 !important;
}

.pole-z-bledem:focus {
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.1) !important;
}

/* Liczniki znaków */
.ilosc-znakow {
    text-align: right;
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sekcje z gradientem */
.sekcja-gradient {
    background: linear-gradient(135deg, var(--kolor-glowny) 0%, var(--kolor-drugi) 100%);
    color: white;
}

.sekcja-gradient h1,
.sekcja-gradient h2,
.sekcja-gradient h3,
.sekcja-gradient p {
    color: white;
}

/* Card hover efekty */
.karta-usługi, .karta-cennik, .karta-kontakt {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Separatory */
.separator {
    height: 1px;
    background-color: var(--kolor-ramka);
    margin: 30px 0;
    width: 100%;
}

/* Tooltipy */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--kolor-glowny);
    color: white;
    padding: 5px 10px;
    border-radius: var(--zaokraglenie);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

/* Loader/spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .naglowek, .stopka, .przyciski-hero, .przycisk {
        display: none;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .kontener {
        max-width: 100%;
        padding: 0;
    }
}