@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Outfit:wght@300;400;500;600;700&family=Satisfy&display=swap');

:root {
    --bg-gradient: radial-gradient(circle at top, #0c261e 0%, #051410 70%, #020a08 100%);
    --card-bg: rgba(10, 26, 21, 0.8);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #f27a18;
    --primary-glow: rgba(242, 122, 24, 0.35);
    --secondary: #ff9d42;
    --accent: #f59e0b;
    --text-primary: #f8fafc;
    --text-muted: #8fa89f;
    --input-bg: rgba(4, 15, 12, 0.7);
    --success: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Glassmorphism Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(242, 122, 24, 0.03);
    position: relative;
    overflow: hidden;
}

/* Felső izzó sáv */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* Fejléc */
.event-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.event-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    text-align: center;
    width: 100%;
}

.script-text {
    font-family: 'Satisfy', cursive;
    text-transform: none;
    color: var(--primary);
    font-size: 3.8rem;
    display: inline-block;
    margin-left: 10px;
    text-shadow: 0 0 15px var(--primary-glow);
    transform: rotate(-2deg);
}

.event-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: center;
    width: 100%;
}

/* Meta Adatok */
.event-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    width: 100%;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(4, 15, 12, 0.6);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.meta-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item strong {
    color: #ffffff;
}

.subtitle-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 1rem auto 2rem auto; /* Megemelt alsó margó a menü panel előtt */
    line-height: 1.5;
}

/* Két Menü Megjelenítése */
.menu-display-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.menu-display-card {
    background: rgba(4, 15, 12, 0.4);
    border: 1px solid rgba(242, 122, 24, 0.15);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.menu-display-card:hover {
    border-color: var(--primary);
    background: rgba(4, 15, 12, 0.6);
    transform: translateY(-2px);
}

.menu-display-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px var(--primary-glow);
}

.menu-display-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    margin-top: 0.3rem;
}

.menu-display-list {
    list-style: none;
    padding: 0;
}

.menu-display-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.2rem;
}

.menu-display-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Szekció címek */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary);
    padding-left: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Form Rács */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Címkék távolsága */
label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    height: 48px;
    transition: all 0.25s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(4, 15, 12, 0.9);
    box-shadow: 0 0 15px rgba(242, 122, 24, 0.15);
}

/* Vendég kártyák */
.guest-card {
    background: rgba(4, 15, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 1.5rem;
    align-items: flex-end;
}

.guest-card .form-group {
    margin-bottom: 0;
}

/* Menü opciók */
.menu-options {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: 10px;
    height: 48px;
    align-items: center;
}

.menu-btn {
    flex: 1;
    text-align: center;
    height: 40px;
    line-height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.menu-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 3px 8px rgba(242, 122, 24, 0.2);
}

/* Checkbox */
.child-checkbox-wrapper {
    height: 48px;
    display: flex;
    align-items: center;
}

.child-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.child-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

/* Összegző doboz */
.summary-box {
    background: linear-gradient(135deg, rgba(242, 122, 24, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(242, 122, 24, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.summary-item {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-item span {
    color: #ffffff;
    font-weight: 600;
}

.total-price-wrapper {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.total-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 122, 24, 0.2);
}

.btn-submit {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(242, 122, 24, 0.3);
    margin-top: 1rem;
    width: 100%;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 122, 24, 0.45);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alert visszajelzések */
.alert-message {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
}

.alert-message.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--success);
    color: #34d399;
}

.alert-message.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* Optimalizált Mobil reszponzivitás */
@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .card {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
    }
    
    .event-title {
        font-size: 2.2rem;
    }
    
    .script-text {
        font-size: 2.6rem;
        margin-left: 5px;
    }

    .event-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-bottom: 1rem;
    }

    .event-meta {
        gap: 0.6rem;
    }

    .meta-item {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .subtitle-desc {
        font-size: 0.95rem;
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .menu-display-section {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.15rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .grid-3 {
        gap: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
        font-size: 0.95rem;
        height: 46px;
        padding: 0.75rem 1rem;
    }

    .guest-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem;
        align-items: stretch;
        border-radius: 12px;
    }
    
    .child-checkbox-wrapper {
        height: auto;
        padding-top: 0.2rem;
    }
    
    .summary-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.25rem;
        border-radius: 12px;
        margin-top: 2rem;
    }
    
    .total-price-wrapper {
        text-align: center;
        align-items: center;
    }

    .total-price {
        font-size: 2.1rem;
    }
}
