/* ----- PODSTAWOWE USTAWIENIA ----- */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* ----- NAWIGACJA (WYMUSZONE ODCHUDZANIE) ----- */
.main-nav {
    width: 100% !important;
    background-color: #004d40 !important;
    /* Sztywna wysokość paska - nie pozwoli mu urosnąć */
    height: 70px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* LOGO - To ono decyduje o wysokości paska */
.nav-logo {
    height: 50px !important;
    /* Tutaj drastycznie zmniejszamy logo */
    width: auto !important;
    max-height: 50px !important;
    display: block !important;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 5px 12px;
    font-size: 0.95em;
}

/* ----- PRZYCISK ZAPISZ I NUMER ----- */
.nav-cta {
    position: relative;
    width: 160px;
    /* Rezerwacja miejsca na przycisk/numer */
    height: 40px;
}

.cta-button,
.phone-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    transition: 0.3s;
}

.cta-button {
    background-color: #ff6f61;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.85em;
    z-index: 2;
}

.phone-number {
    background-color: #00695c;
    color: white;
    text-decoration: none;
    font-size: 1em;
    z-index: 1;
}

.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ----- BANER (PRZYCIĘTY) ----- */
.hero-banner {
    width: 100%;
    height: 300px !important;
    /* Tutaj skróciłem baner do 300px */
    overflow: hidden;
    margin: 0;
}

.hero-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ----- RESZTA STRONY ----- */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.card {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

/* RWD - TELEFONY */
@media (max-width: 850px) {
    .main-nav {
        height: auto !important;
    }

    .nav-content {
        flex-direction: column;
        padding: 10px;
    }

    .nav-logo {
        height: 40px !important;
    }

    .hero-banner {
        height: 200px !important;
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   POPRAWKA FORMULARZA KONTAKTOWEGO
   Doklej to na końcu pliku style-final.css
========================================= */

/* Kontener formularza */
.contact-form-container {
    padding: 20px 0;
}

/* Etykiety (np. "Twoje Imię") - mają być nad polem */
.contact-form label {
    display: block !important; /* Wymusza nową linię */
    margin-bottom: 8px;
    font-weight: 700;
    color: #004d40;
    text-align: left;
}

/* Pola do wpisywania i textarea - mają być na całą szerokość */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100% !important; /* Rozciąga na maksa */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ważne, żeby padding nie psuł szerokości */
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1em;
}

/* Przycisk wysyłania */
.submit-button {
    background-color: #004d40;
    color: white;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
}

.submit-button:hover {
    background-color: #00695c;
}