body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #2e2e2e;
}

/* NAVBAR */
.nav {
    position: fixed;
    top: 0;
    overflow: hidden;
    max-width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; /* kisebb padding */
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 100;
    box-sizing: border-box; /* fontos! */
}

.nav nav {
    display: flex;
    gap: 18px; /* fix távolság, nem nő túl */
    flex-wrap: nowrap; /* nem törik el */
}

.nav a {
    text-decoration: none;
    color: #2e2e2e;
    font-weight: 500;
    white-space: nowrap; /* nem törik több sorba */
}

@media (max-width: 900px) {
    .nav nav {
        display: none; /* eltűnik a menü */
    }

    .nav .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
    }
}


.login-btn {
    background: #4a7bdc;
    padding: 8px 16px;
    border-radius: 8px;
    color: #fff !important;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('assets/img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 60px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-buttons button {
    background: #4a7bdc;
    border: none;
    padding: 12px 24px;
    margin-right: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-buttons button:hover {
    background: #3a6ac0;
}

/* SECTIONS */
.section {
    padding: 100px 60px;
    text-align: center;
}

/* CARDS */
.card-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    padding: 25px;
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: #dceeff;
}

.price {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    color: #4a7bdc;
}

/* EBOOK */
.ebook-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* CONTACT */
.contact-btn {
    background: #4a7bdc;
    padding: 12px 24px;
    border-radius: 10px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #3a6ac0;
}
