/*
 T *heme Name: PZRL Rugby League
 Theme URI: https://pzrl.pl/
 Author: Twoje Imię
 Description: Motyw WordPress inspirowany rugby league z chevronem i sekcjami federacji.
 Version: 1.0
 Tags: rugby, federation, sport, chevron
 Text Domain: pzrl
 */

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}
header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 40px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="160" viewBox="0 0 1200 160" xmlns="http://www.w3.org/2000/svg"><polyline points="0,40 600,120 1200,40" fill="none" stroke="white" stroke-width="60" opacity="0.15"/><polyline points="0,80 600,160 1200,80" fill="none" stroke="white" stroke-width="30" opacity="0.10"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    pointer-events: none;
}
.header-content {
    position: relative;
    z-index: 1;
}
.logo {
    width: 120px;
    margin-bottom: 20px;
    margin-top: 10px;
}
header h1 {
    margin: 0 0 10px 0;
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
header p {
    margin: 0 0 25px 0;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    background: #fff;
    color: #dc2626;
    padding: 14px 36px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-btn:hover {
    background: #fef2f2;
    color: #b91c1c;
}
section {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}
section h2 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 30px;
    font-weight: 700;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}
.feature {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 30px 20px;
    flex: 1 1 250px;
    min-width: 220px;
    max-width: 300px;
    border-top: 4px solid #dc2626;
}
.feature h3 {
    margin-top: 0;
    color: #1e293b;
    font-weight: 600;
}
.feature p {
    color: #64748b;
    font-size: 1rem;
}
.stats {
    background: #dc2626;
    color: #fff;
    padding: 50px 0;
    margin: 60px 0 0 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.stat {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.social-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 30px 0 0 0;
}
.social-bar a {
    color: #dc2626;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.social-bar a:hover {
    color: #b91c1c;
    transform: scale(1.15);
}
.social-bar svg {
    display: block;
}
footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 35px 0;
}
footer p {
    margin: 0;
    font-size: 0.95rem;
}
@media (max-width: 700px) {
    .features {
        flex-direction: column;
        gap: 20px;
    }
    header h1 {
        font-size: 2rem;
    }
    .social-bar {
        gap: 16px;
    }
}
