:root {
    --brand-blue: #1a4a7a;
    --brand-green: #72c081;
    --text-dark: #2d3748;
    --white: #ffffff;
}

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

body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* NAVBAR - Naprawa układu poziomego */
header {
    background: var(--white);
    border-bottom: 1px solid #edf2f7;
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO - Zgodne z image_e4134a.png */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -1px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

/* MENU - Rozmieszczenie w poziomie */
.menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.menu a:hover, .menu a.active {
    color: var(--brand-green);
}

/* HERO SECTION - Naprawa wyglądu sekcji głównej */
.hero {
    background: linear-gradient(rgba(26, 74, 122, 0.9), rgba(26, 74, 122, 0.9)), url('/static/img/hero-bg.jpg');
    background-size: cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.btn-cta {
    background: var(--brand-green);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}

/* Karty usług - Naprawa pionowego układu na poziomy */
.services-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}


/* Stylizacja Stopki */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: 80px;
    font-family: 'Montserrat', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h3 {
    color: var(--matt-green); /* Używamy Twojego koloru zielonego */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    color: #a0aec0;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.footer-links i {
    color: var(--matt-green);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Logo w stopce (wersja jasna) */
.logo-footer {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.plus-circle-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--matt-green);
    border-radius: 50%;
    margin: 0 8px;
    font-size: 16px;
    color: var(--matt-green);
}

/* Dolny pasek z copyright */
.footer-bottom {
    background-color: #111111;
    color: #718096;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 12px;
    border-top: 1px solid #2d3748;
}
