:root {
    --primary-color: #3182ce;
    --secondary-color: #fb923c;
    --background-color: #f7f9fc;
    --card-background: #ffffff;
    --text-color: #2d3748;
    --muted-text-color: #718096;
    --border-color: #e2e8f0;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.home-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    /* background-image jest teraz ustawiane inline w home/index.html.twig,
       zależnie od zdjęcia zapisanego w panelu admina (/admin/strona-glowna) */
    color: #ffffff;
    padding: 40px 20px;
}

.home-hero .hero-content {
    max-width: 680px;
}

.home-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd8ec;
    margin: 0 0 10px;
}

.home-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 14px;
    font-weight: 800;
}

.home-hero p.lede {
    font-size: 1.1rem;
    color: #e6edf7;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
}

.hero-actions .btn-primary {
    background: var(--secondary-color);
    color: #1a202c;
}

.hero-actions .btn-primary:hover {
    background: #f97316;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.home-content {
    max-width: 900px;
    margin: -50px auto 60px;
    padding: 0 20px;
    position: relative;
}

.info-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    padding: 40px;
}

.info-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.info-card p {
    color: var(--text-color);
    max-width: 68ch;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.info-grid .info-item h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
}

.info-grid .info-item p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted-text-color);
}

.info-card .instructions-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.info-card .instructions-link:hover {
    text-decoration: underline;
}
