/* Podstawowe ustawienia */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.page-container {
    margin-top: 60px; /* Zmniejszone wypełnienie górne */
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000; /* Kolor tła nagłówka */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Mniejszy cień */
    margin: 0 auto;
    padding: 10px 0; /* Zmniejszone wypełnienie */
    transition: background-color 0.3s; /* Płynna zmiana koloru tła */
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px; /* Zmniejszone wypełnienie nawigacji */
}

.logo img {
    width: 60px; /* Ustalona szerokość logo */
}

/* Styl dla linków w menu */
nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

nav ul li {
    margin-left: 15px; /* Zmniejszone odstępy między linkami */
}

nav ul li a {
    color: #fff; /* Kolor linku (biały) */
    text-decoration: none; /* Usunięcie podkreślenia */
    font-weight: bold;
    padding: 8px 15px; /* Wypełnienie dla linków */
    border-radius: 30px; /* Zaokrąglone rogi */
    transition: background-color 0.3s, transform 0.3s, color 0.3s; /* Płynne przejścia */
}

/* Zmiana koloru tła i tekstu po najechaniu */
nav ul li a:hover {
    background-color: #c6ae5c; /* Kolor tła złoty po najechaniu */
    color: #111; /* Zmiana koloru tekstu na ciemny */
    transform: translateY(-2px); /* Lekko podniesiony efekt */
}

/* Dodane stylizacje dla linków, gdy są aktywne */
nav ul li a:active {
    text-decoration: none; /* Usunięcie podkreślenia po kliknięciu */
}

/* Efekt podświetlenia dla linków */
nav ul li a:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: #c6ae5c; /* Złoty kolor dla podświetlenia */
    transition: width 0.3s, left 0.3s; /* Płynne przejścia dla podświetlenia */
}

nav ul li a:hover:after {
    width: 100%; /* Rozszerza się na pełną szerokość */
    left: 0; /* Ustawia pozycję na początku */
}

/* Styl dla nagłówków */
h1, h2, h3, h4 {
    text-align: center;
    font-family: 'Norwester', sans-serif;
}

/* Stylizacja sekcji */
#home {
    padding: 50px 20px;
    color: #000;
    text-align: center;
    flex: 1; /* Wypełnia dostępne miejsce */
    margin-top: 0px;
}

/* Reszta stylów pozostaje bez zmian */
.latest-photos, .upcoming-matches {
    margin-top: 20px;
}

/* Ustawienia dla zdjęć */
.photos-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.photos-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 3px; /* Zaokrąglone rogi o promieniu 3px */
}

.upcoming-matches ul {
    list-style: none;
    padding: 0;
}

/* Elementy strony */
#schedule, #about, #news, #players, #shop, #contact {
    padding: 50px 20px;
    background-color: #fff;
}

/* Stylizacja stopki */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px; /* Zmniejszone wypełnienie */
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
footer p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}
footer p:last-child {
    font-style: italic;
    color: #666;
}
.social-media a {
    color: #c6ae5c;
    margin: 0 10px;
    text-decoration: none;
}

/* Efekt powiększania po najechaniu kursorem */
.photos-grid img, .player img, .item img {
    transition: transform 0.3s ease-in-out; /* Płynna animacja zmiany rozmiaru */
}

.photos-grid img:hover, .player img:hover, .item img:hover {
    transform: scale(1.1); /* Powiększenie o 10% */
}

/* Styl dla elementów sklepu */
.shop-items {
    display: flex;
    flex-wrap: wrap; /* Umożliwia zawijanie wierszy */
    justify-content: flex-start; /* Ustawienie elementów przy lewej krawędzi */
    gap: 20px; /* Odstępy między elementami */
    padding: 20px;
}

.shop-items .item {
    flex: 1 1 300px; /* Każdy element będzie miał co najmniej 200px szerokości */
    max-width: 330px; /* Maksymalna szerokość elementu */
    text-align: center;
}

.shop-items .item a {
    text-decoration: none !important; /* Usuwa podkreślenie z linków */
    color: inherit; /* Zachowuje domyślny kolor tekstu */
}

.shop-items .item img {
    width: 100%; /* Zdjęcia zajmują pełną szerokość kontenera */
    height: 300px; /* Ustalona wysokość dla zdjęć */
    object-fit: cover; /* Dopasowanie zdjęcia, aby zachować proporcje */
    border-radius: 3px; /* Zaokrąglone rogi o promieniu 3px */
}

.shop-items h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #000;
    text-align: center;
}
/* Stylizacja hamburgera */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Stylizacja ukrycia nawigacji dla urządzeń mobilnych */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li {
    margin-left: 15px;
}

/* Na urządzeniach mobilnych ukrywamy linki nawigacyjne */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px; /* poniżej nagłówka */
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 20px;
        z-index: 999;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}
