/* ====== Alapbeállítások ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* ====== Konténer ====== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ====== Fejléc ====== */
header {
    background-color: #1b5e20;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

header h1 a {
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: #c8e6c9;
}

/* ====== Hero szekció ====== */
.hero {
    background-color: #e8f5e9; /* világos zöldes háttér */
    padding: 100px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    color: #000; /* fekete szöveg */
    margin-bottom: 20px;
}

.hero p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn {
    background: #4caf50;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #388e3c;
}

/* ====== Fő tartalmi szekciók ====== */
section.content {
    padding: 60px 0;
    background: #fff;
}

section.content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2e7d32;
}

section.content p,
section.content ul {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #444;
}

section.content ul {
    list-style: none;
    padding: 0;
}

section.content li {
    background: #f1f8e9;
    border-left: 4px solid #4caf50;
    padding: 10px 15px;
    margin-bottom: 10px;
}

/* ====== Features (3 oszlopos rész) ====== */
.features {
    background: #ffffff;
    padding: 60px 20px;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.feature {
    background: #f1f8e9;
    border-radius: 8px;
    flex: 1 1 300px;
    padding: 20px;
    text-align: center;
    border: 1px solid #dcedc8;
}

.feature h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}

/* ====== Kapcsolat űrlap ====== */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 20px auto;
}

form label {
    font-weight: bold;
    margin-top: 10px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 1rem;
    font-family: inherit;
}

form button {
    margin-top: 20px;
    padding: 12px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

form button:hover {
    background: #388e3c;
}

.success {
    color: #2e7d32;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

/* ====== Lábléc ====== */
footer {
    background: #2e7d32;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

footer a {
    color: #c8e6c9;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ====== Reszponzív dizájn ====== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .features .container {
        flex-direction: column;
        align-items: center;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}