/* Resetowanie stylów i zmienne */
:root {
    --primary-color: #17acb2; /* Ciemny niebieski */
    --primary-color-rgb: 30, 64, 175; /* RGB dla primary color */
    --primary-light: #3b82f6; /* Jaśniejszy niebieski */
    --primary-dark: #1684b8; /* Bardzo ciemny niebieski */
    --accent-color: #ec4899; /* Różowy akcent */
    --accent-light: #f472b6; /* Jaśniejszy różowy */
    --accent-dark: #be185d; /* Ciemniejszy różowy */
    --text-dark: #1f2937; /* Główny kolor tekstu */
    --text-light: #f9fafb; /* Jasny tekst */
    --text-muted: #6b7280; /* Przygaszony tekst */
    --bg-light: #f9fafb; /* Jasne tło */
    --bg-dark: #111827; /* Ciemne tło */
    --border-color: #e5e7eb; /* Kolor obramowania */
    --success: #10b981; /* Zielony */
    --warning: #f59e0b; /* Pomarańczowy */
    --danger: #ef4444; /* Czerwony */
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

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

/* Nagłówek */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.98);
}

header.scrolled .main-header {
    padding: 10px 5%;
}

header.scrolled .logo img {
    max-height: 60px;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: flex;
    }
}

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.social-icons {
    display: flex;
}

.social-icons a {
    color: var(--text-light);
    margin-left: 15px;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    max-height: 80px;
    margin-right: 15px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: flex;
    justify-content: flex-end;
}

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

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    font-size: 16px;
    transition: var(--transition);
}

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

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: var(--border-radius-full);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 100;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    border-radius: var(--border-radius-full);
}

.hamburger:before,
.hamburger:after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.hamburger:before {
    top: -10px;
}

.hamburger:after {
    top: 10px;
}

.mobile-menu-btn.active .hamburger {
    background-color: transparent;
}

.mobile-menu-btn.active .hamburger:before {
    transform: rotate(45deg) translate(7px, 7px);
    background-color: var(--accent-color);
}

.mobile-menu-btn.active .hamburger:after {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: var(--accent-color);
}

/* Hero section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    z-index: 10;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-light {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn.pulse {
    animation: btnPulse 0.5s linear;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb, 30, 64, 175), 0.7);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(var(--primary-color-rgb, 30, 64, 175), 0);
    }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-bg-dark .section-title h2 {
    color: var(--text-light);
}

.section-bg-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-bg-dark .btn {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.section-bg-dark .btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: inherit;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--border-radius-full);
}

.section-title.text-left h2:after {
    left: 0;
    transform: none;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Next match section */
.next-match {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.next-match:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.next-match h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.match-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 150px;
    transition: var(--transition);
}

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

.team-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.team span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.vs {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 30px;
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-full);
    box-shadow: var(--box-shadow);
}

.match-info {
    margin-bottom: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.match-info div {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    margin: 0 15px 30px;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.stat-number:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--border-radius-full);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    z-index: 0;
}

/* Teams grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
}

.team-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.team-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.team-img {
    height: 200px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.team-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

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

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-info {
    padding: 20px;
}

.news-date {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.news-date:before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.news-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 200px;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover:after {
    opacity: 1;
}

/* Sponsors section */
.sponsors {
    text-align: center;
}

.sponsors p {
    margin-bottom: 30px;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-logo {
    width: 180px;
    height: 120px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.sponsor-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.sponsor-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.sponsor-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Slider Sponsorów */
.sponsors-slider {
    position: relative;
    padding: 30px 10px 50px 10px;
    width: 100%;
    overflow: hidden;
}

.sponsors-slider .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.sponsors-slider .sponsor-logo {
    margin: 0 auto;
}

/* Nawigacja slidera sponsorów */
.sponsors-slider .swiper-button-next,
.sponsors-slider .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsors-slider .swiper-button-next:hover,
.sponsors-slider .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sponsors-slider .swiper-button-next:after,
.sponsors-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Paginacja slidera sponsorów */
.sponsors-slider .swiper-pagination {
    bottom: 0;
}

.sponsors-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    opacity: 0.5;
}

.sponsors-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .sponsors-slider .swiper-button-next,
    .sponsors-slider .swiper-button-prev {
        display: none;
    }
    .sponsors-slider {
        padding: 20px 0 40px 0;
    }
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-col {
    flex: 1;
    min-width: 240px;
}

.footer-col h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    border-radius: var(--border-radius-full);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.footer-col ul li a:hover:before {
    width: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Animacje */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
}

/* Responsywność */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        padding: 10px 5%;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .social-icons {
        margin-top: 5px;
    }
    
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
        margin: 10px auto;
    }
    
    nav {
        width: 100%;
        display: none; /* Będzie pokazywane przez JavaScript */
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        height: 70vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .match-details {
        flex-direction: column;
    }
    
    .team {
        margin-bottom: 20px;
    }
    
    .vs {
        margin: 20px 0;
    }
    
    .news-grid, .teams-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-col {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Klasy pomocnicze */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Slider Teams */
.teams-slider {
    position: relative;
    padding: 30px 10px 50px 10px;
    width: 100%;
    overflow: hidden;
}

.teams-slider .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.teams-slider .team-card {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

/* Nawigacja */
.teams-slider .swiper-button-next,
.teams-slider .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.teams-slider .swiper-button-next:hover,
.teams-slider .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.teams-slider .swiper-button-next:after,
.teams-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Paginacja */
.teams-slider .swiper-pagination {
    bottom: 0;
}

.teams-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    opacity: 0.5;
}

.teams-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Responsywność slidera */
@media (max-width: 768px) {
    .teams-slider .swiper-button-next,
    .teams-slider .swiper-button-prev {
        display: none;
    }
    
    .teams-slider {
        padding: 15px 0 40px;
    }
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
}

.form-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

/* News detail page */
.news-detail {
    padding: 60px 0;
}

.news-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.news-image {
    margin-bottom: 30px;
    text-align: center;
}

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

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

.news-navigation {
    text-align: center;
    margin-top: 40px;
}

/* Media queries for news detail */
@media (max-width: 768px) {
    .news-header h2 {
        font-size: 2rem;
    }
    
    .news-content {
        font-size: 1rem;
    }
}

/* Gallery page */
.gallery-page {
    padding: 60px 0;
}

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

.gallery-page .gallery-item-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.gallery-page .gallery-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-page .gallery-item {
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-title {
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0 5px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-popup {
    opacity: 1;
}

.gallery-popup i {
    color: #fff;
    font-size: 2rem;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-page .gallery-item {
        height: 200px;
    }
}
