/* ========================================== */
/* RESET I PROFILE OGÓLNE                     */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /* TA LINIJKA NAPRAWIA PROBLEM UCIĘTYCH NAGŁÓWKÓW! */
    scroll-padding-top: 90px; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #f1f2f6;
    line-height: 1.6;
    padding-top: 70px; 
}

/* ========================================== */
/* NAWIGACJA (NAVBAR)                         */
/* ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #1e272e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    border-bottom: 2px solid #ff4757;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: #ff4757;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center; 
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff4757;
}

/* --- STYLE DLA NOWEGO PODMENU (Program) --- */
.has-submenu { 
    position: relative; 
    padding-bottom: 25px; 
    margin-bottom: -25px; 
}

.submenu-btn { 
    color: white; 
    font-weight: 700; 
    cursor: pointer; 
    font-size: 0.95rem; 
    transition: 0.3s; 
    display: flex;
    align-items: center;
}

.submenu-btn:hover { color: #ff4757; }

/* Submenu na komputerze (pojawia się po najechaniu) */
.submenu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #1e272e; 
    padding: 10px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); 
    border-top: 2px solid #ff4757; 
    list-style: none; 
    min-width: 230px; 
    flex-direction: column; 
    gap: 5px; 
}

.has-submenu:hover .submenu { 
    display: flex; 
}

.submenu a { 
    display: block; 
    padding: 10px; 
    font-size: 0.85rem; 
    border-radius: 4px; 
    color: #f1f2f6; 
}

.submenu a:hover { 
    background: #2f3542; 
    color: #ff4757; 
}
/* ------------------------------------------- */

.accessibility-panel {
    display: flex;
    gap: 5px;
}

.accessibility-panel button {
    background: #2f3542;
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.accessibility-panel button:hover {
    background: #ff4757;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ff4757;
    transition: all 0.3s ease;
}

/* ========================================== */
/* SEKCJA GŁÓWNA (HERO)                       */
/* ========================================== */
.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('grafika.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-bottom: 4px solid #ff4757;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content .date {
    font-size: 1.4rem;
    color: #ff4757;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    background-color: #ff4757;
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: transform 0.2s, background 0.3s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5);
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #e84118;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.7);
}

/* ========================================== */
/* HARMONOGRAM (SCHEDULE)                     */
/* ========================================== */
.schedule-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    text-transform: uppercase;
}

.schedule-section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ff4757;
    border-radius: 2px;
}

.main-category-box {
    background-color: #1e272e;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    border-left: 5px solid #ff4757;
}

.main-category-header {
    padding: 20px;
    background: #2f3542;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    flex-wrap: wrap;
    gap: 10px;
}

.main-category-header:hover {
    background: #353b48;
}

.main-cat-title {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
}

.main-arrow {
    transition: transform 0.3s ease;
    color: #ff4757;
    font-weight: bold;
}

.main-category-content {
    display: none;
    padding: 20px;
}

.main-category-box.open .main-category-content {
    display: block;
}

.main-category-box.open .main-arrow {
    transform: rotate(180deg);
}

/* ========================================== */
/* BLOKI SCEN (STAGE TOGGLES)                 */
/* ========================================== */
.stage-toggle-box {
    background-color: #121212;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2f3542;
    transition: border-color 0.3s;
}

.stage-toggle-box.open {
    border-color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.1);
}

.stage-header {
    padding: 15px 20px;
    background-color: #262c35;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    flex-wrap: wrap;
    gap: 15px;
}

.stage-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.stage-icon {
    font-size: 1.8rem;
}

.stage-title h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 2px;
    color: #ffffff;
}

.stage-title p {
    font-size: 0.85rem;
    color: #a4b0be;
}

.stage-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stage-arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: #ff4757;
}

.header-nav-btn {
    background: #2e86de;
    color: white;
    text-decoration: none;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(46, 134, 222, 0.4);
    flex-shrink: 0; 
}

.header-nav-btn:hover {
    background: #0097e6;
    transform: scale(1.1);
}

.stage-content {
    display: none;
    padding: 15px;
}

.stage-toggle-box.open .stage-content {
    display: block;
}

.stage-toggle-box.open .stage-arrow {
    transform: rotate(180deg);
}

/* ========================================== */
/* ROZWIJANE DNI (DAY GROUPS)                 */
/* ========================================== */
.day-group { 
    margin-bottom: 15px; 
    background: transparent; 
    border: none; 
    padding: 0; 
}

.day-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: #2f3640; 
    padding: 15px; 
    border-radius: 8px; 
    cursor: pointer;
    border-left: 4px solid #ff4757; 
    transition: background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.day-header:hover { 
    background: #353b48; 
}

.day-group.active .day-header {
    background: #1e242c;
}

