/* Reset podstawowy i ustawienia globalne */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Główny kontener banera */
.banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px 0 10px 0;
    width: 140px;
    height: 180px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Kontener na logo */
.logo-area {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 5; /* Upewnijmy się, że logo jest nad tekstem, jeśli coś pójdzie nie tak */
    position: relative; /* Potrzebne dla z-index */
}

.logo-area img {
    display: block;
    width: 100%;
    height: auto;
}

/* Kontener na obszar tekstowy */
.text-area {
    flex-grow: 1;
    width: 100%;
    position: relative;
    overflow: hidden; /* Kluczowe - przycina ekrany */
}

/* Style dla "ekranów" tekstowych - DODANE OPACITY i Z-INDEX */
.text-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;

    /* ---- ZMIANY DLA UKRYCIA ---- */
    opacity: 0; /* Domyślnie niewidoczny */
    transform: translateX(100%); /* Domyślnie schowany po prawej */
    /* Animujemy OBA: transform i opacity */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 1; /* Domyślny z-index */
}

.text-screen.active {
    opacity: 1; /* Widoczny */
    transform: translateX(0); /* Wjeżdża na środek */
    z-index: 2; /* Aktywny ekran jest na wierzchu */
}

/* Klasa dla ekranu, który właśnie znika */
.text-screen.exiting {
    opacity: 0; /* Staje się niewidoczny podczas wysuwania */
    transform: translateX(-100%); /* Wysuwa się w lewo */
    z-index: 1; /* Wraca na niższy z-index */
}
/* ---- KONIEC ZMIAN DLA UKRYCIA ---- */


/* Style dla konkretnych tekstów - bez zmian */
.service-main {
    font-size: 13px;
    font-weight: 700;
    color: #003865;
    text-transform: uppercase;
    line-height: 1.3;
}

.contact-label {
    font-size: 11px;
    color: #555;
    margin-bottom: 2px;
}

.phone-number {
    font-size: 17px;
    font-weight: 700;
    color: #E30613;
    margin-bottom: 5px;
    line-height: 1.1;
}

.name {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}