
nav a.active {
    color: #e52222;
}

/* NAGŁÓWEK */

.kontakt-naglowek {
    text-align: center;
    padding: 80px 20px 40px;
    background: radial-gradient(
        ellipse at top, #300909, #080808 70%
    );
}

.kontakt-naglowek span {
    color: #e52222;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
}

.kontakt-naglowek h1 {
    font-size: clamp(28px, 4vw, 55px);
    color: white;
    margin: 20px 0;
}

.kontakt-naglowek p {
    color: silver;
    font-size: 20px;
}

.kontakt-linia {
    width: 80px;
    height: 4px;
    background: #e52222;
    margin: 25px auto;
}

/* UKŁAD STRONY */

.kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    max-width: 1400px;
    margin: auto;
    padding: 40px 6% 80px;
}

.dane-kontaktowe h2,
.formularz h2 {
    color: white;
    font-size: 30px;
    margin-bottom: 30px;
}

/* KAFELKI KONTAKTOWE */

.kontakt-karta {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #191919;
    padding: 30px;
    margin-bottom: 20px;
    border-left: 4px solid #e52222;
    border-radius: 8px;
    transition: 0.3s;
}

.kontakt-karta > i {
    color: #e52222;
    font-size: 32px;
    width: 40px;
    flex-shrink: 0;
    text-align: center;
}

.kontakt-karta h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.kontakt-karta p,
.kontakt-karta a {
    color: #bdbdbd;
    font-size: 16px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.kontakt-karta:hover {
    transform: translateX(5px);
    background: #252525;
}

.kontakt-karta a:hover {
    color: #e52222;
}

/* FORMULARZ */

.formularz {
    background: #191919;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #333;
}

.formularz form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.formularz label {
    color: #cccccc;
    font-size: 14px;
    font-weight: bold;
}

.formularz input,
.formularz textarea,
.formularz select {
    width: 100%;
    padding: 15px;
    background: #101010;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    outline: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.formularz textarea {
    resize: vertical;
}

.formularz input:focus,
.formularz textarea:focus,
.formularz select:focus {
    border-color: #e52222;
    box-shadow: 0 0 10px rgba(255,0,0,0.2);
}

.formularz button {
    background: #c91c24;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.formularz button:hover {
    background: #941218;
    box-shadow: 0 0 20px rgba(255,0,0,0.3);
}

.formularz button i {
    margin-left: 10px;
}

#komunikat {
    color: silver;
    font-size: 14px;
    line-height: 1.5;
}

/* MAPA */

.mapa {
    text-align: center;
    padding: 60px 6%;
    background: #101010;
}

.mapa h2 {
    color: white;
    font-size: 32px;
    letter-spacing: 3px;
}

.mapa iframe {
    width: 100%;
    max-width: 1300px;
    height: 400px;
    border: 0;
    border-radius: 12px;
}

/* STOPKA */

footer {
    text-align: center;
    padding: 25px;
    background: black;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #333;
}

/* WERSJA NA TELEFON */

@media (max-width: 768px) {

    .kontakt-container {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 30px;
    }

    .kontakt-naglowek {
        padding: 50px 20px;
    }

    .formularz {
        padding: 20px;
    }

    .kontakt-karta {
        padding: 20px;
    }

    .mapa iframe {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kontakt-karta {
        transition: none;
    }

    .kontakt-karta:hover {
        transform: none;
    }
}

/* Mniejsze logo w zakładce Kontakt */

.kontakt-naglowek .logo-kontakt {
    width: 180px !important;
    max-width: 70%;
    height: auto;
    margin: 0 auto 15px;
}

@media (max-width: 768px) {
    .kontakt-naglowek .logo-kontakt {
        width: 150px !important;
    }
}

/* Wygląd nagłówka kontaktowego */

.kontakt-naglowek {
    text-align: center;
    padding: 45px 20px 50px;
    background: radial-gradient(
        ellipse at top,
        #400707,
        #090909 75%
    );
}

.kontakt-naglowek .logo-kontakt {
    display: block !important;
    position: static !important;
    width: 240px !important;
    max-width: 75%;
    height: auto !important;
    margin: 0 auto 20px !important;
}

.kontakt-naglowek h1 {
    margin: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .kontakt-naglowek .logo-kontakt {
        width: 180px !important;
    }
}
