﻿/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fdf8;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
    padding: 20px 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    min-width: 200px;
}

.logo__main {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2e7d32;
}

.logo__sub {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
}

.nav {
    margin-left: auto;
    min-width: 300px;
}

.nav__list {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

    .nav__link:hover {
        color: #388e3c;
    }

/* === HERO === */
.hero {
    background: linear-gradient(to right, #c8e6c9, #a5d6a7);
    padding: 120px 20px;
    color: #1b5e20;
}

.hero__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.hero__text {
    flex: 1;
    min-width: 280px;
}

.hero__title {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.btn {
    background-color: #ffcc00;
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .btn:hover {
        background-color: #ffe066;
    }

.hero__logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 400px;
    max-width: 100%;
    height: auto
}

    .hero__logo img {
        max-height: 320px;
        width: auto;
    }

/* === SECTIONS === */
.section {
    padding: 80px 0;
    text-align: center;
}

    .section h2 {
        font-size: 2em;
        margin-bottom: 30px;
        color: #2e7d32;
    }

    .section p {
        font-size: 1.1em;
        max-width: 700px;
        margin: auto;
    }

/* === GRID === */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

/* === FORM === */
.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto;
}

    .form input,
    .form textarea {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1em;
    }

    .form button {
        background: #2e7d32;
        color: white;
        padding: 12px;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
    }

        .form button:hover {
            background: #388e3c;
        }

/* === ABOUT === */
.about__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about__text {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444;
}

.about__list {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

    .about__list li {
        margin-bottom: 8px;
    }

.section__title {
    font-size: 2.2em;
    color: #2e7d32;
    margin-bottom: 20px;
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card__title {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #2e7d32;
}

.card ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

    .card ul li {
        margin-bottom: 8px;
    }

/* === MAP === */
#mapa-obszar {
    padding: 60px 20px;
    background-color: #f1f8e9;
    text-align: center;
}

    #mapa-obszar h2 {
        font-size: 2em;
        color: #2e7d32;
        margin-bottom: 10px;
    }

    #mapa-obszar p {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === FOOTER === */
.footer {
    background-color: #f8f8f8;
    color: #333;
    padding: 30px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 250px;
    margin-bottom: 20px;
}

    .footer-column h4 {
        margin-bottom: 10px;
        font-size: 16px;
        color: #000;
    }

    .footer-column a {
        color: #333;
        text-decoration: none;
    }

        .footer-column a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 13px;
}

/* === PRICES === */
.prices {
    background-color: #f1f8e9;
    padding: 60px 20px;
    text-align: center;
}

.prices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    background-color: #ffffff;
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .price-card:hover {
        transform: translateY(-5px);
    }

.price-card__title {
    font-size: 1.2em;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 10px;
}

.price-card__details {
    font-size: 1em;
    color: #555;
}

/* === SERVICES === */
.services__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-top: 40px;
}

.service-group {
    flex: 1 1 45%;
    min-width: 280px;
    border-right: 1px solid #ccc;
    padding-right: 20px;
}

    .service-group:last-child {
        border-right: none;
        padding-right: 0;
    }

.service-group__title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2e7d32;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background-color: #f1f8e9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* === POPUP === */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    font-family: Inter, sans-serif;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

    .popup-content button {
        margin-top: 20px;
        padding: 10px 20px;
        background: #2e7d32;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

/* === RESPONSYWNOŚĆ === */
html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }

    .nav {
        margin-left: 0;
        width: 100%;
        min-width: unset;
    }

    .nav__list {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

    .hero {
        padding: 60px 15px;
        text-align: center;
    }

    .hero__grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero__text {
        width: 100%;
    }

    .hero__logo {
        min-width: 0;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

        .hero__logo img {
            max-height: 240px;
            margin-top: 20px;
        }

    .section {
        padding: 40px 15px;
    }

        .section h2 {
            font-size: 1.6em;
        }

        .section p {
            font-size: 1em;
        }

    .grid,
    .about__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 20px;
    }

    .card__title {
        font-size: 1.2em;
    }

    .form {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .prices__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        flex-direction: column;
    }

    .service-group {
        border-right: none;
        padding-right: 0;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-column {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
}
