/* =========================
   ZOONET LIDIA SURÓWKA
   ========================= */

:root{
    --green:#2e7d32;
    --green-dark:#1b5e20;
    --bg:#f7f9f7;
    --text:#333333;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
}

header{
    text-align:center;
    background:white;
    padding:40px 20px;
}

header h1{
    font-size:56px;
    color:var(--green);
    margin-bottom:10px;
}

header h2{
    font-size:28px;
    font-weight:normal;
    color:#555;
    margin-bottom:15px;
}

header p{
    max-width:900px;
    margin:auto;
}

.hero{
    max-width:960px;
    margin:20px auto;
}

.hero img{
    width:100%;
    height:auto;
    border-radius:15px;
    display:block;
}

.button{
    display:inline-block;
    margin-top:20px;
    padding:14px 28px;
    background:var(--green);
    color:white;
    text-decoration:none;
    border-radius:8px;
}

.button:hover{
    background:var(--green-dark);
}

.section{
    max-width:1200px;
    margin:30px auto;
    padding:40px;
    background:white;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    overflow:hidden;
}

.section h2{
    text-align:center;
    color:var(--green);
    margin-bottom:25px;
}

.section p{
    text-align:justify;
    margin-bottom:15px;
}

.section ul{
    max-width:900px;
    margin:auto;
}

.section li{
    margin-bottom:10px;
}

.kot{
    display:block;
    width:300px;
    max-width:100%;
    margin:20px auto 30px auto;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

.gallery{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:20px;
}

.gallery figure{
    flex:1 1 45%;
}

.gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:10px;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.03);
}

figcaption{
    text-align:center;
    font-size:14px;
    color:#666;
    margin-top:8px;
    font-style:italic;
}

.contact{
    max-width:1200px;
    margin:30px auto;
    background:var(--green);
    color:white;
    text-align:center;
    padding:50px 30px;
    border-radius:15px;
}

.contact h2{
    margin-bottom:20px;
}

.contact a{
    color:white;
}

footer{
    background:#1f1f1f;
    color:#cccccc;
    text-align:center;
    padding:25px;
}

@media(max-width:768px){

    header h1{
        font-size:36px;
    }

    header h2{
        font-size:22px;
    }

    .kot{
        float:none;
        display:block;
        margin:0 auto 20px auto;
        max-width:250px;
    }

    .gallery figure{
        flex:1 1 100%;
    }

    .section{
        padding:25px;
    }
}