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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.header {
    background: linear-gradient(135deg, #2c5f2d, #4a8c3a);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.nav {
    background: #333;
    padding: 15px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #4a8c3a;
}

.city-nav {
    padding: 12px 0;
    background: #f3f5f3;
    text-align: center;
}

.city-nav strong {
    display: block;
    margin-bottom: 5px;
    color: #2c5f2d;
}

.city-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    list-style: none;
}

.city-nav a {
    color: #333;
}

.city-nav a:hover {
    color: #2c5f2d;
}

.hero {
    background: url('galeria/wystawka-nowa1.webp') center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #4a8c3a;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #2c5f2d;
}

.products, .gallery, .contact {
    padding: 60px 0;
}

.not-found {
    min-height: 45vh;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.not-found h1 {
    margin-bottom: 16px;
    color: #2c5f2d;
    font-size: 2rem;
}

.not-found p {
    margin-bottom: 24px;
}

.products h2, .gallery h2, .contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #2c5f2d;
}

.location-description {
    max-width: 850px;
    margin: -20px auto 30px;
    text-align: center;
}

.product-specifications {
    margin-bottom: 40px;
    padding: 28px;
    border-radius: 10px;
    background: #f3f5f3;
}

.product-specifications > h3 {
    margin-bottom: 22px;
    color: #2c5f2d;
    font-size: 1.75rem;
    text-align: center;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.dimension-card {
    padding: 20px;
    border: 1px solid #e3e8e2;
    border-radius: 8px;
    background: #fff;
}

.dimension-card h4,
.product-colors h4 {
    color: #2c5f2d;
}

.dimension-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.dimension-card dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
}

.dimension-card dd {
    margin: 0;
}

.product-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 24px;
}

.product-colors ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.product-colors li {
    padding: 5px 12px;
    border: 1px solid #d9e0d8;
    border-radius: 999px;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card picture {
    display: block;
}

.product-card h3 {
    padding: 20px;
    color: #2c5f2d;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

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

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-grid picture {
    display: block;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info a {
    color: #2c5f2d;
}

.contact-map {
    min-height: 320px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-info strong {
    color: #2c5f2d;
    font-size: 1.5rem;
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list li {
        margin: 10px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 28px 20px;
    }

    .footer .container {
        flex-direction: column;
        gap: 16px;
    }
}