
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
}


.hero {
    height: 100vh;
    background: url('images/tlo.jpg') right center no-repeat;
    background-size: contain;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 150px;
    padding-left: 350px;
    padding top: 130px
    position: relative;
}

.hero-content {
    max-width: 500px;
margin-top: 40px
}

.hero h1 {
    font-size: 48px;
    line-height:1.2;
}

.hero p {
    font-size: 20px;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #1d4ed8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}


.hero-img {
    position: absolute;
    top: 90px;
    left: 80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}


.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}


.tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.tile img {
    width: 100%;
    height: auto;
    display: block;
}

/* SENS */
.sens {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    text-align: center;
    color: white;
}

.sens h2 {
    font-size: 36px;
}

.sens p {
    font-size: 18px;
}

.sens-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
}

.kontakt {
    width: 100%;
    position: relative;
}

.kontakt-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative; 
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
}

/* MOBILE */
@media (max-width: 600px) {

    .hero {
        height: auto;
        padding: 40px 20px;
        background-position: center;
        background-size: cover;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-img {
        position: static;
        margin: 0 auto 20px;
        display: block;
    }
}
/* ===== MOBILE ===== */
@media (max-width: 600px) {

    /* HERO */
    .hero {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        height: auto;
        background-size: cover;
    }

    .hero-img {
        position: static;
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* KAFELKI */
    .grid {
        grid-template-columns: 1fr; /* 🔥 jeden pod drugim */
        gap: 15px;
        padding: 10px;
    }

    .tile img {
        width: 100%;
        border-radius: 12px;
    }
.kontakt {
        padding: 0;
    }

    .kontakt-img {
        width: 100%;
        height: auto;
}
