*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
color:#222;
}

/* OBRAZY */
img{
max-width:100%;
height:auto;
display:block;
}

/* HEADER */
.header{
position:fixed;
top:0;
width:100%;
background:rgba(30,40,30,0.95);
padding:18px 0;
z-index:1000;
}

.nav{
display:flex;
justify-content:center;
gap:35px;
flex-wrap:wrap;
}

.nav a{
color:white;
text-decoration:none;
transition:.3s;
}

.nav a:hover{
transform:scale(1.2);
color:#a7d3a0;
}

/* HERO */
.hero{
height:100vh;
background:url("img/tlo1.jpg") center/cover no-repeat;
display:flex;
justify-content:center;
align-items:center;
padding-top:80px;
text-align:center;
}

.hero h1{
color:white;
font-size:80px;
letter-spacing:6px;
}

.btn{
display:inline-block;
margin-top:30px;
padding:14px 40px;
background:#5f7c5f;
color:white;
text-decoration:none;
border-radius:30px;
transition:.3s;
}

.btn:hover{
background:#7fae7f;
transform:translateY(-4px);
}

/* STRONA */
.page{
max-width:1050px;
margin:auto;
padding:100px 20px;
}

/* SEKCJE */
.section{
margin-bottom:130px;
}

.section.dark{
background:#2f3b2f;
color:white;
padding:70px;
border-radius:30px;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:1.2fr 1fr;
gap:40px;
align-items:center;
}

.text{
max-width:480px;
}

.text h2{
margin-bottom:20px;
}

.text p,
.text ul{
line-height:1.6;
}

/* OBRAZY */
.image img{
border-radius:20px;
}

.image-column img{
margin-bottom:15px;
border-radius:15px;
}

/* FOOTER */
.footer{
background:#1e261e;
color:white;
padding:70px 0 30px;
}

.footer-content{
max-width:1050px;
margin:auto;
padding:0 20px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.footer a{
display:block;
color:#a7d3a0;
text-decoration:none;
margin-bottom:10px;
}

.footer input{
width:100%;
padding:10px;
margin-bottom:10px;
}

.footer button{
width:100%;
padding:10px;
background:#5f7c5f;
border:none;
color:white;
cursor:pointer;
}

.copy{
text-align:center;
margin-top:40px;
opacity:.6;
}

/* ===================== */
/* RESPONSYWNOŚĆ */
/* ===================== */

@media(max-width:1000px){

.grid{
grid-template-columns:1fr;
}

.text{
max-width:100%;
}

.section.dark{
padding:40px;
}

.footer-content{
grid-template-columns:1fr;
text-align:center;
}

.hero h1{
font-size:60px;
}

}

@media(max-width:600px){

.hero h1{
font-size:42px;
}

.nav{
gap:15px;
}

.page{
padding:80px 15px;
}

.section{
margin-bottom:90px;
}

}