/* Definicja zmiennych CSS */
:root {
    --brand-primary-blue: #1a5390; /* Główny niebieski z logo (dla nagłówka, mocnych akcentów) */
    --brand-primary-blue-rgb: 26, 83, 144; /* Wersja RGB dla rgba() */
    --brand-secondary-blue: #4a86e8; /* Nieco jaśniejszy niebieski (dla nawigacji) */
    --accent-color-vibrant: #3498db; /* Żywy, dynamiczny niebieski (dla linków, przycisków, ikon) */

    --page-bg-light: #F2F6F9; /* Bardzo jasny, subtelnie niebieskawy kolor tła strony */
    --card-bg-white: #FFFFFF; /* Czysta biel dla głównych kart treści */
    --schedule-item-bg: #EBF2FA; /* Jasnoniebieskie tło dla elementów harmonogramu */

    --text-dark: #343a40; /* Ciemny szary/charcoal dla głównej treści i nagłówków */
    --text-muted: #6c757d; /* Lżejszy szary dla tekstu pomocniczego/opisów */
    --text-light: #FFFFFF; /* Biały tekst na ciemnych tłach */

    --border-subtle: #e0e0e0; /* Subtelny kolor ramki */

    --dark-overlay: rgba(0, 0, 0, 0.5); /* Nakładka na obraz w sekcji hero */

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Podstawowy reset i ustawienia globalne */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark); /* Używamy ciemnego szarego dla domyślnego tekstu */
    background-color: var(--page-bg-light); /* Nowe, ożywione tło strony */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Nagłówek (Hero Area) --- */
.hero-area {
    background-image: url('../img/hero_background.png');
    background-size: cover;
    background-position: top;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-light);
    padding-bottom: 80px;
}

.navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
    z-index: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    position: relative;
    z-index: 2;
}

.site-brand {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 30px;
}

.main-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-social-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: var(--text-light);
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 0.7);
}

.btn-contact-nav {
    background-color: var(--text-light); /* Białe tło dla kontrastu */
    color: var(--text-dark); /* Ciemny tekst na białym tle */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-contact-nav:hover {
    background-color: var(--page-bg-light); /* Jasne tło po najechaniu */
    color: var(--text-dark);
}

/* Hero Content */
.hero-content-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}

.hero-left {
    flex: 0 0 55%;
    max-width: 55%;
    padding-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4.5em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-light); /* Nagłówek w hero biały */
}

.hero-right {
    flex: 0 0 35%;
    max-width: 35%;
    padding-bottom: 20px;
}

.hero-description-text {
    font-family: var(--font-body);
    font-size: 0.95em;
    line-height: 1.7;
    opacity: 0.8;
    color: var(--text-light); /* Opis w hero biały */
}

/* --- Sekcja Wartości (Value Section) --- */
.value-section {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--page-bg-light); /* Tło sekcji */
    z-index: 0;
}

.value-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.value-text-card {
    background-color: var(--card-bg-white); /* Biała karta */
    padding: 60px 50px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    position: relative;
    margin-left: -50px; /* Nakładanie na tło */
    margin-right: 50px;
}

.value-text-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: rgba(var(--brand-primary-blue-rgb), 0.05); /* Delikatny tint z primary blue */
    border-radius: 10px;
    transform: rotate(15deg);
    z-index: -1;
}

.value-text-card .label {
    font-family: var(--font-heading);
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-muted); /* Subtelny kolor dla etykiety */
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.value-text-card h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.8em;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark); /* Główny kolor dla nagłówka */
}

.value-text-card p {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-muted); /* Lżejszy kolor dla tekstu */
}

.value-image-wrap {
    flex: 1;
    position: relative;
    z-index: 1;
    background-color: var(--schedule-item-bg); /* Jasnoniebieskie tło dla obrazka */
    padding: 20px;
    border-radius: 10px;
}

.value-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Ogólne sekcje treści (Content Sections) --- */
.content-section {
    padding: 80px 0;
    background-color: var(--card-bg-white); /* Białe tło dla tych sekcji (kart) */
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5em;
    color: var(--text-dark); /* Ciemny kolor dla nagłówków */
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color-vibrant); /* Żywe niebieskie podkreślenie */
    padding-bottom: 15px;
    display: inline-block; /* Aby podkreślenie było tylko pod tekstem */
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.content-section h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.8em;
    color: var(--text-dark); /* Ciemny kolor dla nagłówków h3 */
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: var(--text-muted); /* Lżejszy kolor dla tekstu */
}

.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.content-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: var(--text-muted); /* Lżejszy kolor dla tekstu listy */
}

.content-section ul li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-color-vibrant); /* Akcentujący niebieski dla ikon listy */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1em;
}

/* Harmonogram (Schedule Grid) */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.schedule-item {
    background-color: var(--schedule-item-bg); /* Jasnoniebieskie tło dla elementów harmonogramu */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
}

.schedule-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5em;
    color: var(--text-dark); /* Ciemny kolor dla nagłówka */
    margin-top: 0;
    margin-bottom: 15px;
}

.schedule-item p {
    font-size: 1em;
    margin-bottom: 25px;
    color: var(--text-muted); /* Lżejszy kolor dla tekstu */
}

/* Przyciski (Buttons) */
.button {
    display: inline-block;
    background-color: var(--accent-color-vibrant); /* Żywy niebieski dla przycisków */
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
    margin-top: 10px;
}

.button:hover {
    background-color: #2185d0; /* Nieco ciemniejszy żywy niebieski */
    transform: translateY(-2px);
    text-decoration: none;
}

.button-facebook {
    background-color: #3b5998; /* Kolor Facebooka */
}

.button-facebook:hover {
    background-color: #2d4373;
}


/* Linki w tekście */
a {
    color: var(--accent-color-vibrant); /* Żywy niebieski dla linków */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-primary-blue); /* Główny niebieski po najechaniu */
    text-decoration: underline;
}

/* Stopka (Footer) */
footer {
    background-color: var(--brand-primary-blue); /* Główny niebieski dla stopki */
    color: var(--text-light);
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
    font-size: 0.9em;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .hero-content-area {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 30px;
    }
    .hero-left, .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 0;
    }
    .hero-left { margin-bottom: 30px; }
    .hero-headline {
        font-size: 3.5em;
    }
    .hero-description-text {
        font-size: 1em;
    }

    .value-container {
        flex-direction: column;
    }
    .value-text-card {
        margin-left: 0;
        margin-right: 0;
        padding: 40px 30px;
    }
    .value-text-card::before {
        display: none; /* Ukryj ozdobnik na małych ekranach */
    }
    .value-image-wrap {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav {
        width: 100%;
        flex-direction: column;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .nav-social-contact {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .btn-contact-nav {
        width: 100%;
        text-align: center;
    }

    .hero-area {
        min-height: 600px;
    }
    .hero-headline {
        font-size: 2.8em;
    }

    .value-section {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    .value-text-card h2 {
        font-size: 2em;
    }

    .content-section {
        padding: 50px 0;
        margin-top: 30px;
    }
    .content-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    .content-section h3 {
        font-size: 1.5em;
    }
    .schedule-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.2em;
    }
    .value-text-card h2 {
        font-size: 1.8em;
    }
    .value-text-card p, .content-section p, .content-section ul li {
        font-size: 0.95em;
    }
}