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

/* =========================
   GLOBAL
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   HEADER
========================= */
header {
    background: #000;
    padding: 20px;
    text-align: center;
}

header img {
    max-width: 220px;
    margin: auto;
}

/* =========================
   HERO – 1:1 jak wizualizacja
========================= */
.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.65) 45%,
            rgba(0,0,0,0.15) 100%
        ),
        url("img/hero.jpg") center right / cover no-repeat;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    max-width: 650px;
    line-height: 1.2;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    max-width: 520px;
    opacity: 0.9;
}

.red {
    color: #e60000;
}

/* =========================
   SEKCJE
========================= */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

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

/* =========================
   MARKI – PREMIUM (LEGALNE)
========================= */
.brands {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.brand {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand img {
    max-width: 80%;
    max-height: 70px;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand:hover img {
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   DLACZEGO MY
========================= */
.why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why div {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.why h3 {
    margin-bottom: 10px;
}

/* =========================
   KONTAKT
========================= */
.contact {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 8px;
}

/* =========================
   STOPKA
========================= */
footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .brands {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 25px;
        background-position: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section h2 {
        font-size: 26px;
    }

    .contact p {
        font-size: 16px;
    }
}
