/* Alap reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    height: 100%;
    scroll-behavior: smooth;
}

/* Háttérkép elmosva */
.background-blur {
    background: url('../images/background.jpg') no-repeat center center/cover;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: blur(8px);
    z-index: -1;
}

/* Menü */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
.navbar nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ===== Szekciók – áttetsző doboz ===== */
.section {
    padding: 50px 20px;
    max-width: 800px;
    margin: 40px auto; /* különálló dobozok */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;

    /* üveg-hatás */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.section h2 {
    margin-bottom: 20px;
    font-size: 2em;
    text-align: center;
    color: #333;
}
.section p, .section ul {
    font-size: 1.1em;
    text-align: center;
    color: #333;
}

/* Fade-in animáció */
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 50px;
}

/* Mobilra optimalizálás */
@media screen and (max-width: 768px) {
    .navbar nav ul {
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 20px;
        display: none;
        gap: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }
    .navbar nav ul.active {
        display: flex;
    }

    .section {
        padding: 45px 20px;
        margin: 30px 15px;
    }
    .section h2 {
        font-size: 1.7em;
    }
    .section p, .section ul {
        font-size: 1em;
    }
}

/* Mobil kisebb képernyő */
@media screen and (max-width: 480px) {
    .section {
        padding: 50px 10px;
        margin: 15px 10px;
    }
    .section h2 {
        font-size: 1.5em;
    }
    .section p, .section ul {
        font-size: 0.95em;
    }
}



/* ===== Visszaszámláló ===== */
.countdown-section {
    text-align: center;
    padding: 120px 20px 60px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.countdown-section.hidden {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
    pointer-events: none;
}
.countdown-section h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.countdown div {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 80px;
}
.countdown span {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #e91e63;
}
.countdown small {
    font-size: 0.9em;
    color: #777;
}

/* Mobil visszaszámláló */
@media screen and (max-width: 480px) {
    .countdown {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        overflow-x: auto;
        padding: 0 5px;
    }
    .countdown div {
        padding: 15px 12px;
        min-width: 50px;
        flex: 0 0 auto;
    }
    .countdown-section h1 {
        font-size: 1.6em;           /* kisebb, hogy elférjen egy sorban */
        line-height: 1.2;
        white-space: nowrap;         /* ne törjön sorra */
        overflow: hidden;
        text-align: center;
        margin-bottom: 20px;
    }
    .countdown span {
        font-size: 1.7em;           /* számok kicsit kisebbek mobilon */
    }
    .countdown small {
        font-size: 0.7em;           /* feliratok kisebbek */
    }
}

/* ===== MINI COUNTDOWN NAVBARBAN ===== */
.countdown-mini {
    font-size: 0.75em;
    color: #e91e63;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
.navbar.scrolled .countdown-mini {
    opacity: 1;
    transform: translateX(0);
}
@media screen and (max-width: 480px) {
    .countdown-mini {
        font-size: 0.65em;
    }
}

/* ===== Pulzáló szív ===== */
.heart {
    display: inline-block;
    animation: heartBeat 2s infinite ease-in-out;
    transform-origin: center;
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ===== Mobil menü hamburger ===== */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        z-index: 30;
    }
    .menu-toggle span {
        display: block;
        height: 4px;
        width: 100%;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px,5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px,-6px);
    }
}

/* ===== FAQ Accordion ===== */
.faq-item {
    margin: 15px 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}


.faq-question:hover {
    background: rgba(233,30,99,0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    font-size: 1em;
    color: #333;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* elég nagy, hogy a teljes szöveg kiférjen */
    padding: 15px 20px;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between; /* a szöveg balra, nyíl jobbra */
    align-items: center;
}

.faq-arrow {
    transition: transform 0.3s ease;
    font-size: 1em;
    margin-left: 10px;
}

/* nyíl forgatása nyitott állapotban */
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* ===== ÜZENET A PÁRNAK ===== */

.message-form {
    max-width: 500px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 1em;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

.message-form button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.message-form button:hover {
    background: #c2185b;
}

/* Üzenet küldése gomb középre */
.message-form button {
    display: block;
    margin: 20px auto 0;
}

/* ===== ZÖLD SIKER ÜZENET ===== */

.toast-success {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    padding: 16px 22px;
    border-radius: 12px;
    font-size: 0.95em;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 999;
}

.toast-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* mobilon középre */
@media screen and (max-width: 480px) {
    .toast-success {
        right: 50%;
        transform: translate(50%, 20px);
    }
    .toast-success.show {
        transform: translate(50%, 0);
    }
}

/* Lebegő boríték ikon */
.floating-envelope {
    display: inline-block;
    animation: floatUpDown 2s ease-in-out infinite, pulse 1.5s infinite;
    transform-origin: center;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Mobil kisebb képernyő */
@media screen and (max-width: 480px) {
    
    .floating-envelope {
        font-size: 1.2em;
    }
}