/* Zmienne CSS na podstawie kolorów ze zrzutów */
:root {
    --color-navy: #0d1a26; 
    --color-white: #FFFFFF; 
    --color-accent: #00a2ff; 
    --color-text-dark: #333;
    --color-text-light: #ccd7e4; 
    --color-light-bg: #f8f8f8; 
    --color-box-bg: #1e3d59; 
    --font-main: 'Poppins', sans-serif;
    --padding-section: 80px 5%;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Ustawienia bazowe dla Landing Page */
html {
    /* BAJER: Płynne przewijanie do kotwic */
    scroll-behavior: smooth; 
}
body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--color-navy);
    font-weight: 700;
}

/* --- Komponenty --- */

/* Nagłówek (Header) */
header {
    background-color: var(--color-navy);
    padding: 1px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* BAJER: Delikatny cień pod nagłówkiem */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); 
}
.logo img {
    height: 100px; 
}
nav ul {
    list-style: none; margin: 0; padding: 0; display: flex;
}
nav ul li {
    margin-left: 30px;
}
nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s, border-bottom 0.3s;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--color-accent);
    /* BAJER: Aktywna linia pod linkiem */
    border-bottom: 2px solid var(--color-accent);
}

/* Przyciski (CTA Buttons) */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    padding: 12px 30px; /* Nieco większy padding */
    border-radius: 50px; /* Zaokrąglone rogi dla dynamiki */
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    /* BAJER: Cieplejszy cień na przycisku */
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4); 
}
.cta-button:hover {
    background-color: #0087c7;
    transform: translateY(-2px); /* Delikatne podniesienie */
    box-shadow: 0 6px 20px rgba(0, 162, 255, 0.6); 
}

/* --- SEKCJE --- */

/* 1. HERO SECTION */
.hero {
    background-color: var(--color-navy);
    color: var(--color-white);
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    padding: 100px 5%;
    min-height: 550px; /* Większa wysokość */
    background-image: url('background.jpg'); 
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; 
    overflow: hidden; /* Czyste krawędzie */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 26, 38, 0.8); /* Ciemniejsza nakładka */
    z-index: 1; 
}
.hero-content, .hero-logo-placeholder {
    z-index: 2; 
}
.hero-content {
    max-width: 45%; 
    text-align: right; 
}
.hero h1 {
    color: var(--color-white);
    font-size: 3.5em; /* Większy tytuł */
    margin-bottom: 15px;
}
/* BAJER: Efekt na logo, gdy jest animowane */
.hero-logo-placeholder img {
    width: 80%;
    opacity: 1; /* Zwiększamy widoczność do 100% */
    border-radius: 0; /* Usuwamy zaokrąglenie */
    box-shadow: none; /* TO USUWA RAMKĘ/CIEŃ */
}


/* 2. ABOUT US SECTION */
.about {
    padding: var(--padding-section);
    background-color: var(--color-light-bg);
    display: flex;
    gap: 5%;
    align-items: center;
}
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 45%;
}
.about-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    /* BAJER: Cień i skalowanie przy najechaniu */
    transition: transform 0.4s, box-shadow 0.4s;
}
.about-images img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-heavy);
}
.about-images img:nth-child(1) {
    grid-row: 1 / 3;
}
.about-content {
    width: 50%;
}
/* Styl dla Misji i Wizji */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    margin: 30px 0;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center; /* To przesunie przyciski na środek ich kontenera */
}


/* 3. HOW WE WORK SECTION (OUR PROCESS) */
.how-we-work {
    padding: var(--padding-section);
    background-color: var(--color-white); 
    text-align: center;
}
/* Siatka kroków (5 elementów) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.step-box {
    background-color: var(--color-light-bg); 
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border-top: 5px solid var(--color-accent);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-box:hover {
    transform: translateY(-5px) scale(1.02); /* BAJER: Podniesienie i skalowanie */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    /* BAJER: Delikatny cień na numerze */
    box-shadow: 0 0 0 3px var(--color-accent), 0 0 15px rgba(0, 0, 0, 0.4);
}


/* 4. WHY POLAND? (id="poland") */
.poland {
    padding: var(--padding-section);
    background-color: var(--color-navy);
    color: var(--color-white);
    display: flex;
    gap: 5%;
    align-items: center;
}
.poland-content {
    width: 50%;
}
.poland-image {
    width: 45%;
}
.poland-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0.9;
    /* BAJER: Efekt Glitch na krawędzi obrazu */
    box-shadow: 0 0 30px var(--color-accent);
}
.poland h2 {
    color: var(--color-white);
}
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.reasons-grid div {
    /* BAJER: Ciemniejsze tło na boxach wewnątrz navy */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}
.reasons-grid h3 {
    color: var(--color-accent);
}

.poland-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* 5. EXPERTISE / ROLES SECTION */
.roles {
    padding: var(--padding-section);
    background-color: var(--color-light-bg); 
    text-align: center;
}
/* Siatka ról (3 kolumny) */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.role-box {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s; 
    box-shadow: var(--shadow-light); 
    border-left: 5px solid transparent; /* BAJER: Zmiana border-bottom na border-left */
}
.role-box:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-heavy);
    border-left: 5px solid var(--color-accent);
}
.role-box .icon {
    color: var(--color-accent);
    font-size: 3em; /* Większe ikony */
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.4s;
    /* BAJER: Delikatny puls przy najechaniu */
}
.role-box:hover .icon {
    transform: scale(1.15) rotate(5deg);
}