.day-header h4 { 
    margin: 0; 
    color: #f1f2f6; 
    font-size: 1.05rem; 
    border: none; 
    padding: 0; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.day-arrow { 
    color: #ff4757; 
    transition: transform 0.3s ease; 
    font-size: 0.9rem; 
}

.day-content { 
    display: none; 
    padding-top: 15px; 
}

.day-group.active .day-content { 
    display: block;
    border-left: 2px dashed #2f3542;
    margin-left: 10px;
    padding-left: 10px;
}

.day-group.active .day-arrow { transform: rotate(180deg); }

/* ========================================== */
/* ARTYŚCI I WYDARZENIA (EVENTS)              */
/* ========================================== */
.event {
    display: flex;
    gap: 15px;
    padding: 15px 10px; 
    border-bottom: 1px solid #2f3542;
    transition: all 0.3s ease;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.event:last-child {
    border-bottom: none;
}

.event.active {
    background-color: #171b20; 
    border-left: 4px solid #ff4757; 
    margin: 15px 0; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    border-bottom: none;
}

.time {
    font-weight: 900;
    font-size: 1.15rem;
    color: #ff4757;
    min-width: 55px;
    padding-top: 5px;
}

.details {
    flex: 1;
}

.band-title-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #1e272e;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
    border-left: 3px solid transparent;
    flex-wrap: wrap;
    gap: 10px;
}

.band-title-area:hover {
    background: #2f3542;
    border-left: 3px solid #ff4757;
}

.event.active .band-title-area {
    background: transparent; 
    border-left: none; 
}

.band-logo {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid #ff4757;
    margin-right: 15px;
    transition: all 0.3s ease;
}

/* Otwarty artysta z powiększeniem */
.event.active .band-logo {
    width: 150px; 
    height: 150px; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.band-info {
    flex: 1;
    min-width: 150px;
}

.band-info h4 {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
}

.band-info p {
    font-size: 0.8rem;
    color: #ced6e0;
}

.expand-icon {
    font-weight: 900;
    color: #ff4757;
    font-size: 1.4rem;
    transition: transform 0.2s;
}

.band-description {
    display: none;
    padding: 15px 5px 5px 5px; 
    font-size: 0.95rem;
    color: #dfe4ea;
    line-height: 1.6;
    border-radius: 0 0 8px 8px;
    border-top: 1px dashed #2f3542; 
    margin-top: 10px;
}

.event.active .band-description {
    display: block;
}

.event.active .expand-icon {
    transform: rotate(45deg);
}

/* ========================================== */
/* MAPA I LOKALE                              */
/* ========================================== */
.map-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #ff4757;
    border-radius: 2px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 2px solid #2f3542;
}

.venues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.venue-card {
    background: #1e272e;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2f3542;
    transition: transform 0.2s;
}

.venue-card:hover {
    transform: translateY(-2px);
    border-color: #ff4757;
}

.venue-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    flex-wrap: wrap; 
    gap: 10px;
}

.venue-info h3 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #ffffff;
}

.venue-tag {
    font-size: 0.8rem;
    color: #ff4757;
    font-weight: 700;
}

.venue-content {
    display: none;
    padding: 15px;
    background: #121212;
    border-top: 1px solid #2f3542;
}

.venue-card.active .venue-content {
    display: block;
}

.nav-btn {
    display: inline-block;
    margin-top: 10px;
    background: #2e86de;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ========================================== */
/* FAQ                                        */
/* ========================================== */
.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #1e272e;
    border-radius: 12px;
    margin-bottom: 60px;
    border-top: 4px solid #ff4757;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #121212;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2f3542;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: #ff4757;
    margin-bottom: 8px;
    font-weight: 900;
}

.faq-item.special {
    border-left: 4px solid #2ed573;
}

.faq-item.special h3 {
    color: #2ed573;
}

/* ========================================== */
/* RESPONSYWNOŚĆ (TYLKO TELEFONY)             */
/* ========================================== */
@media (max-width: 768px) {
    .logo {
        font-size: 0.95rem; 
        white-space: normal; 
        line-height: 1.2;
        max-width: 130px; 
    }

    .has-submenu { width: 100%; padding-bottom: 0; margin-bottom: 0; }
    .submenu-btn { display: block; padding: 12px; background: #2f3542; border-radius: 6px; text-align: left; }
    .submenu { display: none; position: static; box-shadow: none; border-top: none; background: transparent; padding: 10px 0 0 15px; min-width: 100%; }
    .submenu.open { display: flex; }

    .schedule-section, .map-section, .faq-section {
        padding: 30px 10px; 
    }

    .stage-header, .main-category-header, .day-header {
        padding: 12px 10px; 
    }
    
    .stage-title h3 { font-size: 1rem; }
    .stage-title p { font-size: 0.75rem; }
    .day-header h4 { font-size: 0.95rem; }
    .time { font-size: 1rem; min-width: 45px; }
    .band-info h4 { font-size: 0.95rem; }
    .band-info p { font-size: 0.75rem; }
    
    .event.active .band-logo {
        width: 100px; 
        height: 100px;
    }
    
    .band-title-area {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .event.active .band-title-area {
        gap: 5px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #1e272e;
        padding: 20px;
        gap: 15px;
        text-align: left;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        border-bottom: 2px solid #ff4757;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .venues-grid {
        grid-template-columns: 1fr;
    }
}