/* =============================================
   KEZDŐ OLDAL – kezdo.css
   ============================================= */

/* ── CSS változók ── */
:root {
    --accent-color: #CD853F;
    --text-dark:    #2c2c2c;
    --text-light:   #666666;
    --white:        #ffffff;
}

/* ── Hero ── */
.kezdo-hero {
    min-height: 42vh;
    background: linear-gradient(135deg, #1a1816 0%, #2c2a29 60%, #3a2e24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.kezdo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(205,133,63,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.kezdo-hero-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color, #CD853F);
    border: 1px solid rgba(205,133,63,0.35);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.5rem;
}

.kezdo-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.kezdo-hero h1 span {
    color: var(--accent-color, #CD853F);
}

.kezdo-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Bevezető szekció ── */
.kezdo-intro {
    background: #f8f6f3;
    padding: 5rem 0 3rem;
}

.kezdo-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    color: var(--text-light, #666);
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.kezdo-intro-text strong {
    color: var(--text-dark, #2c2c2c);
    font-weight: 600;
}

/* ── Stat csíkok ── */
.kezdo-stats {
    background: #f8f6f3;
    padding: 2.5rem 0 5rem;
}

.kezdo-stat-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.kezdo-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 3px solid var(--accent-color, #CD853F);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kezdo-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(205,133,63,0.18);
}

.kezdo-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color, #CD853F);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.kezdo-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light, #666);
}

/* ── FAQ szekció ── */
.kezdo-faq {
    background: #ffffff;
    padding: 5rem 0;
}

.kezdo-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark, #2c2c2c);
    text-align: center;
    margin-bottom: 3.5rem;
}

.kezdo-section-title span {
    color: var(--accent-color, #CD853F);
}

/* Accordion kártyák */
.kezdo-accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kezdo-accordion-item {
    background: #faf9f7;
    border-radius: 14px;
    border: 1px solid rgba(205,133,63,0.12);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.kezdo-accordion-item.open {
    box-shadow: 0 6px 28px rgba(205,133,63,0.14);
    border-color: rgba(205,133,63,0.3);
}

.kezdo-accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.kezdo-accordion-header:hover {
    background: rgba(205,133,63,0.05);
}

.kezdo-accordion-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #814E34 0%, #CD853F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.kezdo-accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kezdo-accordion-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #2c2c2c);
    flex: 1;
    line-height: 1.4;
}

.kezdo-accordion-arrow {
    width: 22px;
    height: 22px;
    color: var(--accent-color, #CD853F);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kezdo-accordion-item.open .kezdo-accordion-arrow {
    transform: rotate(180deg);
}

.kezdo-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.75rem;
}

.kezdo-accordion-item.open .kezdo-accordion-body {
    max-height: 400px;
    padding: 0 1.75rem 1.5rem;
}

.kezdo-accordion-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    color: var(--text-light, #666);
    line-height: 1.8;
    margin: 0;
    border-left: 3px solid rgba(205,133,63,0.3);
    padding-left: 1rem;
}

/* ── Felkészülési tippek ── */
.kezdo-tips {
    background: #f8f6f3;
    padding: 5rem 0;
}

.kezdo-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.kezdo-tip-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kezdo-tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(205,133,63,0.15);
}

.kezdo-tip-emoji {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.kezdo-tip-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark, #2c2c2c);
    margin-bottom: 0.5rem;
}

.kezdo-tip-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light, #666);
    line-height: 1.6;
    margin: 0;
}

/* ── CTA szekció ── */
.kezdo-cta {
    background: linear-gradient(135deg, #1a1816 0%, #2c2a29 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kezdo-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(205,133,63,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.kezdo-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.kezdo-cta p {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.kezdo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #814E34 0%, #CD853F 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(205,133,63,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kezdo-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(205,133,63,0.55);
    color: #ffffff;
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .kezdo-hero {
        padding: 6rem 1.25rem 3rem;
    }

    .kezdo-stat-row {
        gap: 1rem;
    }

    .kezdo-stat-card {
        min-width: 120px;
        padding: 1.25rem 1rem;
    }

    .kezdo-accordion-header {
        padding: 1.1rem 1.25rem;
    }

    .kezdo-accordion-item.open .kezdo-accordion-body {
        padding: 0 1.25rem 1.25rem;
    }

    .kezdo-tips-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .kezdo-tips-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Scroll animáció ── */
.kezdo-hidden {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.kezdo-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Jelentkezési form ── */
.kf-section {
    background: #f0ede8;
    padding: 5rem 0;
}

.kf-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background: #d9d8d8;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.kf-header {
    text-align: center;
    margin-bottom: 2rem;
}

.kf-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.kf-header p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.97rem;
    line-height: 1.6;
}

/* Csoport választó */
.kf-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.kf-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.kf-option:hover {
    border-color: rgba(205,133,63,0.4);
    background: #fdf9f5;
}

.kf-option.selected {
    border-color: #CD853F;
    background: #fdf6ee;
    box-shadow: 0 4px 18px rgba(205,133,63,0.18);
}

.kf-option-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.kf-option-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.kf-option-days {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
}

.kf-option-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.1;
}

.kf-option.selected .kf-option-time {
    color: #CD853F;
}

.kf-option-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #CD853F;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.kf-option.selected .kf-option-check {
    opacity: 1;
    transform: scale(1);
}

.kf-group-error {
    font-size: 0.82rem;
    color: #e05252;
    margin: 0.3rem 0 1rem 0.25rem;
    display: none;
}

.kf-group-error.show {
    display: block;
}

/* Form mezők */
.kf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.kf-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.kf-field.kf-full {
    grid-column: 1 / -1;
}

.kf-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1a1a;
}

.kf-optional {
    font-size: 0.78rem;
    color: #888;
    font-weight: 400;
}

.kf-field input,
.kf-field textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.97rem;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #2c2c2c;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.kf-field input:focus,
.kf-field textarea:focus {
    border-color: #CD853F;
    box-shadow: 0 0 0 3px rgba(205,133,63,0.15);
}

.kf-field textarea {
    resize: vertical;
}

/* Checkbox */
.kf-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.kf-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #CD853F;
    cursor: pointer;
}

.kf-check label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

/* Gomb */
.kf-submit {
    text-align: center;
    margin-top: 1.75rem;
}

#kf-submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #814E34 0%, #CD853F 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(205,133,63,0.35);
}

#kf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(205,133,63,0.5);
}

#kf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Visszajelző üzenet */
#kf-message {
    margin-top: 1.25rem;
    border-radius: 8px;
    padding: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

#kf-message.success {
    background: #edfaf3;
    color: #1a7a45;
    border: 1px solid #a3e6c3;
    padding: 0.85rem 1.25rem;
    max-height: 100px;
}

#kf-message.error {
    background: #fdf0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    padding: 0.85rem 1.25rem;
    max-height: 100px;
}

/* Responsive */
@media (max-width: 640px) {
    .kf-picker {
        grid-template-columns: 1fr;
    }

    .kf-row {
        grid-template-columns: 1fr;
    }

    .kf-wrap {
        padding: 2rem 1.25rem;
    }

    .kf-option-time {
        font-size: 1.1rem;
    }

    .kf-header h2 {
        font-size: 1.5rem;
    }
}