* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1c1c1c;
    line-height: 1.6;
    background: #fafafa;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Naglowek strony */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #111;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    color: #374151;
    font-weight: 500;
}

/* Hero z obrazkiem */
.hero {
    background: url('/assets/header-bg.png') center/cover no-repeat;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 24px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn:hover { background: #1d4ed8; text-decoration: none; }

/* Sekcje */
section.section {
    padding: 64px 0;
}

section.section h2 {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.card h3 { font-size: 20px; margin-bottom: 12px; }

.cities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.city-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.site-footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
}

.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

/* Tresc statyczna (polityka, regulamin) */
.page-content {
    background: #fff;
    padding: 48px 0;
}

.page-content .container { max-width: 800px; }
.page-content h1 { font-size: 32px; margin-bottom: 24px; }
.page-content h2 { font-size: 22px; margin: 32px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul { margin: 12px 0 16px 24px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .main-nav ul { flex-wrap: wrap; gap: 12px 16px; }
}
