/* ===============================
   DRUKARNIA PROSTA - STYLE.CSS
   projekt jak z makiety
================================ */

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #061b3a;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

/* ===== PROSTY NAGLOWEK PODSTRON ===== */

body > header {
    background: #031f3f;
    color: #ffffff;
    padding: 24px 32px;
    text-align: center;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.logo span {
    display: block;
}

.logo span + span {
    font-size: 0.62em;
    font-weight: 700;
    margin-top: 3px;
}

body > nav {
    background: #ffffff;
    border-bottom: 1px solid #e3eaf4;
    box-shadow: 0 3px 14px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 14px 20px;
}

body > nav a {
    color: #061b3a;
    font-size: 15px;
    font-weight: 700;
}

body > nav a:hover {
    color: #1167e8;
}

/* ===== GÓRNA BELKA ===== */

.topbar {
    width: 100%;
    min-height: 160px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

.topbar-logo img {
    height: 144px;
    width: auto;
    display: block;
}

.topbar-menu {
    display: flex;
    align-items: center;
    gap: 46px;
}

.topbar-menu a {
    color: #061b3a;
    font-weight: 700;
    font-size: 16px;
    padding: 25px 0 21px 0;
    border-bottom: 4px solid transparent;
}

.topbar-menu a:hover,
.topbar-menu a.active {
    color: #1167e8;
    border-bottom-color: #1167e8;
}

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

/* ===== PRZYCISKI ===== */

.btn-login,
.btn-order,
.btn-register,
.btn,
.btn-cancel {
    display: inline-block;
    border-radius: 10px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
    cursor: pointer;
    font-family: inherit;
}

.btn-login {
    background: #ffffff;
    color: #061b3a;
    border: 1px solid #d6deea;
}

.btn-login:hover {
    border-color: #1167e8;
    color: #1167e8;
}

.btn-order {
    background: #ff7900;
    color: #ffffff;
    border: 1px solid #ff7900;
    box-shadow: 0 8px 20px rgba(255,121,0,0.25);
}

.btn-order:hover {
    background: #e96f00;
    border-color: #e96f00;
}

.btn {
    background: #1167e8;
    color: #ffffff;
    border: 1px solid #1167e8;
}

.btn:hover {
    background: #0756c9;
    border-color: #0756c9;
}

.btn-register {
    background: #ffffff;
    color: #1167e8;
    border: 1px solid #1167e8;
}

.btn-register:hover {
    background: #eef5ff;
}

.blue-button {
    background: #1167e8;
    color: #ffffff;
    border-color: #1167e8;
    box-shadow: 0 8px 20px rgba(17,103,232,0.22);
}

.blue-button:hover {
    background: #0756c9;
    color: #ffffff;
}

.btn-cancel {
    background: #ffffff;
    color: #526174;
    border: 1px solid #cfd8e3;
}

.btn-cancel:hover {
    background: #f4f7fb;
    color: #061b3a;
    border-color: #aebace;
}

/* ===== HERO ===== */

.hero {
    min-height: 410px;
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: center;
    background:
        radial-gradient(circle at left top, #ffffff 0%, #f3f8ff 36%, #ffffff 70%);
    overflow: hidden;
    border-bottom: 1px solid #e9eef7;
}

.hero-text {
    padding-left: 110px;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -1px;
    color: #08264d;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-text p {
    font-size: 19px;
    color: #12284a;
    max-width: 520px;
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 8px;
}

.hero-info-item {
    position: relative;
    padding-left: 0;
}

.hero-info-item strong {
    display: block;
    color: #08264d;
    font-size: 14px;
    margin-bottom: 2px;
}

.hero-info-item span {
    display: block;
    color: #12284a;
    font-size: 14px;
}

.hero-image {
    height: 410px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

/* ===== SEKCJE ===== */

.section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 30px 32px 18px 32px;
}

.section h2 {
    text-align: center;
    color: #08264d;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 22px;
}

/* ===== KARTY USŁUG ===== */

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.service-card {
    min-height: 128px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 9px 26px rgba(0,0,0,0.09);
    border: 1px solid #eef2f7;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    align-items: center;
}

.service-icon {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.service-icon.blue {
    color: #1167e8;
}

.service-icon.pink {
    color: #f2278b;
}

.service-icon.yellow {
    color: #f5aa00;
}

.service-card h3 {
    color: #08264d;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
}

.service-card p {
    color: #12284a;
    font-size: 14px;
}

/* ===== KROKI ZAMÓWIENIA ===== */

.order-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 8px;
}

.order-step {
    position: relative;
    padding-left: 0;
}

.order-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -22px;
    top: 28px;
    color: #cbd5e1;
    font-size: 30px;
}

.step-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.step-icon.blue {
    color: #1167e8;
}

.step-icon.pink {
    color: #f2278b;
}

.step-icon.yellow {
    color: #f5aa00;
}

.step-icon.green {
    color: #17a65a;
}

.order-step h3 {
    color: #08264d;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 5px;
}

.order-step p {
    color: #12284a;
    font-size: 14px;
}

/* ===== PROMOCJA ===== */

.promo {
    max-width: 1320px;
    margin: 28px auto 14px auto;
    background: #eef5ff;
    border-radius: 12px;
    min-height: 106px;
    padding: 20px 58px;
    display: grid;
    grid-template-columns: 170px 1fr 240px;
    align-items: center;
    gap: 28px;
}

.promo-gift {
    font-size: 64px;
    text-align: center;
}

.promo-text h2 {
    color: #08264d;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 4px;
}

.promo-text p {
    color: #12284a;
    font-size: 16px;
}

.promo-action {
    text-align: right;
}

/* ===== STOPKA ===== */

.footer {
    background: #031f3f;
    color: #ffffff;
    padding: 30px 70px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.footer-logo img {
    height: 58px;
    width: auto;
    display: block;
    background: #ffffff;
    padding: 4px;
    border-radius: 6px;
}

.footer p {
    margin: 4px 0;
    font-size: 14px;
}

/* ===== FORMULARZE DLA INNYCH PLIKÓW ===== */

.form-container {
    max-width: 720px;
    margin: 50px auto;
    background: #ffffff;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    color: #08264d;
    margin-bottom: 28px;
    font-size: 30px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
    color: #12284a;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    font-size: 16px;
    background: #f9fbfd;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #1167e8;
    box-shadow: 0 0 0 3px rgba(17,103,232,0.15);
}

.buttons-row {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.error {
    background: #fff1f1;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.success {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 22px;
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 1100px) {
    .topbar {
        padding: 14px 24px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .topbar-menu {
        gap: 24px;
    }

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

    .hero-text {
        padding: 55px 34px 25px 34px;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-info {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        height: 340px;
    }

    .service-cards,
    .order-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px;
    }

    .promo-action {
        text-align: center;
    }

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

@media (max-width: 700px) {
    .topbar {
        justify-content: center;
    }

    .topbar-logo img {
        height: 120px;
    }

    .logo {
        font-size: 18px;
    }

    .topbar-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .topbar-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-login,
    .btn-order,
    .btn-register,
    .btn,
    .btn-cancel {
        width: 100%;
        text-align: center;
    }

    .hero-info {
        gap: 18px;
    }

    .section {
        padding: 26px 18px;
    }

    .service-cards,
    .order-steps {
        grid-template-columns: 1fr;
    }

    .order-step:not(:last-child)::after {
        display: none;
    }

    .promo {
        margin: 20px 12px;
    }

    .promo-text h2 {
        font-size: 23px;
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 20px;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}
