/* Alapbeállítások */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, rgb(64, 178, 169), rgb(82, 139, 198)); /* Az új átmenet */
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Fejléc beállítása */
header {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #003366;
}

/* Fejléc szöveg - Balázsék */
/* Fejléc szöveg - Balázsék */
.header-text {
    position: absolute;
    top: 85%;
    left: 50%; /* Középre igazítva */
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 5vw; /* Változó betűméret */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(to right, rgb(64, 178, 169), rgb(82, 139, 198)); /* Pontos gradient */
    max-width: 90%; /* Max szélesség */
    white-space: nowrap; /* Ne törje több sorra */
    overflow: hidden; /* Ne lépjen ki a szülő elemből */
    text-overflow: ellipsis; /* Ha túl hosszú, szöveg levágása */
    display: inline-block;
}

/* Kisebb eszközökhöz igazítás */
@media (max-width: 600px) {
    .header-text {
        font-size: 6vw; /* Még kisebb betűméret */
        top: 80%;
        max-width: 80%;
    }
}

@media (max-width: 400px) {
    .header-text {
        font-size: 8vw; /* A legkisebb képernyőkön is csökkenjen tovább */
        top: 75%;
        max-width: 70%;
    }
}

/* Fejléc logó */
header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero section styles */
.hero-section h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.32rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-section .contact-highlight {
    font-size: 1.65rem;
    font-weight: 600;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section h2 {
        font-size: 1.87rem;
    }
    
    .hero-section p {
        font-size: 1.21rem;
    }
    
    .hero-section .contact-highlight {
        font-size: 1.43rem;
    }
}

/* Tartalom */
main {
    padding: 20px;
    overflow-x: hidden;
}

@media (max-width: 639px) {
    main {
        padding: 20px 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container-form {
        margin: 2rem auto;
        padding: 0;
        width: 100%;
        max-width: 85%;
        box-sizing: border-box;
    }

    .container-form form {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .container-form .grid > div {
        max-width: 100%;
    }

    .container-form h2,
    .container-form p {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .container-form .grid {
        gap: 0.75rem;
        width: 100%;
    }

    .container-form input,
    .container-form textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 1rem;
    }

    .container-form textarea {
        padding: 0.75rem 1rem;
        min-height: 100px;
    }

    .container-form button {
        width: auto;
        white-space: nowrap;
        padding: 0.75rem 2rem;
    }

    .container-form .relative {
        padding: 0 0.5rem;
    }
}

/* Gombok és Facebook konténer */
.content-container {
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .content-container {
        margin-top: 5rem;
        gap: 5rem;
    }
}

/* Gombok stílusa */
.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Lejátszó gomb és mail gomb közös stílusok */
#play-button, 
#play-button + a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
}

#play-button::after {
    content: "Online adás";
    margin-top: 1rem;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    #play-button::after {
        font-size: 1.625rem;
    }
}

/* Mail szöveg */
.mail-text {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .mail-text {
        font-size: 1.75rem;
    }
}

/* Facebook container */
.content-container > div:last-child {
    flex-shrink: 0;
    width: 100%;
    max-width: 500px;
    padding: 0 1rem;
}

.content-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    overflow: hidden;
}

@media (max-width: 639px) {
    .content-container > div:last-child {
        padding: 0;
    }
    
    .content-container iframe {
        height: 300px;
    }
}

/* Lejátszó a lap alján */
#player-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    padding: 10px;
    text-align: center;
    display: none;
}

audio {
    width: 100%;
}

/* Container utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.max-w-screen-xl {
    max-width: 1280px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Utility classes */
