/* Alapbeállítások */
body {
    font-family: Arimo, Arial, sans-serif;
    background: linear-gradient(to right, #40b2a9, #528bc6);
    color: white;
    margin: 0;
    padding: 0;
}

/* ── FEJLÉC ── */
header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

header picture img {
    width: 100%;
    height: auto;
    display: block;
}

.header-overlay {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-text-big {
    background: linear-gradient(to right, #40b2a9, #528bc6);
    color: white;
    font-weight: 600;
    padding: 2px 12px;
    font-size: clamp(0.875rem, 3vw, 4.5rem);
    line-height: 1.25;
}

.header-text-small {
    background: linear-gradient(to right, #40b2a9, #528bc6);
    color: white;
    font-weight: 600;
    padding: 2px 12px;
    font-size: clamp(0.75rem, 2.2vw, 3.75rem);
    line-height: 1.25;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .header-overlay {
        bottom: 12px;
    }
    .header-text-big {
        padding: 4px 24px;
    }
    .header-text-small {
        padding: 4px 24px;
    }
}

@media (min-width: 1280px) {
    .header-overlay {
        bottom: 40px;
    }
}

/* ── TARTALOM ── */
main {
    padding: 20px;
    overflow-x: hidden;
}

@media (max-width: 639px) {
    main {
        padding: 20px 0;
        max-width: 100vw;
    }
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

/* ── HÉRÓ SZÖVEGEK ── */
.hero-h1 {
    margin-top: 3.5rem;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
}

.hero-h2 {
    margin-top: 2rem;
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-weight: 600;
}

.hero-p {
    margin-top: 2rem;
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.5;
}

.hero-p-large {
    margin-top: 2rem;
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.875rem);
    font-weight: 600;
    line-height: 1.5;
}

/* ── GRAFIKON RÁCS ── */
.charts-grid {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.chart-box {
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.source-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1rem;
    color: white;
}

/* ── CTA GOMB ── */
.cta-center {
    margin-top: 1.5rem;
    text-align: center;
}

.callback-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #40b2a9;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25;
    transition: background-color 0.2s ease;
}

.callback-button:hover {
    background-color: #399fa7;
}

/* ── KAPCSOLATI IKONOK ── */
.contact-section {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-section {
        margin-top: 5rem;
        flex-direction: row;
        gap: 5rem;
        align-items: flex-start;
    }
}

.contact-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
}

.contact-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.contact-item-label {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
}

@media (min-width: 640px) {
    .contact-item-label {
        font-size: 1.625rem;
    }
}

.contact-item:hover .contact-item-label {
    text-decoration: underline;
}

.contact-item-value {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 640px) {
    .contact-item-value {
        font-size: 1.75rem;
    }
}

/* Facebook container */
.facebook-wrap {
    flex-shrink: 0;
    width: 100%;
    max-width: 500px;
    padding: 0 1rem;
    box-sizing: border-box;
}

.facebook-wrap iframe {
    width: 100%;
    max-width: 100%;
    height: 500px;
    border: none;
    overflow: hidden;
}

@media (max-width: 639px) {
    .facebook-wrap {
        padding: 0;
    }
    .facebook-wrap iframe {
        height: 300px;
    }
}

/* ── LEJÁTSZÓ ── */
#player-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    text-align: center;
    display: none;
    z-index: 100;
    box-sizing: border-box;
}

audio {
    width: 100%;
    max-width: 600px;
}

/* ── KAPCSOLATI FORM ── */
.container-form {
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.container-form h2 {
    width: 100%;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.container-form p {
    width: 100%;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.container-form form {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.container-form input[type="text"],
.container-form input[type="email"],
.container-form input[type="tel"],
.container-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 9999px;
    padding: 1rem 1.5rem;
    color: #111827;
    background: white;
    border: 1px solid white;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.container-form textarea {
    border-radius: 1rem;
    min-height: 120px;
    resize: vertical;
}

.container-form input:focus,
.container-form textarea:focus {
    border-color: #40b2a9;
    box-shadow: 0 0 0 2px rgba(64, 178, 169, 0.3);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-row label {
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-row label a {
    color: white;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

@media (min-width: 768px) {
    .form-submit {
        text-align: right;
    }
}

/* ── LÁBJEGYZET ── */
.footnote {
    margin-top: 5rem;
    font-size: 0.875rem;
    padding: 0 1rem;
}

/* ── LÁBLÉC ── */
footer {
    padding: 2rem;
    color: white;
    background: linear-gradient(to right, rgba(64, 178, 169, 0.1), rgba(82, 139, 198, 0.1));
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.footer-left {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem;
    justify-content: center;
}

.footer-left .column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.footer-left a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-left a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-right p {
    font-size: 0.75rem;
    max-width: 600px;
    opacity: 0.9;
    line-height: 1.5;
}

@media (max-width: 640px) {
    footer {
        padding: 1.5rem;
    }
    .footer-left {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-logos img {
        height: 32px;
    }
    .footer-right p {
        font-size: 0.7rem;
    }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.92);
    color: white;
    padding: 20px;
    z-index: 10000;
    font-family: Arial, sans-serif;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

.cookie-banner button,
.cookie-banner .more-info {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.accept-all {
    background: #40b2a9;
    color: white;
}

.accept-necessary {
    background: #666;
    color: white;
}

.more-info {
    background: transparent;
    border: 1px solid white !important;
    color: white;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cookie-banner button,
    .cookie-banner .more-info {
        width: 100%;
        max-width: 200px;
    }
}

/* ── IMPRESSZUM / SÜTIK BELSŐ OLDALAK ── */
.inner-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    box-sizing: border-box;
}

.inner-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inner-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.inner-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.inner-section ul li {
    margin-bottom: 0.5rem;
}

.inner-section li .label {
    font-weight: 700;
    margin-right: 0.5rem;
}

.inner-section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.inner-section .copyright {
    margin-top: 3rem;
    font-style: italic;
}

.inner-section .warning {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.inner-section .disclaimer {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .inner-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
}

/* Süti táblázat */
.cookie-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .cookie-table {
        white-space: nowrap;
    }
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
}

/* ── KÖSZÖNET OLDAL ── */
.thankyou-section {
    max-width: 700px;
    margin: 8rem auto;
    text-align: center;
    padding: 0 1rem;
}

.thankyou-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.thankyou-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thankyou-section a {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #40b2a9;
    color: white;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.thankyou-section a:hover {
    background: #399fa7;
}
