/* ==========================================================================
   RESET I PODSTAWA
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../img/background.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    min-height: 100vh; /* zajmuje całe okno */
}

/* GŁÓWNA ZAWARTOŚĆ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main.site-content, main {
    flex: 1; /* rozpycha stopkę w dół */
    color: white;
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
    padding: 15px;
}

@media (min-width: 992px) {
    main.site-content, main{
        margin-top: 98px;
    }
}

@media (max-width: 991px) {
    main.site-content, main{
        margin-top: 122px;
    }
}


/* ==========================================================================
   HEADER / NAWIGACJA - NAPRAWIONA WERSJA
   ========================================================================== */
/* GŁÓWNE RESETOWANIE DLA HEADER */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Subtelna linia pod menu */
}

.site-header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LOGO */
.site-header__logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.site-header__logo strong {
    font-weight: 700;
}

.site-header__logo span {
    color: #4da3ff; /* Jasny niebieski z logo */
    font-weight: 400;
}

/* MENU */
.header-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 35px; /* Odstępy między linkami */
}

.header-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.header-menu li a:hover {
    color: #4da3ff;
}

/* PRZYCISK ZADZWOŃ */
.btn-nav-call {
    background-color: #0076f5; /* Kolor przycisku ze zdjęcia */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.3s ease;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.btn-nav-call:hover {
    background-color: #0066d6;
    transform: translateY(-2px);
}

/* POPRAWKA DLA HERO - treść musi być niżej */
.hero {
    padding-top: 180px !important; /* Odsuwamy treść Hero od zafiksowanego nagłówka */
}

/* ===================== RESPONSYWNE NAGŁÓWKI ===================== */

/* Hamburger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}
/* ===================== POPRAWIONE MENU MOBILNE ===================== */

@media (max-width: 992px) {
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%; /* teraz pełna szerokość ekranu */
        background: rgba(0, 0, 0, 0.95); /* delikatne przyciemnienie */
        flex-direction: column;
        gap: 40px; /* większe odstępy między linkami */
        padding-top: 120px; /* miejsce od góry */
        transition: right 0.35s ease, opacity 0.35s ease;
        opacity: 0;
        pointer-events: none;
        z-index: 998;
        text-align: center; /* linki wyśrodkowane */
    }

    .header-menu.active {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .header-menu li {
        margin: 0; /* usuwa domyślne marginesy */
    }

    .header-menu li a {
        font-size: 18px; /* większy, czytelny tekst */
        font-weight: 600;
        display: block;
        padding: 15px 0;
        transition: color 0.3s ease, transform 0.2s ease;
    }

    .header-menu li a:hover {
        color: #4da3ff;
        transform: translateX(5px); /* lekki efekt przy najechaniu */
    }

    .menu-toggle {
        display: flex;
        z-index: 1000; /* żeby było nad menu */
    }

    .site-header__cta {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .header-menu li a {
        font-size: 20px; /* jeszcze większe dla małych ekranów */
        padding: 20px 0;
    }

    .btn-nav-call {
        padding: 12px 30px;
        font-size: 14px;
    }

    .hero {
        padding-top: 160px !important;
    }
}
/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    color: #ffffff;
    padding: 180px 0 150px 0 !important;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    /* Tło hero może być ciemniejsze, żeby tekst był czytelny */
    background: rgba(0, 30, 90, 0.4); 
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__content {
    flex: 0 0 45%;
}

.hero__content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero__image {
    flex: 0 0 50%;
}

.hero__image img {
    max-width: 110%;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
}

/* ==========================================================================
   FEATURES (IKONY I KORZYŚCI)
   ========================================================================== */
.features {
    padding: 100px 0;
    background: #ffffff; /* Białe tło dla kontrastu po Hero */
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Stylizacja Twoich ikon SVG */
.benefit-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    stroke: #1873d0;
    stroke-width: 1.5;
    fill: none;
}

/* Specjalna klasa dla pierwszej ikony (wypełnione koło) */
.icon-check-filled {
    fill: #1873d0;
    stroke: none;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #002d5a;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #5a7184;
    line-height: 1.5;
}

/* ==========================================================================
   PRZYCISKI
   ========================================================================== */
.btn {
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn--primary { background: #1873d0; color: #ffffff; margin-right: 15px; }
.btn--primary:hover { background: #145da8; transform: translateY(-2px); }

.btn--secondary { background: #ffffff; color: #1873d0; }
.btn--secondary:hover { background: #f0f7ff; transform: translateY(-2px); }

.btn-nav-call {
    background-color: #1873d0;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ==========================================================================
   STOPKA
   ========================================================================== */
.site-footer {
    padding: 60px 0 30px;
    background: linear-gradient(0deg, rgba(24, 115, 208, 1) 0%, rgba(255, 255, 255, 1) 89%);
    border-top: 1px solid #eee;
}

.site-footer .footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer__logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #003399;
}

.footer__nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer__nav ul a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero__content { margin-bottom: 50px; }
    .features__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* KONTAKT - STYLE FORMULARZA */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 51, 153, 0.08); /* Delikatny niebieskawy cień */
    text-align: center;
}

.contact-box h2 {
    font-family: 'Montserrat', sans-serif;
    color: #003399;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f0f4f8;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fcfdfe;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Przycisk wysyłania */
#contact-form .btn--primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

#contact-form .btn--primary:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
}

#contact-form .btn--primary:active {
    transform: translateY(0);
}

/* Informacja o statusie (sukces/błąd) */
#form-msg {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
    .contact-box {
        padding: 25px;
        margin: 0 15px;
    }
}