/* --- Reset i podstawy --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Calibri', sans-serif;
    background: linear-gradient(to bottom right, #f7fff6, #e6f4e8);
    color: #2b2b2b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Nagłówek --- */
header .header-container {
    min-height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo po lewej na desktopie */
.logo {
    position: absolute;
    left: 0;
}

.logo img {
    max-height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Tytuł w nagłówku */
.e {
    font-family: 'Megrim', cursive;
    font-size: 3rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #2d6a2d;
}

/* --- Sekcja o firmie --- */
.about {
    border: 1px solid #d9efd9;
    border-radius: 12px;
}

/* Linia dekoracyjna */
hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #2d6a2d, transparent);
}

/* --- Stopka --- */
footer {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    .e {
        font-size: 2.2rem;
    }

    .about {
        width: 95%;
    }
}

/* --- Widok mobilny --- */
@media (max-width: 576px) {
    header .header-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: static;
        text-align: center;
    }

    .logo {
        position: static;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 5px;
    }

    .logo img {
        max-height: 80px;
    }

    .e {
        display: none; /* ukrywa tytuł na telefonach */
    }
}
