:root {
    --primary: #3daf52;
    --bg-dark: #0b0b0b;
    --text: #ffffff;
}

body {
    margin: 0; font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark); color: var(--text);
    scroll-behavior: smooth; overflow-x: hidden;
}

.navbar {
    position: fixed; top: 0; width: 100%; padding: 20px 50px;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; box-sizing: border-box;
}

.logo-text { font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; margin: 0; }
.nav-links a { color: white; text-decoration: none; margin-left: 20px; font-size: 0.8rem; font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.hero-video {
    min-width: 100%; min-height: 100%; object-fit: cover;
    animation: kenBurns 20s infinite alternate ease-in-out;
}
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.15); } }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), var(--bg-dark));
}

.hero-content { position: relative; z-index: 10; text-align: center; }
.main-logo { max-width: 380px; margin-bottom: 20px; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 4rem); margin: 0; }
.animated-line { width: 60px; height: 3px; background: var(--primary); margin: 20px auto; }

.btn {
    display: inline-block; padding: 15px 40px; border: 2px solid var(--primary);
    color: var(--primary); text-decoration: none; border-radius: 50px;
    text-transform: uppercase; font-weight: 700; transition: 0.4s;
}
.btn:hover { background: var(--primary); color: black; }

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wypełnia ekran obrazem/wideo */
    background-color: #000; /* Dodatkowe czarne tło pod spodem */
    /* Jeśli masz poster, warto wyłączyć animację kenBurns na starcie, 
       żeby nie przeskakiwała przy przejściu na wideo, lub zostawić ją dla obu: */
}

/* Opcjonalnie: upewnij się, że tło hero jest czarne, 
   zanim cokolwiek się załaduje */
.hero {
    background-color: #000;
}

/* SEKCJA O NAS - WYŚRODKOWANA */
.about-section {
    padding: 80px 0;
    background-color: #050505;
    text-align: center; /* Centruje tekst i elementy wewnątrz */
}

.about-content {
    max-width: 900px; /* Ogranicza szerokość całej sekcji dla lepszej czytelności */
    margin: 0 auto;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* KONTENER NA ZDJĘCIE */
.about-image-wrapper {
    margin: 40px auto;
    max-width: 700px; /* TU KONTROLUJESZ WIELKOŚĆ ZDJĘCIA */
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(48, 173, 212, 0.2);
    display: block;
}

/* ZAKTUALIZOWANE STATYSTYKI */
.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Pozwala elementom przejść do nowej linii */
    gap: 40px;
    margin-top: 40px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02); /* Delikatne wyróżnienie tła */
    border-radius: 15px;
}

.stat-item {
    flex: 1;
    min-width: 120px; /* Zapobiega zbytniemu ściskaniu */
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2.2rem; /* Nieco większe liczby */
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    color: #fff;
}

