/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zmienne CSS */
:root {
    --primary-color: #1E3A8A; /* Ciemny niebieski - główny kolor klubu */
    --secondary-color: #FFFFFF; /* Biały - drugi kolor klubu */
    --accent-color: #FFD700; /* Złoty - akcent */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #666666;
    --font-main: 'Arial', sans-serif;
    --font-heading: 'Montserrat', 'Arial', sans-serif;
}

/* Podstawowe style */
body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

section {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #1E3A8A; /* Niebieski kolor tekstu dla kontrastu */
    border-color: #AE802F;
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #1E3A8A; /* Niebieski kolor tekstu dla kontrastu */
    border-color: #AE802F;
}

/* Nagłówek */
header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.25s ease;
}

/* Style dla headera po przewinięciu - wersja desktop */
header.scrolled {
    padding: 8px 0;
}

header.scrolled .logo {
    transform: scale(0.85);
    transform-origin: left center;
}

header.scrolled .menu {
    transform: scale(0.95);
    transform-origin: right center;
}

.logo {
    transition: transform 0.25s ease;
}

.menu {
    transition: transform 0.25s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.logo-text p {
    font-size: 0.8rem;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 20px;
    position: relative;
}

.menu a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.menu a:hover, .menu a.active {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    transition: width 0.3s ease;
}

.menu a:hover::after, .menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sekcja Hero */
.hero {
    position: relative;
    color: var(--secondary-color);
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    min-width: 100%;
    min-height: 100%;
    transition: opacity 1s ease-in-out;
}

.hero-video.video-fade {
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Sekcja Aktualności */
.news {
    background-color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-content p {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.read-more {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.read-more:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

/* Sekcja Najbliższe mecze - Nowy design */
.upcoming-matches {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.matches-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.match-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.match-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.match-item.home-game {
    border-left: 3px solid #2ecc71;
}

.match-item.away-game {
    border-left: 3px solid #3498db;
}

.match-header {
    background: #1a4c8b;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.match-header span {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 2px 5px;
}

.match-header i {
    color: #ffffff;
    margin-right: 4px;
}

.match-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.team-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.match-center {
    text-align: center;
    margin: 8px 0;
}

.versus {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e74c3c;
    margin-bottom: 3px;
}

.match-type {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
}

.match-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.match-location {
    color: #495057;
    font-size: 0.85rem;
}

.match-location i {
    color: #1a4c8b;
    margin-right: 4px;
}

.match-details-btn {
    color: #1a4c8b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.match-details-btn:hover {
    color: #e74c3c;
}

.matches-cta {
    text-align: center;
    margin-top: 30px;
}

/* Responsywność */
@media (max-width: 992px) {
    .matches-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .matches-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .match-header {
        padding: 8px 12px;
    }
    
    .match-content {
        padding: 12px;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
}

/* Sekcja Sponsorzy */
.sponsors {
    background-color: var(--secondary-color);
    text-align: center;
}

.sponsors h2 {
    margin-bottom: 40px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sponsor-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.sponsor-card img {
    max-height: 80px;
    object-fit: contain;
}

.sponsor-cta {
    margin-top: 30px;
}

.sponsor-cta p {
    margin-bottom: 15px;
}

/* Stopka */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-about, .footer-links, .footer-contact, .footer-social, .footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo h3 {
    display: none;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

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

.footer-links a:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    margin-right: 10px;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact a {
    color: var(--secondary-color);
}

.social-media {
    margin-top: 20px;
}

.social-media h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a i {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #1E3A8A; /* Niebieski kolor ikonki dla kontrastu */
}

.social-icons a:hover i {
    color: #1E3A8A !important; /* Niebieski kolor ikony dla kontrastu ze złotym tłem */
    -webkit-text-fill-color: #1E3A8A !important; /* Nadpisanie globalnego transparent */
    background: none !important; /* Usunięcie gradientu z ikony */
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Style dla strony "O klubie" */
.page-header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 2.5rem;
}

.about-history {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-mission {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-achievements {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-item {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-year {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 120px;
}

.achievement-content {
    padding: 20px;
    flex-grow: 1;
}

.achievement-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Style dla strony kontaktowej */
.contact-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--dark-gray);
}

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

.contact-details a:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-map {
    margin-top: 40px;
}

.contact-map h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background-color: var(--gray);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    text-align: center;
    padding: 20px;
}

.map-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsywność */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .upcoming-matches .match-teams {
        flex-direction: column;
        gap: 15px;
    }
    
    .upcoming-matches .home-team, .upcoming-matches .away-team {
        text-align: center;
        padding: 0;
    }
    
    .upcoming-matches .match-info {
        padding: 15px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        grid-row: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Na mobile tekst logo zawsze w jednej linii */
    .logo-text h1 {
        font-size: 1rem;
        white-space: nowrap;
    }

    .logo-text p {
        font-size: 0.6rem;
        white-space: nowrap;
    }

    .logo img {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }

    /* Po przewinięciu - zmniejsz header */
    header.scrolled {
        padding: 5px 0;
    }

    header.scrolled .logo {
        transform: scale(0.75);
        transform-origin: left center;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-about, .footer-links, .footer-contact, .footer-social, .footer-logo {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .achievement-item {
        flex-direction: column;
    }
    
    .achievement-year {
        width: 100%;
        padding: 10px;
    }
    
    .hero {
        padding: 80px 0;
        background-image: url('../img/about/stadium.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }

    .hero-video {
        display: none;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
}

/* Style dla strony galerii */
.gallery-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.gallery-filter {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.gallery-filter h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-options select {
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: var(--font-main);
    min-width: 200px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-album {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-album:hover {
    transform: translateY(-5px);
}

.album-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.album-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-album:hover .album-thumbnail img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
}

.album-count {
    font-weight: 600;
    font-size: 0.9rem;
}

.album-date {
    font-size: 0.9rem;
}

.album-info {
    padding: 20px;
}

.album-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.album-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--light-gray);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover, .pagination a.active {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #333; /* Ciemny kolor tekstu dla kontrastu */
}

/* Responsywność dla galerii */
@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options select, .filter-options button {
        width: 100%;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .lightbox {
        padding: 20px;
    }
}

/* Style dla pojedynczego albumu */
.photo-gallery {
    margin-top: 30px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-photo {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-photo:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    padding: 40px;
    box-sizing: border-box;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #1E3A8A; /* Niebieski kolor dla ikonki */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.lightbox-prev i, .lightbox-next i {
    color: #fff; /* Biały kolor dla ikon w normalnym stanie */
    font-size: 1rem;
}

.lightbox-prev:hover i, .lightbox-next:hover i {
    color: #1E3A8A; /* Niebieski kolor dla ikon dla kontrastu ze złotym tłem */
}

.lightbox-caption {
    color: var(--secondary-color);
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
}

/* Responsywność dla galerii */
@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options select, .filter-options button {
        width: 100%;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .lightbox {
        padding: 20px;
    }
}

/* Style dla strony albumu */
.album-section {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.album-info {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.album-info p {
    margin: 10px 0;
    font-size: 16px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.album-photo {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.album-photo:hover {
    transform: scale(1.03);
}

.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.album-photo:hover img {
    filter: brightness(1.1);
}

.album-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: 2px solid white;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-controls {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Responsywność dla albumu */
@media (max-width: 992px) {
    .album-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-content img {
        max-height: 80vh;
    }
}

/* Styles dla strony tabeli ligowej */
.table-section {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.data-source {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

.data-source a {
    color: var(--primary-color);
    text-decoration: none;
}

.data-source a:hover {
    text-decoration: underline;
}

.league-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.league-table th,
.league-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.league-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.league-table tbody tr:hover {
    background-color: #f9f9f9;
}

.league-table tr.highlighted {
    background-color: rgba(var(--primary-rgb), 0.1);
    font-weight: 600;
}

.league-table tr.highlighted:hover {
    background-color: rgba(var(--primary-rgb), 0.15);
}

/* Styles dla terminarza */
.schedule-section {
    padding: 50px 0;
    background-color: #f7f7f7;
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.match-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.match-card[data-type="home"] {
    border-left: 4px solid #1a73e8;
}

.match-card[data-type="away"] {
    border-left: 4px solid #e53935;
}

.match-date {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.match-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.match-date .month,
.match-date .year {
    font-size: 14px;
    color: #666;
    display: block;
}

.match-date .time {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin-top: 5px;
    display: block;
}

.match-details {
    padding: 15px;
    position: relative;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.team {
    display: flex;
    align-items: center;
    flex: 1;
}

.team.home {
    justify-content: flex-end;
    text-align: right;
}

.team.away {
    justify-content: flex-start;
    text-align: left;
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.team.home .team-logo {
    margin-left: 10px;
    order: 2;
}

.team.away .team-logo {
    margin-right: 10px;
    order: 1;
}

.team-name {
    font-weight: 600;
}

.team.home .team-name {
    order: 1;
}

.team.away .team-name {
    order: 2;
}

.match-score, .vs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.match-stadium {
    margin-top: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.match-stadium i {
    color: #e53935;
    margin-right: 5px;
}

/* Dla wyników meczów */
.match-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.match-info .match-round {
    font-weight: 600;
}

/* Style dla match-stadium */
.match-stadium {
    margin-top: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.match-stadium i {
    color: #e53935;
    margin-right: 5px;
}

/* Styl dla wyświetlania informacji o stadionach */
.match-info .match-venue {
    color: #666;
    font-size: 14px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .schedule-list {
        grid-template-columns: 1fr;
    }
}

/* Style dla sekcji terminarza i tabeli */
.table-section, .schedule-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

/* Style dla sekcji informacyjnej o najbliższym meczu */
.next-match-info {
    padding: 20px 0;
    background-color: #f5f5f5;
}

.next-match-info .alert {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.next-match-info h3 {
    margin-top: 0;
    color: #3498db;
    font-size: 1.4rem;
}

.next-match-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.next-match-info .match-note {
    font-style: italic;
    color: #555;
}

.next-match-info i {
    margin-right: 8px;
}

/* Style dla sekcji osiągnięć */
.achievements-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.achievements-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.achievement-season {
    margin-bottom: 40px;
    position: relative;
    padding-left: 50px;
}

.achievement-season h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
}

.achievement-season h2::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: -50px;
    top: 5px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.achievement-list li span {
    flex: 1;
    line-height: 1.5;
}

.achievement-source {
    margin-left: 10px;
    color: #7f8c8d;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.achievement-source:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Ikony osiągnięć */
.fa-trophy {
    background: linear-gradient(135deg, #AE802F, #FFEFA7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.fa-medal {
    color: #95a5a6 !important;
}

.fa-award {
    color: #e67e22 !important;
}

.fa-arrow-up {
    color: #2ecc71 !important;
}

.fa-chart-line {
    color: #9b59b6 !important;
}

.fa-user-friends {
    color: #e74c3c !important;
}

/* Responsywność dla sekcji osiągnięć */
@media (max-width: 768px) {
    .achievements-timeline::before {
        left: 15px;
    }
    
    .achievement-season {
        padding-left: 40px;
    }
    
    .achievement-season h2::before {
        width: 16px;
        height: 16px;
        left: -40px;
    }
    
    .achievement-list li {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .achievement-list li {
        flex-direction: column;
    }
    
    .achievement-list li i {
        margin-bottom: 10px;
    }
    
    .achievement-source {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Podmenu */
.submenu {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.submenu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-list li {
    margin-right: 20px;
}

.submenu-list li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.submenu-list li a:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submenu-list li a.active {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submenu-list li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
}

/* Strona O klubie */
.about-section {
    padding: 50px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.about-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.about-card-icon i {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card h2 {
    margin-bottom: 15px;
    color: #333;
}

.about-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.about-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.about-card .btn:hover {
    background-color: #152b6c; /* Ciemniejszy odcień niebieskiego */
}

/* Strona Historia */
.history-section {
    padding: 50px 0;
}

.history-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -17px;
}

.timeline-item:nth-child(even)::after {
    left: -17px;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-top: 0;
    color: #333;
}

.timeline-content p {
    line-height: 1.6;
    color: #666;
}

/* Strona Osiągnięcia */
.achievements-section {
    padding: 50px 0;
}

.achievements-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.achievement-season {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.achievement-season h2 {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    margin: 0;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.achievement-list li:last-child {
    border-bottom: none;
}

.achievement-list li i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 15px;
    margin-top: 2px;
}

.achievement-list li span {
    flex: 1;
    line-height: 1.6;
}

.achievement-source {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 10px;
    white-space: nowrap;
}

.achievement-source:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.achievements-note {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    line-height: 1.6;
}

.source-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    text-align: right;
}

.source-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.source-info a:hover {
    text-decoration: underline;
}

/* Responsywność dla podmenu i stron O klubie */
@media (max-width: 768px) {
    .submenu-list {
        flex-wrap: wrap;
    }
    
    .submenu-list li {
        margin-right: 10px;
    }
    
    .submenu-list li a {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 20px;
    }
    
    .about-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .achievement-list li {
        flex-direction: column;
    }
    
    .achievement-list li i {
        margin-bottom: 10px;
    }
    
    .achievement-source {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Rozwijane menu */
.menu li {
    position: relative;
}

.menu li .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 100;
}

.menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .dropdown li {
    display: block;
    margin: 0;
    width: 100%;
}

.menu .dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 400;
}

.menu .dropdown li:last-child a {
    border-bottom: none;
}

.menu .dropdown li a:hover {
    background-color: #f9f9f9;
    color: #e63946;
}

/* Responsywność dla rozwijanego menu */
@media (max-width: 768px) {
    .menu li .dropdown {
        position: static;
        background-color: #f5f5f5;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }
    
    .menu li.has-dropdown.active .dropdown {
        display: block;
    }
    
    .menu .dropdown li a {
        padding-left: 30px;
    }
}

/* Nowe style dla przebudowanej podstrony Informacje */
.club-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.club-emblem {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.club-emblem img {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.club-emblem img:hover {
    transform: scale(1.05);
}

.emblem-info {
    font-style: italic;
    color: var(--dark-gray);
    margin-top: 10px;
}

.emblem-author {
    font-weight: bold;
    margin-top: 5px;
}

.club-intro-text {
    flex: 2;
    min-width: 300px;
}

.club-intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.club-intro-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon i {
    color: white;
    font-size: 24px;
}

.info-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.info-card p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.info-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.info-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.club-colors {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-box {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.color-box.white {
    background-color: #ffffff;
}

.color-box.blue {
    background-color: #1e73be;
}

.color-box.gold {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
}

.club-motto {
    font-style: italic;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: var(--primary-color);
}

.club-details-container {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.club-details-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 28px;
    position: relative;
}

.club-details-container h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.club-details-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.club-details-image {
    flex: 1;
    min-width: 300px;
}

.club-details-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.club-details-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.detail-item p {
    font-weight: 500;
}

.club-community {
    margin-bottom: 40px;
}

.club-community h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
}

.club-community h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px 0 0;
}

.club-community p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.community-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.community-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.community-image:hover img {
    transform: scale(1.05);
}

/* Media queries dla responsywności */
@media (max-width: 768px) {
    .club-intro, .club-details-wrapper {
        flex-direction: column;
    }
    
    .club-emblem {
        margin-bottom: 20px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .community-gallery {
        grid-template-columns: 1fr;
    }
}

/* Wyszukiwarka */
.search-container {
    position: relative;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    overflow: hidden;
    background-color: var(--secondary-color);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1001;
}

.search-form.active {
    width: 300px;
    opacity: 1;
}

#site-search {
    display: flex;
    width: 100%;
}

#site-search input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

#site-search button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#site-search button:hover {
    background-color: var(--accent-color);
}

/* Wyniki wyszukiwania */
.search-results {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.search-results.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.search-results-container {
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 30px;
    overflow-y: auto;
    position: relative;
}

.search-results-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.search-results-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}

.search-results-list {
    list-style: none;
}

.search-results-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}

.search-results-item:last-child {
    border-bottom: none;
}

.search-results-item a {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: block;
}

.search-results-item p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.search-results-item .highlight {
    background-color: rgba(255, 215, 0, 0.3);
    padding: 0 2px;
}

/* Responsywność dla wyszukiwarki */
@media (max-width: 768px) {
    .search-container {
        position: static;
        margin-left: 10px;
        margin-right: 5px;
    }

    .search-toggle {
        font-size: 1rem;
        padding: 8px;
    }

    .search-form {
        position: fixed;
        top: auto;
        bottom: auto;
        left: 10px;
        right: 10px;
        top: 70px;
        width: auto;
    }

    .search-form.active {
        width: auto;
        right: 10px;
        left: 10px;
    }

    .search-results-container {
        width: 95%;
        padding: 20px;
    }
}

/* Style dla strony Drużyna */
.team-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.team-section:nth-child(even) {
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Style dla sztabu szkoleniowego */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.staff-image {
    width: 120px;
    height: 100%;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.staff-info {
    padding: 20px;
    flex: 1;
}

.staff-info h3 {
    font-size: 1.4rem;
    margin: 0 0 5px;
    color: var(--primary-color);
}

.staff-role {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 15px;
}

.staff-details {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.staff-details p {
    margin: 5px 0;
    color: var(--text-color);
}

.staff-details i {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 20px;
    margin-right: 5px;
}

.staff-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* Style dla zawodników */
.players-section {
    background-color: #fff;
}

.players-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.player-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.player-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1;
}

.player-image {
    height: 300px;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-info {
    padding: 20px;
    background-color: #fff;
}

.player-info h3 {
    font-size: 1.3rem;
    margin: 0 0 5px;
    color: var(--primary-color);
}

.player-position {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.player-details {
    font-size: 0.9rem;
}

.player-details p {
    margin: 5px 0;
    color: var(--text-color);
}

.player-details i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 5px;
}

/* Style dla statystyk */
.stats-section {
    background-color: var(--light-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stats-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    font-size: 1.4rem;
    margin: 0 0 20px;
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th, .stats-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stats-table th {
    font-weight: 600;
    color: var(--primary-color);
    background-color: #f9f9f9;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table tr:hover td {
    background-color: #f5f5f5;
}

/* Responsywność */
@media (max-width: 992px) {
    .staff-grid, .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .staff-card {
        flex-direction: column;
    }
    
    .staff-image {
        width: 100%;
        height: 200px;
    }
    
    .players-filter {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex: 0 0 auto;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .player-image {
        height: 250px;
    }
}

/* Styles for Team Page */
.team-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

/* Sekcja ze zdjęciem grupowym kadry */
.team-photo-section {
    padding: 30px 0;
    background-color: #fff;
}

.team-group-photo {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-caption {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
}

.photo-caption h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Style dla podstrony Aktualności */
.news-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.news-filter {
    margin-bottom: 40px;
    text-align: center;
}

.news-filter h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.filter-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-list .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-list .news-card:hover {
    transform: translateY(-5px);
}

.news-list .news-image {
    height: 200px;
    overflow: hidden;
}

.news-list .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list .news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-list .news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-list .news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.news-list .news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-list .news-content p {
    margin-bottom: 15px;
    color: var(--dark-gray);
    flex-grow: 1;
}

.news-list .read-more {
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

.news-list .read-more:hover {
    text-decoration: underline;
}

/* Paginacja */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Responsywność dla podstrony Aktualności */
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-filter h2 {
        font-size: 1.3rem;
    }
    
    .news-list .news-content h3 {
        font-size: 1.1rem;
    }
}

/* Style dla podstrony z pojedynczym artykułem */
.article-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.article-content {
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.article-image {
    position: relative;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    padding: 10px 15px;
    font-size: 0.9rem;
    font-style: italic;
}

.article-text {
    padding: 30px;
}

.article-text h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.article-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    font-style: italic;
}

.article-text blockquote footer {
    margin-top: 10px;
    font-weight: 600;
    text-align: right;
}

.match-stats {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.stats-item {
    margin-bottom: 15px;
}

.stats-item:last-child {
    margin-bottom: 0;
}

.stats-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.stats-bar {
    display: flex;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.stats-value {
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: width 0.5s ease;
}

.stats-value.opponent {
    background-color: #ccc;
    color: var(--dark-color);
}

.article-share {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share h3 {
    margin: 0;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.email {
    background-color: #ea4335;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.prev-article, .next-article, .back-to-news {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.prev-article:hover, .next-article:hover, .back-to-news:hover {
    color: var(--dark-color);
}

/* Responsywność dla podstrony z artykułem */
@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .article-text h2 {
        font-size: 1.3rem;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Sekcja głównej zawartości (aktualności + tabela) */
.main-content {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Box ze sliderem aktualności */
.news-slider-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.news-slider {
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h2 {
    font-size: 1.6rem;
    margin: 0;
    color: #333;
    font-weight: 700;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.view-all:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

.news-slider-main {
    position: relative;
    overflow: hidden;
    min-height: 480px; /* Zwiększona wysokość */
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: relative;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.news-slide-image {
    height: 260px;
    overflow: hidden;
}

.news-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-slide:hover .news-slide-image img {
    transform: scale(1.05);
}

.news-slide-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 260px); /* Dopasowanie wysokości do zawartości */
}

.news-slide-content h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    line-height: 1.3;
    color: #333;
}

.news-slide-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.6;
    flex-grow: 1; /* Elastyczne wypełnienie przestrzeni */
    overflow-y: auto; /* Dodanie przewijania, jeśli tekst jest zbyt długi */
    max-height: 200px; /* Maksymalna wysokość tekstu */
}

.news-date {
    font-size: 0.9rem;
    color: #777;
    display: block;
    font-weight: 500;
}

.read-more {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.read-more:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

.news-slider-thumbs {
    display: flex;
    padding: 0 30px 20px;
    gap: 20px;
}

.news-thumb {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 85px;
}

.news-thumb.active {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-thumb-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
}

.news-thumb-content h4 {
    font-size: 0.85rem;
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-thumb-content .news-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px 25px;
    gap: 20px;
}

.slider-prev, .slider-next {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-prev:hover, .slider-next:hover {
    background: linear-gradient(135deg, #AE802F, #FFEFA7);
    color: #1E3A8A; /* Niebieski kolor dla ikonki */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dodanie stylu dla ikony wewnątrz przycisków */
.slider-prev i, .slider-next i {
    color: #fff; /* Biały kolor dla ikon w normalnym stanie */
    font-size: 1rem;
}

.slider-prev:hover i, .slider-next:hover i {
    color: #1E3A8A; /* Niebieski kolor dla ikon dla kontrastu ze złotym tłem */
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsywność */
@media (max-width: 992px) {
    .news-slider-main {
        min-height: 450px;
    }
    
    .news-slide-content p {
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .news-slider-main {
        min-height: 420px;
    }
    
    .news-slide-content p {
        max-height: 150px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-slider-main {
        min-height: 380px;
    }
    
    .news-slide-content {
        padding: 15px 20px;
        height: calc(100% - 180px);
    }
    
    .news-slide-content p {
        max-height: 130px;
        font-size: 0.95rem;
    }
}

/* Tabela ligowa */
.league-table-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.league-name {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

.table-container {
    padding: 0 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.league-table th {
    background-color: #f5f5f5;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 1;
}

.league-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.league-table tr:last-child td {
    border-bottom: none;
}

.league-table th:nth-child(2),
.league-table td:nth-child(2) {
    text-align: left;
    padding-left: 10px;
}

.league-table tr.highlighted {
    background-color: rgba(0, 86, 179, 0.1);
}

.league-table tr.our-team {
    background-color: rgba(255, 193, 7, 0.15);
    font-weight: 600;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.table-legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.legend-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 3px;
}

.legend-item.promotion::before {
    background-color: rgba(0, 86, 179, 0.1);
}

.legend-item.our-team-legend::before {
    background-color: rgba(255, 193, 7, 0.15);
}

.btn-small {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 5px;
}

/* Responsywność dla układu dwukolumnowego */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-slider-box, .league-table-box {
        margin-bottom: 30px;
    }
    
    .news-slider-main {
        min-height: 400px;
    }
    
    .section-header {
        padding: 20px 25px 15px;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 50px 0;
    }
    
    .news-slider-thumbs {
        flex-direction: column;
        padding: 0 25px 15px;
    }
    
    .news-thumb {
        height: 70px;
        margin-bottom: 10px;
    }
    
    .news-slide-image {
        height: 220px;
    }
    
    .news-slide-content {
        padding: 20px 25px;
    }
    
    .news-slide-content h3 {
        font-size: 1.3rem;
    }
    
    .news-slider-main {
        min-height: 380px;
    }
    
    .slider-controls {
        padding: 0 25px 20px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 40px 0;
    }
    
    .news-slide-image {
        height: 180px;
    }
    
    .news-slide-content {
        padding: 15px 20px;
    }
    
    .news-slide-content h3 {
        font-size: 1.2rem;
        margin: 8px 0;
    }
    
    .news-slide-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .news-slider-main {
        min-height: 340px;
    }
    
    .league-table {
        font-size: 0.8rem;
    }
    
    .table-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .section-header {
        padding: 15px 20px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
}

/* Efekt pulsowania dla naszej drużyny w tabeli */
@keyframes pulse-highlight {
    0% {
        background-color: rgba(255, 193, 7, 0.15);
    }
    50% {
        background-color: rgba(255, 193, 7, 0.4);
    }
    100% {
        background-color: rgba(255, 193, 7, 0.15);
    }
}

.pulse-highlight {
    animation: pulse-highlight 1s ease-in-out;
} 

/* Przycisk "Powrót do góry" */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Domyślnie ukryty */
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

#back-to-top.visible {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animacje przejścia między podstronami */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: translateY(0);
}

.page-transition.exit {
    transform: translateY(-100%);
}

/* Animacja zawartości strony */
.content-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animacje elementów UI */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-left {
    animation: slideInFromLeft 0.5s ease forwards;
}

.animate-right {
    animation: slideInFromRight 0.5s ease forwards;
}

.animate-bottom {
    animation: slideInFromBottom 0.5s ease forwards;
}

/* Opóźnienia animacji */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* System powiadomień */
#notification-system {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    max-width: 350px;
}

.notification {
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    margin-bottom: 15px;
    transform: translateY(100px);
    opacity: 0;
    animation: slideInNotification 0.5s forwards;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

@keyframes slideInNotification {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.notification-content {
    padding: 15px;
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.notification-content p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.notification-actions {
    display: flex;
    justify-content: flex-end;
}

.notification-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.notification-btn:first-child {
    color: var(--primary-color);
}

.notification-btn:first-child:hover {
    color: var(--accent-color);
}

.notification-close {
    color: var(--dark-gray);
}

.notification-close:hover {
    color: #000;
}

@media (max-width: 768px) {
    #notification-system {
        left: 15px;
        right: 15px;
        max-width: calc(100% - 30px);
    }
}

/* Styl dla przycisku "Pokaż naszą drużynę" */
.btn-show-team {
    transition: all 0.3s ease;
    display: none; /* Domyślnie ukryty, będzie pokazywany przez JS na mobilnych */
}

.btn-show-team:hover {
    background-color: var(--accent-color) !important;
    color: #333 !important;
    transform: translateY(-2px);
}

.btn-show-team:active {
    transform: translateY(0);
}

/* Dodatkowe style dla wyróżnienia naszej drużyny w tabeli */
.league-table tr.our-team {
    background-color: rgba(255, 193, 7, 0.15);
    font-weight: 600;
    position: relative; /* Dodajemy pozycjonowanie */
}

/* Dodajemy specjalny wskaźnik przed nazwą naszej drużyny */
.league-table tr.our-team td:nth-child(2)::before {
    content: '';
    display: none;
}

/* Specjalne style dla tabeli na najmniejszych ekranach */
@media (max-width: 576px) {
    /* Pokazujemy przycisk do przewijania na naszą drużynę */
    .btn-show-team {
        display: inline-block;
    }
    
    /* Zwiększamy wysokość tabeli aby była bardziej widoczna */
    .league-table-box {
        min-height: 500px;
    }
    
    /* Poprawiamy kontrast dla naszej drużyny, aby była lepiej widoczna */
    .league-table tr.our-team {
        background-color: rgba(255, 193, 7, 0.25);
    }
    
    /* Pulsujący efekt aby przyciągnąć uwagę do naszej drużyny */
    @keyframes glow {
        0% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.5); }
        50% { box-shadow: 0 0 10px rgba(255, 193, 7, 0.8); }
        100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.5); }
    }
    
    .pulse-highlight {
        animation: glow 1.5s ease-in-out infinite !important;
    }
}

/* Dodatkowe style dla wyróżnienia naszej drużyny w tabeli */
.league-table tr.our-team {
    background-color: rgba(255, 193, 7, 0.15);
    font-weight: 600;
}

/* Zapobiegamy pokazywaniu jakichkolwiek wskaźników przed naszym klubem */
.league-table tr.our-team td:nth-child(2)::before,
.league-table tr.highlighted td:nth-child(2)::before,
.league-table td:nth-child(2)::before,
.our-team td::before,
.our-team::before,
.our-team *::before {
    content: none !important;
    display: none !important;
}

/* Specjalne style dla tabeli na najmniejszych ekranach */
@media (max-width: 576px) {
    /* Pokazujemy przycisk do przewijania na naszą drużynę */
    .btn-show-team {
        display: inline-block;
    }
    
    /* Zwiększamy wysokość tabeli aby była bardziej widoczna */
    .league-table-box {
        min-height: 500px;
    }
    
    /* Poprawiamy kontrast dla naszej drużyny, aby była lepiej widoczna */
    .league-table tr.our-team {
        background-color: rgba(255, 193, 7, 0.25);
    }
    
    /* Pulsujący efekt aby przyciągnąć uwagę do naszej drużyny */
    @keyframes glow {
        0% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.5); }
        50% { box-shadow: 0 0 10px rgba(255, 193, 7, 0.8); }
        100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0.5); }
    }
    
    .pulse-highlight {
        animation: glow 1.5s ease-in-out infinite !important;
    }
}

/* Style dla herbów w tabeli ligowej */
.league-table td:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-table .team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.league-table tr.our-team .team-logo {
    width: 28px;
    height: 28px;
}