html, body {
    height: 100%;
    margin: 0;
}

/* ===== ALAP HÁTTÉR ===== */
body {
    font-family: Arial, sans-serif;

    /* háttérkép */
    background: url("fooldal.jpg") no-repeat center center fixed;
    background-size: cover;

    /* layout */
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    position: relative;
}

/* ===== TEJFEHÉR OVERLAY (STABIL) ===== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.75);
    z-index: -1;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #2e7d32;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    background: #43a047;
    border-radius: 8px;
    transition: 0.3s;
    white-space: nowrap;
}

.navbar a:hover {
    background: #66bb6a;
}

/* ===== MAIN ===== */
main {
    flex: 1;
    width: 100%;
}

/* ===== KONTÉNER ===== */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 30px auto;

    background: rgba(255, 255, 255, 0.85);
    padding: 25px;
    border-radius: 10px;
    box-sizing: border-box;
}

/* ===== SZÖVEG ===== */
h1 {
    text-align: center;
    color: #2e7d32;
}

h2 {
    color: #388e3c;
    border-bottom: 2px solid #c8e6c9;
    padding-bottom: 5px;
}

.highlight {
    background: #e8f5e9;
    padding: 10px;
    border-left: 5px solid #66bb6a;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #2e7d32;
    color: white;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;

    margin-top: auto;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {
    .container {
        margin: 15px;
        padding: 15px;
    }

    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }
}