/* =====================================
   PRZESTRZEŃ CZUŁOŚCI
   style.css
===================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Segoe UI", Arial, sans-serif;
    background:#fdfbf8;
    color:#444;
    line-height:1.8;
}

/* ===== KONTENER ===== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===== MENU ===== */

header{
    position:sticky;
    top:0;
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:999;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:30px;
    font-weight:bold;
    color:#b08d57;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#555;
    transition:.3s;
    font-weight:500;
}

nav a:hover{
    color:#b08d57;
}

/* ===== HERO ===== */

.hero{

    min-height:90vh;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#faf8fc,#f3ede6);

}

.hero-content{

    max-width:700px;

}

.hero h1{

    font-size:58px;
    color:#8b6f47;
    margin-bottom:30px;

}

.hero p{

    font-size:22px;
    color:#666;
    margin-bottom:35px;

}

.buttons{

    display:flex;
    gap:20px;
    flex-wrap:wrap;

}

/* ===== PRZYCISKI ===== */

.button{

    display:inline-block;
    background:#b08d57;
    color:white;
    text-decoration:none;
    padding:16px 34px;
    border-radius:40px;
    transition:.3s;

}

.button:hover{

    background:#987245;

}

.button.secondary{

    background:white;
    color:#b08d57;
    border:2px solid #b08d57;

}

.button.secondary:hover{

    background:#b08d57;
    color:white;

}

/* ===== SEKCJA POWITALNA ===== */

.welcome{

    background:white;
    padding:90px 0;

}

.welcome h2{

    text-align:center;
    color:#8b6f47;
    font-size:42px;
    margin-bottom:35px;

}

.welcome p{

    max-width:850px;
    margin:25px auto;
    text-align:center;
    font-size:20px;

}

/* ===== NAGŁÓWKI ===== */

h2{

    color:#8b6f47;

}

/* ===== STOPKA ===== */

footer{

    background:#f3ede6;
    text-align:center;
    padding:45px;
    color:#666;

}

/

/* Animacje */

section{

opacity:0;
transform:translateY(40px);

   }

/* ===== LOGO HERO ===== */

.hero-logo{
    text-align:center;
    margin-bottom:40px;
}

.hero-logo img{
    width:220px;
    max-width:90%;
    height:auto;
    filter:drop-shadow(0 10px 20px rgba(0,0,0,.12));
   }

/* =====================================
   BLOG - ARTYKUŁY
===================================== */

.article{

    padding:80px 0;
    background:#fdfbf8;

}

.article-container{

    max-width:900px;

}

.article h1{

    font-size:48px;
    color:#8b6f47;
    margin-bottom:15px;
    line-height:1.3;

}

.article-date{

    color:#888;
    font-size:18px;
    margin-bottom:35px;

}

.article-image{

    width:100%;
    border-radius:20px;
    margin-bottom:45px;
    box-shadow:0 10px 35px rgba(0,0,0,.10);

}

.article-content{

    font-size:20px;
    line-height:2;

}

.article-content p{

    margin-bottom:28px;

}

.article-content h2{

    margin:50px 0 30px;
    padding:30px;
    background:#f7f2eb;
    border-left:6px solid #b08d57;
    border-radius:12px;
    color:#8b6f47;
    font-size:32px;
    font-weight:600;

}

.hashtags{

    margin-top:50px;
    color:#8b6f47;
    font-style:italic;
    font-size:18px;

}

/* Autor */

.author-box{

    margin-top:70px;
    padding:35px;
    background:white;
    border-radius:18px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    text-align:center;

}

.author-box h3{

    color:#8b6f47;
    font-size:30px;
    margin-bottom:10px;

}

.author-box p{

    color:#777;

}

/* Przycisk powrotu */

.article .button{

    margin-top:45px;

}

/* Responsywność */

@media(max-width:900px){

.article{

padding:50px 0;

}

.article h1{

font-size:34px;

}

.article-content{

font-size:18px;

}

.article-content h2{

font-size:26px;
padding:20px;

}

.author-box{

padding:25px;

}

}

/* ===== KARTY BLOGA ===== */

.blog-card{

background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
margin-bottom:50px;

}

.blog-card img{

width:100%;
border-radius:15px;
margin-bottom:25px;

}

.blog-card h2{

margin-bottom:15px;

}

.blog-card p{

margin-bottom:20px;

}
