:root {
    --primary-blue: #0056b3;
    --dark-blue: #003366;
    --light-bg: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
    --accent-orange: #e65100;
}

/* NOWE STYLE DLA NAWIGACJI I NAGŁÓWKÓW */
.main-nav {
    background: #fff;
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 5px 10px;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-blue);
}

.header-top {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 40px 0;
}
.header-top h1, .header-top h2 { color: white; margin: 0; }

.warning-box {
    background: #fdf2f2;
    border-left: 5px solid #d32f2f;
    padding: 20px;
    margin: 40px 0;
}

.cta-button {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}
.cta-button:hover {
    background: var(--dark-blue);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

/* HEADER */
.cover {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.cover h1 { color: var(--white); }
.cover .subtitle { font-size: 0.5em; font-weight: 300; display: block; }
.cover-image img { 
    width: 100%; 
    /* max-height: 500px;  */
    object-fit: cover; 
    margin: 20px 0; 
    border-radius: 8px; 
}
.highlight-box {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border: 1px solid var(--white);
    display: inline-block;
    margin-bottom: 20px;
}
.website-link { color: var(--white); text-decoration: underline; font-weight: bold; }

/* BUDŻET */
.budget-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.budget-stats, .budget-desc { flex: 1; min-width: 300px; }
.stat-box {
    background: var(--light-bg);
    padding: 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-blue);
}
.stat-box.highlight { background: var(--dark-blue); color: white; border-left-color: var(--accent-orange); }
.stat-box span { display: block; }
.stat-box .value { font-size: 1.5em; font-weight: bold; }
.conclusion {
    background: #fff3e0;
    padding: 15px;
    border: 1px dashed var(--accent-orange);
    color: var(--accent-orange);
    font-weight: bold;
    margin-top: 20px;
}

/* TABELA */
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.9em; }
th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }
th { background-color: var(--primary-blue); color: white; }
tr:nth-child(even) { background-color: var(--light-bg); }

/* DEMOGRAFIA */
.demographics .stats-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}
.stat-circle {
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.stat-circle.smaller { width: 150px; height: 150px; background: #6699cc; }
.stat-circle strong { font-size: 2em; display: block; }

/* ZDJĘCIE FULL */
.full-image img { width: 100%; height: auto; display: block; }

/* INWESTOR I MAPY */
.two-columns { display: flex; flex-wrap: wrap; gap: 30px; }
.col-text, .col-img { flex: 1; min-width: 300px; }
.col-img img, .map-container img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.locations-list ul { columns: 2; list-style-position: inside; }

/* KORZYŚCI FINANSOWE */
.chart-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}
.chart-img, .chart-legend { flex: 1; min-width: 300px; }
.chart-img img { width: 100%; max-width: 400px; margin: 0 auto; display: block; }
.chart-legend ul { list-style: none; padding: 0; }
.chart-legend li { padding: 10px 0; border-bottom: 1px solid #eee; }
.disclaimer { font-size: 0.8em; color: #777; margin-top: 10px; font-style: italic; }

/* IKONY I LISTA */
.usage-of-funds { text-align: center; background: var(--light-bg); }
.benefits-list { text-align: left; max-width: 800px; margin: 20px auto; font-size: 1.1em; }
.benefits-list li { margin-bottom: 10px; }

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.faq-item h3 { color: var(--dark-blue); font-size: 1.1em; margin-top: 0; }
.img-break img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; margin: 20px 0; }

/* FOOTER */
.contact { background: #333; color: #fff; }
.contact h2 { color: #fff; }
.contact-details { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.contact a { color: #6699cc; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 40px; border-top: 1px solid #555; padding-top: 20px; font-size: 0.9em; }

@media (max-width: 768px) {
    .budget-columns, .two-columns, .chart-area, .contact-details { flex-direction: column; }
    .stat-circle { width: 150px; height: 150px; }
    .locations-list ul { columns: 1; }
}