:root {
    --primary-color: #fff; /* Główny kolor tła (biały) */
    --secondary-color: #000; /* Kolor tekstu (czarny) */
    --accent-color: #D39FD5; /* Nowy wrzosowy kolor dla przycisków i akcentów */
    --text-light: #555; /* Ciemniejszy tekst dla stopki itp. */
    --font-family: 'Arial', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--primary-color); /* Białe tło */
    color: var(--secondary-color); /* Czarny tekst */
    overflow-x: hidden;
}

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

a {
    color: var(--secondary-color); /* Czarne linki */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color); /* Wrzosowy hover dla linków */
}

/* Nagłówek (Header) */
header {
    background-color: var(--primary-color); /* Białe tło nagłówka */
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Ciemniejsza linia pod nagłówkiem */
    position: relative;
    z-index: 100;
}

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

.logo a {
    font-size: 1.5em; 
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--secondary-color);
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.site-logo {
    max-height: 40px; 
    width: auto; 
    display: block; 
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Wyśrodkowanie pionowe linków i przycisku lang */
}

nav ul li {
    margin-left: 30px;
}

nav ul a {
    font-weight: bold;
    font-size: 0.95em;
    text-transform: uppercase;
    padding: 5px 0;
    color: var(--secondary-color); 
}

/* --- Przełącznik Języka --- */
.lang-switch-container {
    margin-left: 20px;
}

.lang-btn {
    font-size: 0.8em;
    font-weight: bold;
    padding: 4px 10px;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.lang-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    border-color: var(--accent-color);
}

/* Przycisk menu mobilnego */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color); 
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px;
}

/* --- */
/* Sekcja Bohatera (Hero Section) */
.hero-section {
    min-height: 80vh;
    position: relative; 
    overflow: hidden;   
    background-color: var(--primary-color); 
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('img/bckgd.png'); 
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
}

.hero-section .background-video {
    position: absolute; 
    top: 0;             
    left: 0;            
    width: 100%;        
    height: 100%;       
    object-fit: cover;  
    z-index: 0;         
}

.hero-content-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;         
    display: flex;      
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    background: rgba(0, 0, 0, 0.4); 
    padding: 80px 20px; 
    box-sizing: border-box; 
    color: var(--primary-color); 
}

#main-index-section {
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('img/main-bckgd.png'); 
}

#main-mfctg-section {
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('img/proj.png'); 
}

#main-contact-section {
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('img/contact-bckgd.png');
}
#main-about-section {
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('img/about-bckgd.png');
}
.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 900px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    color: inherit; 
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: inherit; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Przyciski */
.btn {
    display: inline-block;
    background-color: var(--accent-color); 
    color: var(--primary-color); 
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #B27FC4; 
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: #542F55; 
    color: var(--primary-color); 
    border: 2px solid #542F55; 
}

.btn.secondary:hover {
    background-color: #9B719D; 
    border-color: #9B719D; 
    color: var(--primary-color); 
    transform: translateY(-2px); 
}

/* Sekcje treści (Content Sections) */
.content-section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    min-height: 450px; 
}

.content-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    gap: 40px;
    position: relative;
    z-index: 2;
    color: var(--secondary-color); 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2); 
    width: 100%; 
}

.content-section .text-content {
    flex: 0 0 auto; 
    width: 500px; 
    max-width: 90%; 
    padding: 20px; 
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-section.space-launch .text-content {
    margin-right: auto; 
    margin-left: 5%; 
}

.content-section.reverse-order .text-content {
    margin-left: auto; 
    margin-right: 5%; 
}

.about-image-container {
    flex: 0 0 auto; 
    width: 500px; 
    max-width: 90%; 
    display: flex; 
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.about-image {
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}

.content-section.reverse-order .container {
    flex-direction: row-reverse;
}

.content-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-light); 
}

/* Style dla formularza kontaktowego */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 10px;
}

.contact-info {
    max-width: 500px;
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}


/* Stopka (Footer) */
footer {
    background-color: var(--secondary-color); 
    color: var(--text-light); 
    padding: 60px 0;
    font-size: 0.9em;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 30px;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light); 
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color); 
}

.copyright {
    margin-top: 20px;
}

/* --- */
/* Style dla sekcji Członkowie Zarządu */
.team-members-container {
    flex-direction: column;
    text-align: center;
}

.board-members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.board-member-card {
    flex: 0 0 280px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.board-member-card:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.board-member-card h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.5em;
    color: var(--secondary-color);
}

.board-member-card p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.board-member-card .btn.secondary {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9em;
}


/* Responsywność */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5em;
    }
    .content-section h2 {
        font-size: 2.5em;
    }
    .content-section .text-content,
    .about-image-container { 
        width: 70%; 
        max-width: 45%; 
        flex: 1 1 45%; 
    }
    .content-section .container {
        flex-direction: column;
        align-items: center;
    }
    .contact-form,
    .contact-info {
        max-width: 90%;
        margin: 0 auto;
        width: 100%; 
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo {
        width: 100%;
        margin-bottom: 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--primary-color); 
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1); 
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
    }
    
    .lang-switch-container {
        margin: 15px 0 0 0;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero-section .background-video { 
        display: none; 
    }

    .hero-section {
        background-attachment: scroll !important;
    }
}
.clients-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* Bardzo jasny szary dla kontrastu z białym tłem */
    text-align: center;
    border-top: 1px solid #eee;
}

.clients-section h2 {
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

/* Dekoracyjna linia pod napisem "Zaufali nam" */
.clients-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.clients-section h2 {
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--secondary-color) !important; /* Wymuszamy czarny kolor tekstu */
    position: relative;
    display: inline-block;
}

.client-item {
    padding: 15px 30px;
    background: #fff;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444; /* Ciemnoszary kolor tekstu firm */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    /* Zmiana: zamiast białego tła (primary), dajemy wrzosowy (accent) lub ciemny (542F55) */
    background: var(--accent-color); 
    color: #fff; /* Biały tekst na wrzosowym tle będzie czytelny */
}

.client-item:hover::before {
    color: #fff; /* Kwadracik też niech zmieni kolor na biały przy hoverze */
}