/* Reset i style bazowe */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Nagłówek */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo {
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}
.logo-container:hover .logo {
    transform: scale(1.1);
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #007BFF;
}

/* Sekcja Galeria */
.gallery {
    padding: 50px 20px;
    text-align: center;
}
.gallery h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #007BFF;
    animation: fadeInDown 1s ease-out;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.05);
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Stopka */
footer {
    padding: 20px;
    text-align: center;
    background: #333;
    color: #fff;
}

/* Animacje */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .gallery {
        padding: 30px 10px;
    }
}
