:root {
    --bg-main: #114343;
    --bg-accent: #37AE70;
    --text-light: antiquewhite;
    --hover-color: darkorange;
    --text-dark: black;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;
    color: var(--text-light);
    margin: 3rem 5%;
}

a {
    color: var(--text-light);
}

a:hover {
    color: var(--hover-color);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

header {
    background-color: var(--bg-accent);
    text-align: center;
}

header img {
    max-width: 90%;
    height: auto;
    display: inline-block;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav li {
    display: inline-block;
    padding: 1%;
}

section {
    padding-bottom: 2rem;
}

article {
    flex: 1;
    padding: 1%;
}

.cta,
.owner-content,
.content,
.kontakt {
    margin-top: 30px;
}

.owner-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.owner-text {
    flex: 2;
}

.owner-image {
    flex: 1;
}

.owner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.faq-content {
    column-count: 2;
    column-gap: 50px;
}

.faq-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.content {
    display: flex;
    gap: 50px;
}

.kolumna {
    flex: 1;
}

.kolumna h2,
.dane-kontaktowe h2,
.cookie-box h2 {
    margin-top: 0;
}

.kolumna ul,
.kolumna ol {
    padding-left: 20px;
}

.kolumna li {
    margin-bottom: 10px;
}

.kontakt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.dane-kontaktowe {
    line-height: 1.6;
}

.mapa {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    height: 0;
    overflow: hidden;
}

.mapa iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-main);
    border: 2px solid var(--bg-accent);
    border-radius: 12px;
    padding: 30px;
}

.map-placeholder p {
    max-width: 350px;
    line-height: 1.5;
}

.button {
    width: min(220px, 100%);
    border: none;
    background-color: var(--text-light);
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    transition: background-color .3s ease;
}

.button:hover {
    background-color: var(--hover-color);
    color: var(--text-dark);
}

.footer {
    background-color: var(--bg-accent);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 1rem 1.5rem;
    margin-top: 3rem;
}

.footer-kontakt p {
    margin: 0.3rem 0;
}

.footer-linki {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(250,235,215,0.3);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 900px);
    background-color: var(--bg-accent);
    color: var(--text-light);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 9999;
}

.cookie-banner p {
    margin: 0;
}

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cookie-box {
    background-color: var(--bg-main);
    color: var(--text-light);
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--bg-accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.cookie-option {
    margin: 15px 0;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

@media (max-width: 768px) {

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .owner-content {
        flex-direction: column;
    }

    .faq-content {
        column-count: 1;
    }

    .content {
        flex-direction: column;
    }

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

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

    .footer-linki {
        align-items: center;
    }

    .footer-copy {
        grid-column: auto;
    }

    .cta {
        text-align: center;
    }

}