
/* NAGŁÓWEK */

.about-hero {
    text-align: center;
    padding: 35px 7% 25px;
    background: radial-gradient(
        ellipse at top,
        #15364c,
        #0b101b 75%
    );
}

.about-hero .subtitle {
    color: #38bdf8;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.about-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.about-hero h1 span {
    color: #38bdf8;
}

.about-hero > p:last-child {
    max-width: 850px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}


/* KIM JESTEM */

.about-section {
    padding: 15px 7%;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 35px;

    background: #111c2d;
    border: 1px solid #38bdf830;
    border-radius: 18px;

    box-sizing: border-box;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-content p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-content .buttons {
    margin-top: 18px;
}


/* TECHNOLOGIE */

.technologies {
    padding: 20px 7%;
}

.technologies h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    background: #111c2d;
    border: 1px solid #38bdf830;
    border-radius: 16px;

    padding: 20px;
    text-align: center;

    transition: 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: #38bdf8;
    box-shadow: 0 0 25px #38bdf825;
}

.tech-card h3 {
    color: #38bdf8;
    font-size: 22px;
    margin-bottom: 8px;
}

.tech-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}


/* IKONY TECHNOLOGII */

.tech-card::before {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 55px;
    height: 55px;

    margin: 0 auto 12px;
    border-radius: 12px;

    font-size: 22px;
    font-weight: 800;
}

.tech-card:nth-child(1)::before {
    content: "</>";
    color: #f97316;
    background: #f9731615;
    border: 1px solid #f9731640;
}

.tech-card:nth-child(2)::before {
    content: "CSS";
    color: #38bdf8;
    background: #38bdf815;
    border: 1px solid #38bdf840;
}

.tech-card:nth-child(3)::before {
    content: "JS";
    color: #facc15;
    background: #facc1515;
    border: 1px solid #facc1540;
}


/* ETAPY WSPÓŁPRACY */

.process {
    padding: 25px 7%;
}

.process h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.process-card {
    background: #111c2d;
    border: 1px solid #38bdf830;
    border-radius: 16px;

    padding: 20px 15px;
    text-align: center;

    transition: 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: #38bdf8;
    box-shadow: 0 0 25px #38bdf825;
}

.process-card span {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 45px;
    height: 45px;

    margin: 0 auto 12px;

    background: #38bdf815;
    color: #38bdf8;

    border: 1px solid #38bdf840;
    border-radius: 50%;

    font-size: 20px;
    font-weight: 800;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.process-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}


/* DOLNA SEKCJA KONTAKTOWA */

.about-cta {
    max-width: 1400px;

    margin: 25px auto 35px;
    width: 86%;

    padding: 25px;
    box-sizing: border-box;

    text-align: center;

    background: linear-gradient(
        135deg,
        #111c2d,
        #102c40
    );

    border: 1px solid #38bdf840;
    border-radius: 18px;
}

.about-cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.about-cta p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 18px;
}

.about-cta .btn-primary {
    display: inline-block;
}


/* TABLETY */

@media (max-width: 1000px) {

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-grid,
    .process-grid {
        gap: 15px;
    }

}


/* TELEFONY */

@media (max-width: 768px) {

    .about-hero {
        padding: 30px 20px;
    }

    .about-section,
    .technologies,
    .process {
        padding: 20px 5%;
    }

    .about-content {
        padding: 20px;
    }

    .tech-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .technologies h2,
    .process h2 {
        font-size: 25px;
    }

    .about-cta {
        width: 90%;
        margin: 20px auto;
        padding: 25px 15px;
    }

}


/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {

    .tech-card,
    .process-card {
        transition: none;
    }

    .tech-card:hover,
    .process-card:hover {
        transform: none;
    }

}
