body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

.header {
    background: #ff9800;
    color: white;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    width: 120px;   /* 🔥 kontrola wielkości */
    height: auto;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
}

.header-text p {
    margin: 5px 0 0;
}

nav {
    display: flex;
    justify-content: center;
    background: #f57c00;
}

nav a {
    color: white;
    padding: 15px;
    text-decoration: none;
}

nav a:hover {
    background: #e65100;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: #fff3e0;
}

.container {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f57c00;
    color: white;
}

button {
    background: #ff9800;
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    border-radius: 6px;
}

button:hover {
    background: #e65100;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
    }

    .logo {
        order: -1;
    }

    .hero {
        display: block;
        position: relative;
        color: white;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('photos/2.jpg') center/cover;
        opacity: 0.5;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding: 40px 20px;
    }

    .hero-img {
        display: none;
    }
}

nav {
    display: flex;
    justify-content: center;
    background: #f57c00;
}

nav a {
    padding: 15px;
    color: white;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 40px 20px;
    background: #eee;
}

.hero-content {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.container {
    padding: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-btn {
    display: inline-block;
    background: #ff9800;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.contact-btn:hover {
    background: #e65100;
}

@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
    }

    .logo {
        order: -1;
    }

    .hero {
        display: block;
        position: relative;
        color: white;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('photos/2.jpg') center/cover;
        opacity: 0.5;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding: 40px 20px;
    }

    .hero-img {
        display: none;
    }

    .cards {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .card {
        width: 100%;
        max-width: 400px;
    }
}