
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-hero {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(251,191,36,.30), rgba(180,83,9,.30)),
        linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.20)),
        url('/assets/images/pexels-ramin-5598953.jpg') center/cover no-repeat;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin: 0 0 16px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.25rem;
    margin: 0;
}

.contact-info {
    position: relative;
    isolation: isolate;
    padding: 80px 0;
    background: #fff;
    color: #111827;
}

.contact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('/assets/images/watermark.png') center/contain no-repeat;
    opacity: .6;
    pointer-events: none;
}

.contact-columns {
    max-width: 928px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.contact-columns h2 {
    font-size: 24px;
    margin: 0 0 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 20px;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #2563eb;
}

.contact-detail strong {
    display: block;
    margin-bottom: 4px;
}

.contact-detail p {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.contact-detail a {
    color: #2563eb;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-register {
    margin-top: 32px;
}

.contact-register p {
    margin: 0 0 12px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
}

.contact-social:hover {
    background: #f3f4f6;
}

.contact-facebook {
    color: #2563eb;
    font-size: 25px;
    font-weight: 700;
}

.contact-location {
    padding: 80px 0;
    background: #f9fafb;
    color: #111827;
}

.contact-location .contact-container {
    max-width: 928px;
}

.contact-location h2 {
    font-size: 30px;
    text-align: center;
    margin: 0 0 32px;
}

.contact-map {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* Dark mode */
html.dark .contact-info,
html[data-theme="dark"] .contact-info {
    background: #111827;
    color: #fff;
}

html.dark .contact-detail p,
html[data-theme="dark"] .contact-detail p {
    color: #d1d5db;
}

html.dark .contact-detail a,
html[data-theme="dark"] .contact-detail a {
    color: #60a5fa;
}

html.dark .contact-social,
html[data-theme="dark"] .contact-social {
    background: #1f2937;
    color: #fff;
}

html.dark .contact-social:hover,
html[data-theme="dark"] .contact-social:hover {
    background: #374151;
}

html.dark .contact-location,
html[data-theme="dark"] .contact-location {
    background: #1f2937;
    color: #fff;
}

html.dark .contact-map,
html[data-theme="dark"] .contact-map {
    border-color: #374151;
}


    html:not(.light):not([data-theme="light"]) .contact-detail p {
        color: #d1d5db;
    }

    html:not(.light):not([data-theme="light"]) .contact-social,
    html:not(.light):not([data-theme="light"]) .contact-location {
        background: #1f2937;
        color: #fff;
    }

@media (max-width: 767px) {
    .contact-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero,
    .contact-info,
    .contact-location {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .contact-map iframe {
        height: 350px;
    }
}


/* KONTAKT – TRYB JASNY */
html:not(.dark):not([data-theme="dark"]) .contact-info {
    background-color: #ffffff;
    color: #111827;
}

html:not(.dark):not([data-theme="dark"]) .contact-detail p {
    color: #374151;
}

html:not(.dark):not([data-theme="dark"]) .contact-social {
    background-color: #f9fafb;
    color: #111827;
}

html:not(.dark):not([data-theme="dark"]) .contact-location {
    background-color: #f9fafb;
    color: #111827;
}

/* KONTAKT – TRYB CIEMNY */
html.dark .contact-info,
html[data-theme="dark"] .contact-info {
    background-color: #111827;
    color: #ffffff;
}

html.dark .contact-detail p,
html[data-theme="dark"] .contact-detail p {
    color: #d1d5db;
}

html.dark .contact-social,
html[data-theme="dark"] .contact-social {
    background-color: #1f2937;
    color: #ffffff;
}

html.dark .contact-location,
html[data-theme="dark"] .contact-location {
    background-color: #1f2937;
    color: #ffffff;
}
