/* --- RESET I BAZA --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

/* --- ZMIENNE KOLORYSTYCZNE --- */
:root {
    --primary: #d32f2f;       /* Czerwony */
    --primary-dark: #b71c1c;
    --dark: #111111;          /* Prawie czarny */
    --light: #ffffff;
    --grey-bg: #f8f9fa;       /* Jasne tło sekcji */
    --border-color: #e0e0e0;
}

/* --- LEPSZE ODSTĘPY (GLOBALNE) --- */
section {
    padding: 80px 0; /* Dużo oddechu góra/dół */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER --- */
header {
    background: var(--dark);
    color: var(--light);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    height: 80px; /* Stała wysokość */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 1px;
}
.logo span { color: var(--primary); }

/* --- MENU DESKTOP --- */
.nav-menu ul { display: flex; gap: 25px; }
.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e0e0e0;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a::after {
    content: ''; display: block; width: 0; height: 2px; 
    background: var(--primary); transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

/* --- CTA PHONE (W NAGŁÓWKU) --- */
.cta-phone {
    background: var(--primary);
    padding: 10px 22px;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--primary);
    white-space: nowrap;
}
.cta-phone:hover {
    background: transparent;
    color: var(--primary);
}

/* --- HAMBURGER BUTTON --- */
.menu-toggle {
    display: none; /* Domyślnie ukryty */
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- HERO (TŁO) --- */
.hero {
    min-height: 85vh; /* Trochę mniejszy niż 100% żeby widać było treść poniżej */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
                url('hero-bg.jpg') center/cover no-repeat;
    /* Fallback color gdyby zdjęcia nie było */
    background-color: #222; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 1000px;
}
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 700px;
    margin-bottom: 40px;
    color: #ddd;
}
.hero-btn {
    background: var(--primary);
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.4);
}
.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- GRID USŁUG --- */
.features { background-color: var(--grey-bg); }
.features h2, .service-area h2, .offer h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatyczne kolumny */
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.card .icon { font-size: 3rem; display: block; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.card p { color: #666; margin-bottom: 20px; font-size: 1rem; }
.card-link { 
    color: var(--primary); font-weight: 700; font-size: 0.95rem; 
    text-transform: uppercase; 
}

/* --- OBSZAR DZIAŁANIA --- */
.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center; /* Wyśrodkowanie tagów */
}

.area-tag {
    background: #fff;
    padding: 10px 18px;
    border-radius: 30px; /* Bardziej zaokrąglone */
    border: 1px solid #ddd;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}
.area-tag:hover {
    border-color: var(--dark);
    color: var(--dark);
    background: #fff;
    transform: scale(1.05);
}

/* --- BUTTONY NARZĘDZIOWE (TE CZARNE) --- */
.tools-wrapper {
    margin-top: 60px;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.tool-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #000;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    margin: 8px;
    font-size: 1rem;
}
.tool-btn:hover { background: #333; color: #fff; }

/* --- CENNIK --- */
.offer { background-color: #fff; }
.offer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-row {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.offer-row span:first-child { font-weight: 600; color: #333; font-size: 1.1rem; }
.offer-row .price-highlight {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}
.highlight-row {
    background: #fff5f5; /* Lekko czerwone tło dla "GRATIS" */
    border-color: #ffcdd2;
}

/* --- STOPKA (NAPRAWIONA) --- */
footer {
    background: var(--dark);
    color: #999;
    padding: 60px 20px 30px 20px;
    text-align: center;
    border-top: 5px solid var(--primary);
}

footer p { margin-bottom: 10px; }
footer strong { color: #fff; font-size: 1.2rem; display: block; margin-bottom: 5px; }

.footer-cta {
    display: inline-block;
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    margin: 20px 0 30px 0;
    padding: 10px 20px;
    border: none; /* Usunięto obramowanie */
}

.footer-cta:hover {
    color: var(--primary);
    /* Usunięto border-color, ponieważ nie ma ramki */
}

.copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --------------------------------
            MOBILE
-------------------------------- */
@media (max-width: 992px) {
    .menu-toggle { display: block; z-index: 1001; }
    .cta-phone { display: none; } /* Ukrywamy przycisk w headerze na mobile, bo jest mało miejsca */
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Ukryte poza ekranem */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        padding: 40px;
    }
    
    .nav-menu.is-open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .nav-menu a { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    section { padding: 50px 0; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .offer-row {
        padding: 15px;
        font-size: 0.9rem;
    }
    .offer-row .price-highlight { font-size: 1rem; }

    /* Układ cennika na bardzo małych ekranach */
    .offer-row {
        flex-direction: row; 
    }
}