/* --- Konfiguracja Główna --- */
:root {
    --primary-color: #2E472D; /* Harcerska zieleń */
    --secondary-color: #E07A5F; /* Rdzawy/pomarańczowy akcent */
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset i podstawa --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-15 {
    margin-top: 15px;
}

/* --- Nawigacja --- */
.navbar {
    background-color: var(--primary-color);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* --- Sekcja Główna (Hero) --- */
.hero {
    background-color: var(--bg-light);
    /* Miejsce na ewentualne zdjęcie w tle:
    background-image: linear-gradient(rgba(46, 71, 45, 0.8), rgba(46, 71, 45, 0.8)), url('zdjecie-klubowe.jpg');
    background-size: cover; background-position: center; */
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #c9654b;
    transform: translateY(-3px);
}

/* --- Sekcje Ogólne --- */
.section {
    padding: 90px 0;
}

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

/* Podkreślenie tytułu sekcji */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.bg-dark {
    background-color: var(--primary-color);
}

.text-white {
    color: #fff !important;
}

/* --- Aktualności (Karty ułatwiające czytanie i edycję) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 1.05rem;
    color: var(--text-color);
}

/* --- O klubie --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
}

/* --- Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    text-align: center;
}

.contact-grid h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-grid p {
    font-size: 1.1rem;
}

.link-white {
    color: #fff;
    font-weight: bold;
}

.link-white:hover {
    color: var(--secondary-color);
}

/* --- Stopka --- */
.footer {
    background-color: #1a2919;
    color: #888;
    text-align: center;
    padding: 25px 0;
    font-size: 0.95rem;
}

/* --- Responsywność dla urządzeń mobilnych --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-links {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 60px 0;
    }
}