body {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    background: #f8f8f8;
    margin: 0; padding: 0;
}

* { box-sizing: border-box; }

.container { max-width: 70%; margin: auto; }

header {
    height: 80px;
    background: #042C3C;
    color: #fff;
    width: 100%;
    position: fixed;
    top:0; left:0;
    z-index: 9;
}

header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
#logo { float: left;}
#logo img { height: 80px; margin-top: 10px;}
#main-menu { float: right; }
#main-menu ul { margin: 0; padding: 0; }
#main-menu li {
display: inline-block;
line-height: 80px;
padding: 0 20px;
}
#main-menu a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
font-weight: bold;
}
#main-menu a:hover { color: #ffb84d; }

#banner {
padding: 180px 0 120px 0;
background: url("../img/banner.jpg") no-repeat center center;
background-size: cover;
text-align: center;
margin-top: 80px;
}
#banner h1 {
margin-bottom: 30px;
font-size: 48px;
color: #fff;
}
#banner h2 {
margin-bottom: 30px;
font-size: 30px;
color: #fff;
text-transform: uppercase;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    margin: 16px 0;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition-duration: 0.3s;
    cursor: pointer;
}
.button-light {
    background: #fff;
    color: #042C3C;
}
.button-dark {
    background: #042C3C;
    color: #fff;
}
.button:hover {
    background: #ffb84d;
    color: #151515;
    transition-duration: 0.3s;
}

.three-columns, .two-columns {
    float: left;
    text-align: center;
    margin-bottom: 20px;
}
.three-columns { width: 30%; margin-left: 3.33%;}
.three-columns:first-child { margin-left: 0;}
.two-columns { width: 49%; }
.two-columns:first-child { margin-right: 2%;}

#oferta img, #oferta h3 {
margin-bottom: 20px;
}

#oferta img {
    max-width: 100%;
}

#oferta { background: #bbb; padding: 60px 0;}

#oferta h2 {
color: #042C3C; padding: 40px 0 30px 0;
text-transform: uppercase; font-size: 28px;
}
#oferta h3 { color: #5C6B73; margin-bottom: 10px; font-size: 120%; }
#oferta p { color: #14313b; font-size: 110%; line-height: 150%; }

.center-text { text-align: center; }
#slogan {
background: #f4f4f4;
padding: 60px 0;
width: 100%;
}
#slogan .container {
display: flex;
justify-content: center;
align-items: center;
max-width: 1000px;
margin: 0 auto;
gap: 48px;
padding-left: 24px;
padding-right: 24px;
box-sizing: border-box;
}
#slogan .slogan-text,
#slogan .slogan-img {
flex: 1 1 0;
min-width: 0;
}
#slogan .slogan-text {
max-width: 450px;
text-align: left;
align-self: center;
}
#slogan .slogan-text h2 {
color: #042C3C;
font-size: 1.9em;
margin-bottom: 16px;
}
#slogan .slogan-text p {
color: #444;
font-size: 1.12em;
line-height: 1.5;
}
#slogan .slogan-img {
display: flex;
align-items: center;
justify-content: center;
max-width: 420px;
}
#slogan .slogan-img img,
#slogan .slogan-img iframe {
max-width: 100%;
height: auto;
border-radius: 7px;
box-shadow: 0 2px 12px rgba(40,60,80,0.12);
}

#kontakt { background: #eee; padding: 50px 0 30px 0;}
#kontakt h2 { color: #042C3C; padding: 10px 0; text-transform: uppercase; font-size: 28px; }
#kontakt h3 { color: #5C6B73; font-size: 120%; padding-bottom: 10px;}
#kontakt p { font-size: 1.1em; color: #333;}
#kontakt label { font-weight: bold; font-size: 1.05em; }
#kontakt input, #kontakt textarea {
width: 85%;
margin-bottom: 8px;
border-radius: 5px;
border: 1px solid #dadada;
padding: 8px;
font-size: 1em;
font-family: 'Lato', sans-serif;
}
#kontakt form { text-align:left; margin-left: 10%; }

#kontakt .two-columns.center-text {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 30px;
padding-bottom: 30px;
font-size: 1.1em;
line-height: 2.2;
}

.form-actions {
    text-align: right;
    width: 85%;   /* dopasuj do szerokości pól jeśli trzeba */
    margin: 0 auto 0 0;
}
.form-actions .button {
    margin-top: 10px; /* nieobowiązkowe, by nie "kleił się" do pól */
}

footer {
    background: #042C3C;
    color: #fff;
    padding: 16px 0;
    text-align: center;
    font-size:0.95em;
}

.button, #oferta img {
    transition-duration: 0.25s;
}
#oferta img:hover {
transform: scale(1.09) rotate(2deg);
}

.container::after,
#oferta::after, #slogan::after, #kontakt::after { content: ""; display: table; clear: both; }
