:root {
    --accent: #e63946;       /* czerwony sportowy */
    --accent2: #ff8c00;      /* pomarańcz */
    --dark: #0a0a0a;         /* głęboka czerń */
    --muted: #b7b7b7;
    --bg: #f7f7f7;
    --gold: #f5a623;         /* gwiazdki opinii */
}

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

body {
    font-family: Inter, Arial, sans-serif;
    background-image: url(../img/background.jpg);
    background-repeat: no-repeat;
    color: var(--dark);
    line-height: 1.4;
}

/* HEADER */
header {
    background: var(--dark);
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.brand-sub {
    font-size: 13px;
    color: #d0d0d0;
    margin-top: 4px;
}

/* ================= NAV ================= */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--bg);
    font-weight: 600;
    position: relative;
    text-decoration: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent2);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-highlight a {
    color: var(--yellow);
    font-weight: 700;
}

.AutoKomis span {
    color: #e10600;
}

.socials a {
    margin-left: 12px;
    color: white;
    font-size: 20px;
}

.icon {
    width: 30px;
    height: 30px;
}

/* MAIN SECTIONS */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

section {
    margin-bottom: 60px;
    animation: fadeInSection 0.7s ease-out forwards;
}

/* HEADINGS */
h1 {
    font-size: 2.125rem; /* 34px */
    margin-bottom: 10px;
}

h2 {
    font-size: 1.875rem; /* 30px */
    color: var(--accent);
    margin-bottom: 20px;
}

p.lead {
    color: #000;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    background: linear-gradient(
        135deg,
        #f4f7fb 0%,
        #eef2f8 100%
    );
    border-radius: 20px;
    opacity: 0;
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.06),
        0 12px 30px rgba(0,0,0,0.10);

    /* lekkie „uniesienie” przy najechaniu */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 16px rgba(0,0,0,0.07),
        0 18px 40px rgba(0,0,0,0.12);
}

/* Teksty */
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Lista atutów */
.hero-features {
    margin: 20px 0;
    padding-left: 20px;
}

.hero-features li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #333;
}

/* CTA */
.hero-cta {
    display: inline-block;
    padding: 12px 26px;
    margin-top: 10px;

    background: #0066ff;
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;

    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background: #0050cc;
    transform: translateY(-2px);
}

/* Responsywność */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}


/* AKTUALNOŚCI*/
.news-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fb-wrapper {
    flex: 1 1 500px;
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.reviews-wrapper {
    flex: 1 1 500px;
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.review-box {
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-author {
    font-weight: 700;
    margin-bottom: 6px;
    font-weight: bold;
    color: var(--accent);
}

.review-rating {
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: black;
    line-height: 1.5;
}


/* USŁUGI I CENY */
#uslugi {
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.service {
    background: white;
    padding: 22px;
    border-radius: 14px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent2);
}

.service h2 {
    color: var(--accent);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.service:hover h2 {
    color: var(--accent2);
}

.service .price {
    font-weight: 700;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.service:hover .price {
    color: var(--accent2);
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    border-top: 5px solid var(--accent2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.price {
    color: var(--accent2);
    font-weight: 800;
    font-size: 1.25rem; /* 20px */
    margin-top: 6px;
}

/* KONTAKT */
.contact-flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info,
.contact-directions {
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    flex: 1;
    min-width: 280px;
}

.hours {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 4px 12px;
    margin-top: 8px;
}

.hours .day,
.hours .time {
    text-align: left;
}


/* ZGŁOŚ PROBLEM */
#zglos{
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.contact-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

form {
    display: grid;
    gap: 12px;
}

input,
textarea,
select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    resize: none;
}


/* GALERIA FULL WIDTH */
.gallery-full {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 15px 0;
}

.gallery-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background: var(--dark);
    padding: 30px 20px;
    color: white;
    text-align: center;
}

/* ================= RESPONSYWNOŚĆ MOBILE ================= */
@media (max-width: 992px) {

    /* HEADER */
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 0 15px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        text-align: left;
    }

    .main-nav li {
        width: 100%;
    }

    .socials {
        margin-top: 10px;
        justify-content: flex-start;
    }

    /* HERO */
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .hero-card {
        padding: 20px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    .hero-features li {
        font-size: 0.95rem;
    }

    .hero-cta {
        font-size: 1rem;
        padding: 10px 20px;
    }

    /* NEWS / OPINIE */
    .news-flex {
        flex-direction: column;
        gap: 20px;
    }

    .fb-wrapper,
    .reviews-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* USŁUGI */
    .services {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service,
    .card {
        padding: 16px;
    }

    .service h2,
    .price {
        font-size: 1rem;
    }

    /* KONTAKT */
    .contact-flex {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-directions {
        flex: 1 1 100%;
        min-width: unset;
    }

    .hours {
        grid-template-columns: 1fr 1fr;
    }

    input,
    textarea,
    select,
    button {
        font-size: 14px;
        padding: 10px;
    }

    /* ZGŁOŚ PROBLEM */
    form {
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
    }

    .gallery-grid img {
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* FOOTER */
    footer {
        text-align: center;
        padding: 20px 10px;
    }
}

/* MAŁE TELEFONY */
@media (max-width: 576px) {

    .brand-title {
        font-size: 1.5rem;
    }

    .brand-sub {
        font-size: 12px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle,
    .lead,
    .hero-features li {
        font-size: 0.9rem;
    }

    .hero-cta {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .hours {
        grid-template-columns: 1fr;
    }

    .hours .day,
    .hours .time {
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .gallery-grid img {
        height: 100px;
    }
}