
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d5c75;
    --primary-hover: #083d4f;
    --accent-color: #e56b6f;
    --text-color: #2b2d42;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.statut-link {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-links a.statut-link:hover {
    background-color: var(--primary-hover);
}

.hero {
    background: linear-gradient(rgba(13, 92, 117, 0.85), rgba(8, 61, 79, 0.85)), url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb0?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.hero-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 5px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.section {
    padding: 20px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 8px auto 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    padding: 1rem 0;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    min-height: 140px;
    background-color: #003366; /* Przykładowy kolor tła fundacji */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
}

.project-image strong {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.project-content h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
    color: #1a202c;
}

.project-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

@media (min-width: 768px) {
    .projects-grid {
        /* Automatyczne kolumny o minimalnej szerokości 300px */
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info, .bank-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-info h3, .bank-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.info-group p {
    margin-bottom: 8px;
}

.contact-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.support-desc {
    margin-bottom: 20px;
}

.bank-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.bank-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.account-number {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    word-break: break-all;
}

.bank-name {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

.transfer-details p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.footer {
    background-color: var(--primary-hover);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

.statut-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.statut-box-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.statut-box-content p {
    color: #555;
    max-width: 600px;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-pdf:hover {
    background-color: #d05357;
    transform: translateY(-2px);
}

.statut-text-wrapper {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.statut-heading {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}