
/* ===== USTAWIENIA STRONY ===== */

.aboutPage {
    width: 100%;
    padding: 40px 30px 70px;
    color: #fff;
    box-sizing: border-box;
}

/* ===== NAPRAWIAMY, PRZYWRACAMY DO ŻYCIA ===== */

.aboutHero {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 80px;
    padding: 45px 35px;
    box-sizing: border-box;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 14px;
    text-align: center;
}

.aboutLabel {
    margin-bottom: 18px;
    color: #ff6a00;
    font-size: 14px;
    letter-spacing: 3px;
}

.aboutHero h1 {
    margin-bottom: 25px;
    color: #ff6a00;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.3;
}

.aboutIntro {
    max-width: 750px;
    margin: 0 auto 30px;
    color: #dedede;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

/* ===== PRZYCISK ===== */

.aboutButton {
    display: inline-block;
    padding: 13px 22px;
    background-color: #e44d07;
    color: #fff;
    text-decoration: none;
    border: 1px solid #e44d07;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.aboutButton:hover {
    background-color: #be3c00;
    transform: translateY(-2px);
}

/* ===== SEKCJA O NAS ===== */

.aboutSection {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto 90px;
}

.aboutText {
    min-width: 0;
    padding: 35px;
    box-sizing: border-box;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 14px;
}

/* Pasja do mechaniki i techniki */
.aboutText h2 {
    margin-bottom: 22px;
    color: #ff6a00;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
}

.aboutText p {
    margin-bottom: 18px;
    color: #dedede;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* Tylko Kim jesteśmy? jest pogrubione.
   Wymaga klasy class="aboutWho" w HTML. */
.aboutText h2.aboutWho {
    color: #ff6a00;
    font-weight: 700;
}

/* ===== NASZE PODEJŚCIE ===== */

.aboutPanel {
    min-width: 0;
    padding: 35px;
    box-sizing: border-box;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.aboutPanel:hover {
    border-color: #ff6a00;
    transform: translateY(-3px);
}

.aboutPanelIcon {
    display: block;
    margin-bottom: 20px;
    font-size: 42px;
}

.aboutPanel h3 {
    margin-bottom: 15px;
    color: #ff6a00;
    font-size: 23px;
    font-weight: 400;
}

.aboutPanel p {
    color: #dedede;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== NASZE WARTOŚCI ===== */

.aboutValues {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 90px;
}

.aboutSectionTitle {
    margin-bottom: 35px;
    text-align: center;
}

.aboutSectionTitle h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 400;
}

.aboutGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.aboutCard {
    min-width: 0;
    padding: 30px;
    box-sizing: border-box;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.aboutCard:hover {
    transform: translateY(-5px);
    border-color: #e44d07;
}

.aboutCard span {
    display: block;
    margin-bottom: 20px;
    font-size: 38px;
}

.aboutCard h3 {
    margin-bottom: 15px;
    color: #ff6a00;
    font-size: 22px;
    font-weight: 400;
}

.aboutCard p {
    color: #dedede;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== NASZA MISJA ===== */

.aboutMission {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 45px 35px;
    box-sizing: border-box;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 14px;
    text-align: center;
}

.aboutMission h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
}

.aboutMission > p {
    max-width: 750px;
    margin: 0 auto 25px;
    color: #dedede;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== STOPKA ===== */

.aboutFooter {
    padding: 20px;
    background-color: #111;
    color: #aaa;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* ===== TABLETY ===== */

@media (max-width: 900px) {
    .aboutPage {
        padding: 30px 20px 50px;
    }

    .aboutSection {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .aboutGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aboutHero h1 {
        font-size: 40px;
    }
}

/* ===== TELEFONY ===== */

@media (max-width: 600px) {
    .aboutPage {
        padding: 20px 12px 40px;
    }

    .aboutHero {
        margin: 15px auto 50px;
        padding: 30px 20px;
    }

    .aboutHero h1 {
        font-size: 30px;
    }

    .aboutIntro {
        font-size: 16px;
    }

    .aboutSection {
        margin-bottom: 50px;
    }

    .aboutText h2,
    .aboutSectionTitle h2 {
        font-size: 26px;
    }

    .aboutText {
        padding: 25px 20px;
    }

    .aboutGrid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .aboutValues {
        margin-bottom: 50px;
    }

    .aboutPanel,
    .aboutCard {
        padding: 24px;
    }

    .aboutMission {
        padding: 30px 20px;
    }

    .aboutMission h2 {
        font-size: 25px;
    }
}
