* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #222;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: #222;
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #111;
    color: white;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 30px;
    position: relative;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    justify-self: start;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-self: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding-bottom: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    border-bottom: 2px solid white;
    opacity: 1;
}

.menu-toggle {
    justify-self: end;
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

/* ===== CONTENT ===== */
.container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}

/* ===== KÜLDÉS GOMB ===== */
form button {
    padding: 18px 0; /* magas gomb */
    border-radius: 12px;
    border: none;
    background: #000; /* fekete háttér */
    color: #fff; /* fehér szöveg */
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-transform: uppercase;
}

form button:hover {
    background: #222; /* hover szín */
}

form button:active {
    transform: scale(0.96); /* benyomódás effekt */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .navbar {
        grid-template-columns: 1fr auto;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 30px 10px;
        padding: 15px;
    }

    form button {
        font-size: 1rem;
        padding: 16px 0;
    }
}