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

html, body {
    height: 100%;
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #ffffff;
    color: #212121;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    color: #212121;
    padding: 40px 0 20px;
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}



nav {
    background-color: #f5f3f3;
    padding: 10px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    z-index: 10;
}

.nav-brand {
    font-weight: bold;
    font-size: 1.2em;
    color: #ff4500;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.artyk
{
    width: 80%;
    text-align: justify;
    font-size: 2em;
    margin-bottom: 5vh;
    inline-size: 1.5;
}

nav a {
    color: #212121;
    text-decoration: none;
    padding: 10px 15px;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 8px;
    width: 0;
    height: 2px;
    background-color: #ff4500;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #ff4500;
}

nav a:hover::after {
    width: calc(100% - 30px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #212121;
    margin: 4px 0;
    transition: all 0.4s ease;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #212121;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.4em;
}

.intro {
    text-align: center;
    margin: 40px 0;
    font-size: 1.2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.news-section-title {
    text-align: center;
    margin: 40px 0 20px 0;
    font-size: 1.6em;
    font-weight: bold;
    color: #ff4500;
}

.news-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-item {
    background: #ffffff;
    border: 1px solid #eee;
    min-height: 32vh;
    padding: 20px;
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.news-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.zdjecietekst {
    display: flex;
     flex-direction: row; 
     gap: 40px;
      align-items: center;
}
footer {
    background-color: #fafafa;
    color: #555;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }

    .nav-links a {
        text-align: center;
        padding: 15px;
        border-top: 1px solid #f0f0f0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
    .zdjecietekst {
        flex-direction: column;
    }

    .zdjecietekst > img{
        width: 100%;
    }

    #chikalettaimg {
        width: 100%;
    }

    .artyk {
        width: 100%;
        text-align: center;
    }

    iframe {
        width: 100%;
        height: auto;
    }
}
