/* RESET I ZMIENNE ZASADNICZE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #121212;
    --panel-color: #1e1e1e;
    --accent-color: #ff6600;
    --text-color: #e0e0e0;
    --text-muted: #aaaaaa;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* MENU NAWIGACYJNE */
.main-header {
    background-color: var(--panel-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.logo i {
    color: var(--accent-color);
    margin-right: 5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    margin-left: 20px;
}

.nav-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-menu ul li a:hover {
    color: var(--accent-color);
}

/* HERO BANNER */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1516576880669-dfcbfd5f6221?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    height: 45vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 1px solid #333;
}

.hero-content h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e05500;
    transform: translateY(-2px);
}

/* GŁÓWNY UKŁAD STRONY (3 KOLUMNY) */
.main-container {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

/* WSPÓLNE STYLE DLA PANELÓW I WIDGETÓW */
aside, main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget, .section-card {
    background-color: var(--panel-color);
    border-radius: 6px;
    padding: 20px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.widget h3, .section-card h2 {
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.widget h3 i, .section-card h2 i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* BOK LEWY - STATYSTYKI I OGŁOSZENIA */
.stats-list {
    list-style: none;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.stats-list li i {
    color: var(--text-muted);
    width: 25px;
}

.stats-list li span {
    font-weight: bold;
    color: var(--accent-color);
}

.announcement {
    font-size: 14px;
    background-color: rgba(255, 102, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 10px;
    border-radius: 0 4px 4px 0;
}

/* ŚRODEK - SEKCJE INFORMACYJNE */
.section-card p {
    margin-bottom: 15px;
    color: #ccc;
}

/* SIATKA GALERII */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 180px;
    border: 2px solid #2a2a2a;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* STOPKA */
.main-footer {
    background-color: var(--panel-color);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid #2a2a2a;
    color: var(--text-muted);
    font-size: 14px;
}

/* RESPONSYWNOŚĆ (RWD) */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left, .sidebar-right {
        order: 2;
    }
    
    .content-center {
        order: 1;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu ul li {
        margin: 5px 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}