/* --- SEKCOJA KONTAKT --- */
.contact-form-section {
    padding: var(--padding-section);
    display: flex;
    flex-direction: column;
    align-items: center; 
    background-color: var(--color-white);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Formularz na 1/3 szerokości */
.contact-form-main {
    width: 100%;
    max-width: 500px; 
    margin-bottom: 80px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-container input, 
.form-container textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: var(--color-light-bg);
    transition: all 0.3s ease;
}

.form-container input:focus, 
.form-container textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 162, 255, 0.1);
}

/* Style dla checkboxów (ptaszek z lewej) */
.checkbox-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px; /* Wyrównanie do pierwszej linii tekstu */
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
    cursor: pointer;
}

/* Dolna sekcja (Info + Obrazek) */
.contact-footer-info {
    display: flex;
    width: 100%;
    max-width: 1100px;
    gap: 50px;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 50px;
}

.contact-details-box {
    flex: 1;
}

.contact-detail-item {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-detail-item strong {
    color: var(--color-navy);
}

.contact-visual-placeholder {
    flex: 1;
}

.contact-visual-placeholder img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

/* Responsywność */
@media (max-width: 768px) {
    .contact-footer-info {
        flex-direction: column;
        text-align: center;
    }
    .contact-form-main {
        max-width: 100%;
    }
}

/* Dolna część z danymi i obrazkiem */
.contact-footer-info {
    display: flex;
    width: 100%;
    max-width: 1100px;
    gap: 50px;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 50px;
}

.contact-details-box {
    flex: 1;
}

.contact-detail-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-detail-item strong {
    color: var(--color-navy);
}

.contact-visual-placeholder {
    flex: 1;
}

.contact-visual-placeholder img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

/* Responsywność dla mobile */
@media (max-width: 768px) {
    .contact-footer-info {
        flex-direction: column;
        text-align: center;
    }
    .contact-form-main {
        max-width: 100%;
    }
}


/* 7. FOOTER - Poprawka */
footer {
    background-color: var(--color-navy);
    color: var(--color-text-light);
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    align-items: start;
}

/* 7. FOOTER - Poprawka */
footer {
    background-color: var(--color-navy);
    color: var(--color-text-light);
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    align-items: start;
}

/* CELUJEMY TYLKO W LOGO: Dodajemy klasę .logo-footer w HTML lub używamy selektora bezpośredniego */
.footer-logo-section > img {
    height: 150px; 
    width: auto;
    display: block;
    margin-bottom: 20px;
}

/* Style dla Social Media - IKONKI */
.social-links {
    display: flex;
    gap: 12px; 
    margin-top: 15px;
}

/* Kluczowa zmiana: wymuszamy rozmiar ikonek, żeby nie dziedziczyły 150px */
.social-icon {
    width: 24px !important;  
    height: 24px !important;
    filter: brightness(0) invert(1); 
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block; /* Ważne dla poprawnego wyświetlania */
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}


/* --- RESPONSIVE CSS (Dla telefonów i tabletów) --- */
@media (max-width: 992px) {
    /* Mniejszy margines na tabletach */
    .roles-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 768px) {
    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
        min-height: auto;
    }
    .hero-content, .hero-logo-placeholder {
        max-width: 100%;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5em;
    }

    /* ABOUT US, WHY POLAND, KONTAKT */
    .about, .poland, .contact-form-section {
        flex-direction: column;
        gap: 30px;
    }
    .about-images, .about-content, .poland-image, .poland-content, .contact-info-block, .contact-form {
        width: 100%;
    }
    .about-images {
        grid-template-columns: 1fr;
    }
    .about-images img:nth-child(1) {
        grid-row: auto;
    }
    .mission-vision-grid, .reasons-grid {
        grid-template-columns: 1fr;
    }

    /* KROKI (HOW WE WORK) */
    .steps-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }

    /* ROLES / EXPERTISE */
    .roles-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}

/* ============================================================
   7. FOOTER - FINALNA NAPRAWA KOLORÓW I ROZMIARÓW
   ============================================================ */
footer {
    background-color: #0d1a26 !important; /* Wymuszony granat */
    color: #ffffff !important;
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Logo - 150px wysokości */
.footer-logo-section > img {
    height: 150px !important;
    width: auto !important;
    display: block;
    margin-bottom: 20px;
}

/* Linki w stopce - ABSOLUTNY RESET KOLORÓW */
footer a, 
footer a:link, 
footer a:visited, 
footer ul li a, 
footer .contact-info a {
    color: #ffffff !important; /* WYMUSZONA BIEL */
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Hover dla wszystkich linków w stopce */
footer a:hover, 
footer ul li a:hover {
    color: #00a2ff !important; /* Akcent niebieski */
    text-decoration: underline !important;
}

/* Ikonki Social Media - WYMUSZONE 24px */
.social-icon {
    width: 24px !important;
    height: 24px !important;
    filter: brightness(0) invert(1) !important; /* Białe ikonki */
    display: inline-block;
    opacity: 0.8 !important;
}

.social-icon:hover {
    opacity: 1 !important;
}

/* Nagłówki i teksty */
footer h3 { color: #ffffff !important; margin-bottom: 20px; }
footer p { color: #ccd7e4 !important; }

/* RWD - Mobile */
@media (max-width: 768px) {
    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-section > img {
        margin: 0 auto 20px;
    }
    .social-links {
        justify-content: center;
    }
}

