
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #000;
    color: #fff;
}
/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* logo */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.logo-accent {
    color: #f5b400;
}

/* telefon */
.contact {
    font-size: 14px;
    color: #ccc;
}

.contact a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
    transition: 0.3s;
}

.contact a:hover {
    color: #f5b400;
}
/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('taxi-city.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
/* lekki zoom tła */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('taxi-city.webp') center/cover no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
    z-index: 0;
}

.hero:hover::before {
    transform: scale(1.08);
}

/* gradient overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.65) 40%,
        rgba(0,0,0,0.25) 70%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

/* ===== CONTENT ===== */
.content {
    position: relative;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    width: 100%;
    z-index: 2;
}

h1 {
    font-size: 34px;
    margin-bottom: 15px;
}

.underline {
    width: 90px;
    height: 4px;
    background: #f5b400;
    margin-bottom: 25px;
}

/* ===== LIST ===== */
.list {
    margin-bottom: 40px;
}

.list li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.list li::before {
    content: "✔";
    color: #f5b400;
    margin-right: 10px;
    font-weight: bold;
}

/* hover list */
.list li:hover {
    transform: translateX(5px);
    opacity: 1;
}

/* ===== STEPS ===== */
h2 {
    margin: 30px 0 20px;
    font-size: 28px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
}

.step {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 18px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* hover karta */
.step:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(245,180,0,0.6);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4),
                0 0 10px rgba(245,180,0,0.3);
}

/* numer */
.number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #111;
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* hover numer */
.step:hover .number {
    background: #f5b400;
    color: #000;
    border-color: #f5b400;
    transform: scale(1.1);
}

/* tekst highlight */
.step span {
    color: #f5b400;
    font-weight: bold;
}

.section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0a0a0a, #111);
    text-align: center;
}

/* ===== TYTUŁ ===== */
.section h2 {
    font-size: 34px;
    margin-bottom: 50px;
}

/* ===== GRID ===== */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}
.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
	padding: 25px 20px;
	backdrop-filter: blur(8px);
	transition: all 0.35s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
	
}
/* aktywna (po scrollu) */
.card.show {
    opacity: 1;
    transform: translateY(0);
}

/* hover */
.card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(245,180,0,0.7);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5),
                0 0 12px rgba(245,180,0,0.3);
}
/* ===== IKONA ===== */
.icon {
    font-size: 32px;
    color: #f5b400;
    min-width: 40px;
    transition: 0.3s;
}

.card:hover .icon {
    transform: scale(1.2);
}
/* ===== AVATAR ===== */
.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f5b400;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===== TEKST ===== */
.card p {
    font-size: 16px;
    line-height: 1.4;
}



/* ===== SEKCJA ===== */
.contact-section {
    display: flex;
    min-height: 100vh;
}

/* ===== LEWA STRONA ===== */
.left {
    flex: 1;
    background: linear-gradient(180deg, #0a0a0a, #111);
    display: flex;
    align-items: center;
}

.contact-section .container {
    max-width: 500px;
    margin: auto;
    padding: 40px;
    width: 100%;
}

/* ===== TEKST ===== */
.text h1 {
    font-size: 34px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.text span {
    color: #f5b400;
}

.text p {
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===== FORM ===== */
.form-box {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
}

/* inputs */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 10px 0;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.input-group input:focus {
    border-color: #f5b400;
}

/* button */
.btn {
    width: 100%;
    padding: 14px;
    background: #f5b400;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn:hover {
    background: #ffcc33;
}

/* lista */
.benefits {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.benefits p::before {
    content: "✔";
    color: #f5b400;
    margin-right: 8px;
}

/* ===== PRAWA STRONA (ZDJĘCIE) ===== */
.right {
    flex: 1;
    background: url('taxi-driver.webp') center/cover no-repeat;
}
/* ===== CHECKBOX ===== */
.checkbox-group {
    margin-top: 15px;
    margin-bottom: 10px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #ccc;
    cursor: pointer;
    line-height: 1.4;
}

/* ukrywamy default */
.checkbox input {
    display: none;
}

/* custom box */
.checkmark {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

/* zaznaczenie */
.checkbox input:checked + .checkmark {
    background: #f5b400;
    border-color: #f5b400;
}

/* ptaszek */
.checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    padding: 50px 20px 20px;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* kolumny */
.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

/* linki */
.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #f5b400;
}

/* dół */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    margin-left: 15px;
    font-size: 14px;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 9999;
}

.cookie-banner button {
    background: #f5b400;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}
.error {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translate(100%, -50%);
    background: #ff4d4d;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.2s;
}
.error::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #ff4d4d;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #111 inset !important;
}
input:-webkit-autofill {
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
}
/* pokazuj tylko przy błędzie */
.input-error + .error {
    opacity: 1;
}
.input-error {
    border-bottom: 1px solid #ff4d4d !important;
}

.input-success {
    border-bottom: 1px solid #4CAF50 !important;
}
/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .contact-section {
        flex-direction: column;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .right {
        display: none; /* ukrywamy zdjęcie */
    }

    .container {
        padding: 25px;
    }

    .text h1 {
        font-size: 26px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }
}


/* 🔥 KLUCZOWE MOBILE FIX */
@media (max-width: 600px) {

    /* zabezpieczenie przed scroll poziomym */
    body {
        overflow-x: hidden;
    }

    /* HEADER */
      .header-container {
        flex-direction: row; /* KLUCZ */
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 18px;
    }

    .contact {
        font-size: 13px;
    }

    /* HERO */
    .content {
        padding: 20px;
    }

    /* SEKCJE */
    .section {
        padding: 50px 15px;
    }

    /* KARTY */
    .features {
        grid-template-columns: 1fr;
    }

    /* FORMULARZ */
    .contact-section .container {
        padding: 20px;
    }

    .form-box {
        padding: 20px;
    }
	
	 /* FOOTER — jedna kolumna */
	
	.footer-container {
        grid-template-columns: 1fr; /* KLUCZ */
        text-align: left;
        gap: 25px;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 15px;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    /* COOKIE (NAPRAWA GŁÓWNA) */
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;

        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-banner button {
        width: 100%;
    }

    /* ERROR TOOLTIP (NAPRAWA KLUCZOWA) */
    .error {
        position: relative;
        top: 0;
        right: auto;
        transform: none;
        margin-top: 5px;
        white-space: normal;
    }

    .error::before {
        display: none;
    }
}