/* --- Globalne Ustawienia --- */
:root {
    --primary-color: #d2bf89; /* Czerwień */
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #ccc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-color);
    color: var(--text-color);
}

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

h1, h2, h3 {
    color: #fff;
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    margin-bottom: 1rem;
}

/* --- Nagłówek i Nawigacja --- */
.header {
    background-color: rgba(10, 10, 10, 0.9);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

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

.logo {
    height: 60px;
}

.navigation ul {
    display: flex;
    list-style: none;
}

.navigation ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: var(--primary-color);
}

/* --- Sekcja Hero --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/pro.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #a00;
}

/* --- Sekcja Oferty --- */
.offer-section {
    padding: 80px 0;
}

.class-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.class-item.reverse {
    flex-direction: row-reverse;
}

.class-item img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border: 3px solid #333;
    border-radius: 5px;
}

.class-description {
    width: 50%;
}

.class-description h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.class-description .duration {
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
}

/* --- Sekcja Sparingi --- */
.sparingi-section {
    background-color: #111;
    padding: 80px 0;
}

.sparingi-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.sparingi-text {
    flex: 1;
}

.sparingi-image {
    flex: 1;
}

.sparingi-image img {
    width: 100%;
    border-radius: 5px;
}

.sparingi-text .highlight {
    background-color: rgba(204, 0, 0, 0.2);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    color: #fff;
    font-weight: 700;
}

/* --- Sekcja Kontakt --- */
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-details {
    margin: 30px 0;
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    border-radius: 5px;
}

/* --- Stopka --- */
.footer {
    background-color: #111;
    color: #777;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #222;
}

/* --- Media Queries dla Responsywności --- */
@media(max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .navigation ul {
        padding: 10px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .class-item, .class-item.reverse {
        flex-direction: column;
    }
    .class-item img, .class-description {
        width: 100%;
    }
    .sparingi-content {
        flex-direction: column;
    }
}

/* --- Ustawienia dla podstron --- */
.page-section {
    padding-top: 120px; /* Dodatkowe odsunięcie od góry dla stałego nagłówka */
}
/* Styl dla kontenera grafiku */
.grafik-container {
    text-align: center; /* Wyśrodkowanie obrazu */
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 15px; /* Dodatkowy padding dla mniejszych ekranów */
}

.grafik-image {
    max-width: 100%; /* Obraz nie wyjdzie poza szerokość ekranu */
    height: auto; /* Zachowanie proporcji */
    display: block; /* Usuwa zbędne marginesy pod obrazem */
    margin: 0 auto; /* Wyśrodkowanie obrazu w kontenerze */
    border-radius: 8px; /* Lekkie zaokrąglenie rogów */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Delikatny cień */
}

/* Upewnij się, że to też jest dodane z poprzedniej instrukcji, jeśli nie było */
.page-section {
    padding-top: 120px; /* Dodatkowe odsunięcie od góry dla stałego nagłówka */
}

/* --- Sekcja Partnerzy (Stopka) --- */
.partners-section {
    text-align: center;
    padding: 40px 0 20px 0;
    /* Linia oddzielająca partnerów od reszty strony */
    border-top: 1px solid #333; 
    margin-top: 40px; 
    margin-bottom: 20px;
}

.partners-section h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Odstęp między logotypami */
    flex-wrap: wrap;
}

.partner-logo {
    height: 50px; /* Ustawiamy stałą wysokość dla spójności */
    width: auto;
    max-width: 160px; /* Maksymalna szerokość */
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* Dodatkowy odstęp dla informacji o prawach autorskich */
.footer .container p {
    margin-top: 30px;
}