/* DOSTOSOWANIE DO TELEFONÓW (RWD) */
@media (max-width: 768px) {
    .about-stats {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Dwie kolumny na średnich telefonach */
        gap: 25px;
        padding: 20px;
    }

    .stat-item strong {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr; /* Jedna kolumna na bardzo małych telefonach */
        gap: 20px;
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 15px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* Sekcja Koncertów */
.container { padding: 80px 10%; max-width: 1000px; margin: 0 auto; }
.concerts-section { background: #0f0f0f; min-height: 400px; }
.section-title { color: var(--primary); text-align: center; font-size: 2.5rem; margin-bottom: 50px; text-transform: uppercase; }
.section-title-small { color: var(--primary); text-align: center; font-size: 1.5rem; margin-bottom: 30px; opacity: 0.6; }
.status-info { text-align: center; opacity: 0.5; padding: 40px; }

/* STYL LICZNIKA - Wersja zoptymalizowana */
#countdown-wrap {
    text-align: center;
    background: rgba(61, 175, 97, 0.05);
    border: 1px solid rgba(61, 175, 95, 0.2);
    padding: 30px 15px; /* Mniejszy padding na start */
    border-radius: 20px;
    margin-bottom: 50px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 10px; /* Mniejszy odstęp bazowy */
    margin-bottom: 15px;
}

.time-box {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    flex: 1;           /* Każdy boks zajmuje tyle samo miejsca */
    max-width: 80px;   /* Ale nie więcej niż 80px */
}

.time-box span {
    display: block;
    font-size: 1.8rem; /* Nieco mniejszy font niż wcześniej */
    font-weight: 700;
    color: var(--primary);
}

.time-box label {
    font-size: 0.6rem;
    text-transform: uppercase;
    opacity: 0.5;
}

/* SEKCJA WIDEO - STYLE */
.video-section {
    padding: 80px 0;
    background-color: #0f0f0f; /* Nieco inne tło dla oddzielenia sekcji */
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwa obok siebie na komputerze */
    gap: 40px;
    margin-top: 30px;
}

.video-card {
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporcje 16:9 */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 2px solid rgba(61, 175, 82, 0.2);
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex; justify-content: center; align-items: center;
    transition: background 0.3s ease;
}

.play-overlay i {
    font-size: 3.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

/* Efekty najechania myszką */
.video-card:hover {
    transform: translateY(-8px);
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.video-card:hover .play-overlay i {
    transform: scale(1.15);
}

.video-card:hover .video-thumbnail {
    border-color: var(--primary);
}

.video-title {
    margin-top: 20px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

/* Dostosowanie do telefonów */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* Jedno pod drugim na telefonie */
        gap: 30px;
    }
    
    .video-title {
        font-size: 1rem;
    }
}

/* RWD - POPRAWKI DLA TELEFONÓW */
@media (max-width: 768px) {
.nav-logo {
        display: none;
    }

    /* Opcjonalnie: centrujemy linki, jeśli logo zniknęło */
    .navbar {
        justify-content: center; 
        padding: 15px 10px;
    }    

.container {
        padding: 60px 5%; /* Więcej miejsca po bokach na małych ekranach */
    }

    #countdown {
        gap: 6px; /* Minimalny odstęp na telefonie */
    }

    .time-box {
        padding: 8px 4px;
        min-width: 0; /* Usuwamy minimalną szerokość, by boks mógł się zwęzić */
    }

    .time-box span {
        font-size: 1.4rem; /* Wyraźnie mniejsze cyfry na telefonie */
    }

    .time-box label {
        font-size: 0.5rem; /* Bardzo małe etykiety pod cyframi */
    }

    #countdown-event-name {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Przycisk na telefonie pod tekstem */
    .event-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .event-info {
        padding: 15px 0;
    }

    .details-btn {
        margin-left: 0;
        width: 100%;
        box-sizing: border-box;
    }
}
/* Lista Koncertów - FLEX LAYOUT */
.event-list { display: flex; flex-direction: column; gap: 15px; }
.event-item {
    background: rgba(255, 255, 255, 0.03); border-left: 4px solid var(--primary);
    padding: 25px; 
    display: flex;             /* Ułożenie w linii */
    align-items: center;       /* Wyśrodkowanie w pionie */
    justify-content: space-between; /* Przycisk na prawą stronę */
    border-radius: 0 15px 15px 0; 
    transition: 0.3s;
}
.event-item:hover { transform: translateX(10px); background: rgba(255, 255, 255, 0.07); }

.event-date { min-width: 90px; text-align: center; color: var(--primary); }
.event-date .day { font-size: 2.2rem; font-weight: 700; display: block; line-height: 1; }
.event-date .month { font-size: 0.8rem; text-transform: uppercase; }

.event-info { 
    padding-left: 35px; 
    flex-grow: 1;              /* Tekst zajmuje środek, spychając przycisk */
}
.event-info strong { font-size: 1.4rem; display: block; color: #fff; margin-bottom: 5px; }
.event-info p { margin: 0; opacity: 0.6; font-size: 1rem; }

.details-btn {
    display: inline-block; 
    padding: 10px 25px;
    margin-left: 20px;         /* Odstęp od tekstu */
    border: 1px solid var(--primary); color: var(--primary);
    text-decoration: none; border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; transition: 0.3s; text-transform: uppercase;
    white-space: nowrap;       /* Przycisk się nie łamie */
}
.details-btn:hover { background: var(--primary); color: #000; }

/* Styl dla przycisku Pokaż Starsze Koncerty */
#load-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;      /* Przezroczyste tło */
    border: 2px solid var(--primary); /* Zielona ramka */
    color: var(--primary);         /* Zielony tekst */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 50px;           /* Kształt pigułki */
    transition: all 0.4s ease;
    cursor: pointer;
    outline: none;
    margin: 20px auto;
}

#load-more-btn:hover {
    background: var(--primary);    /* Wypełnienie kolorem po najechaniu */
    color: #000;                   /* Czarny tekst po najechaniu */
    transform: translateY(-3px);   /* Delikatne uniesienie */
    box-shadow: 0 5px 15px rgba(61, 175, 82, 0.3); /* Lekka poświata */
}

.event-time {
    margin-left: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 1;
}

/* Archiwum */
.past-list .event-item { opacity: 0.5; border-left-color: #444; filter: grayscale(1); transform: scale(0.98); }
.past-list .event-item:hover { opacity: 0.9; filter: grayscale(0); transform: scale(1); }

footer { padding: 80px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }

/* RWD - MOBILNE */
@media (max-width: 768px) {
    .event-item { flex-direction: column; text-align: center; }
    .event-info { padding: 20px 0; }
    .details-btn { margin-left: 0; width: 100%; box-sizing: border-box; }
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; }
}
/* Social Media Icons w stopce */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}

.social-links a {
    color: #fff;
    font-size: 1.8rem; /* Wielkość ikon */
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--primary); /* Zmienia się na zielony */
    transform: translateY(-5px); /* Delikatne uniesienie */
    opacity: 1;
}

.copyright {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-top: 30px;
}

/* Poprawka dla telefonów, żeby ikony nie były za blisko siebie */
@media (max-width: 768px) {
    .social-links {
        gap: 30px;
    }
    .social-links a {
        font-size: 2.2rem; /* Większe ikony na telefonie, łatwiej kliknąć palcem */
    }
}
/* SEKCJA PLIKI */
.files-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.files-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwa kafelki obok siebie */
    gap: 20px;
    margin-top: 30px;
}

.file-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(61, 175, 82, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.file-card:hover {
    background: rgba(61, 175, 82, 0.08);
    border-color: var(--primary);
    transform: translateX(10px);
}

.file-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 20px;
}

.file-info {
    flex-grow: 1;
}

.file-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.file-info span {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
}

.download-arrow {
    font-size: 1.2rem;
    opacity: 0.3;
    transition: 0.3s;
}

.file-card:hover .download-arrow {
    opacity: 1;
    color: var(--primary);
}

/* RWD dla plików */
@media (max-width: 768px) {
    .files-grid {
        grid-template-columns: 1fr; /* Jeden pod drugim na telefonie */
    }
}