.mt-2 { margin-top: 0.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.ml-3 { margin-left: 0.75rem; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.w-4 { width: 1rem; }
.w-full { width: 100%; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.bg-brand { background-color: rgb(64, 178, 169); }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-xl { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }
.font-semibold { font-weight: 600; }
.leading-6 { line-height: 1.5rem; }
.leading-tight { line-height: 1.25; }
.text-white { color: white; }
.text-gray-900 { color: rgb(17, 24, 39); }
.text-brand-pink { color: rgb(236, 72, 153); }
.underline { text-decoration: underline; }

/* Form specific styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border: 1px solid white;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: rgb(64, 178, 169);
    box-shadow: 0 0 0 2px rgba(64, 178, 169, 0.2);
}

button:hover.bg-brand {
    background-color: rgb(52, 152, 144);
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:mt-14 { margin-top: 3.5rem; }
    .sm\:mt-28 { margin-top: 7rem; }
    .sm\:grid-cols-2 { 
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .sm\:text-2xl { font-size: 1.5rem; }
    .sm\:text-4xl { font-size: 2.25rem; }
}

/* Form container styles */
.container-form {
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-form h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.container-form p {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.container-form form {
    width: 100%;
    max-width: 1000px;
}

/* Impresszum oldal stílusok */
.impresszum-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;
}

.impresszum-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.impresszum-content {
    padding: 0 2rem;
}

.impresszum-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: white;
}

.impresszum-content p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.impresszum-content strong {
    color: white;
    display: inline-block;
    margin-bottom: 0;
    margin-right: 0.5rem;
    font-weight: 600;
}

.impresszum-content p:first-child {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.impresszum-content .copyright {
    margin-top: 3rem;
    font-style: italic;
}

.impresszum-content .warning {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.impresszum-content .disclaimer {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Süti információ oldal stílusok */
.impresszum-content ul {
    list-style: none;
    padding-left: 1rem;
    margin: 1rem 0 2rem 0;
}

.impresszum-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.impresszum-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgb(64, 178, 169);
}

@media (max-width: 768px) {
    .impresszum-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }

    .impresszum-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .impresszum-content {
        padding: 0 1rem;
    }

    .impresszum-content p {
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .impresszum-content strong {
        display: block;
        width: auto;
        margin-bottom: 0.5rem;
    }
}

/* Desktop form styles */
@media (min-width: 768px) {
    .md\:text-right { text-align: right; }
    
    .container-form {
        margin: 4rem auto;
        padding: 2rem;
        max-width: 1000px;
    }

    .container-form h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .container-form p {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

    .container-form .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .container-form input,
    .container-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .container-form textarea {
        min-height: 120px;
        resize: vertical;
    }

    .container-form button {
        font-size: 1.25rem;
        padding: 1rem 3rem;
        transition: background-color 0.3s ease;
    }

    /* Form checkbox alignment */
    .container-form .relative {
        display: flex;
        align-items: flex-start;
        margin: 1.5rem 0;
    }

    .container-form .relative input[type="checkbox"] {
        margin-top: 0.25rem;
    }

    .container-form .relative label {
        margin-left: 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* 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;
}

.footer-left {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-left .column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-left a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-left a:hover {
    text-decoration: none;
    opacity: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-right div {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.footer-right img {
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-right img:hover {
    opacity: 1;
}

.footer-right p {
    text-align: center;
    font-size: 0.875rem;
    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-right div {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-right img {
        height: 35px;
    }

    .footer-right p {
        font-size: 0.8rem;
    }
}

/* Kisebb eszközökhöz igazítás */
@media (max-width: 600px) {
    .header-text {
        font-size: 8vw; /* Kisebb képernyőkön kisebb szöveg */
        top: 80%;
        max-width: 80%;
    }

    .facebook iframe {
        width: 90%;
        height: 300px;
    }

    .contact-form .form-row {
        flex-wrap: wrap;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"] {
        width: 100%;
    }
}

/* Visszahívást kérek gomb és konténer stílusa */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.callback-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgb(64, 178, 169);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.callback-button:hover {
    background-color: rgb(52, 152, 144);
}

.footer-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50; /* Világos zöld háttér */
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px; /* 10-es border-radius */
    text-align: center;
    transition: background-color 0.3s ease;
}

.footer-button:hover {
    background-color: #45a049; /* Sötétebb zöld a hover állapotban */
}

/* Cookie táblázat stílus */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    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-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-table td {
    font-size: 0.95em;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
        font-size: 0.9em;
    }
}
