/* Fejléc stílusok */
header {
    background-color: var(--secondary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed; /* Sticky helyett fixed, hogy ne mozogjon görgéskor */
    top: 30px; /* Távolság az oldal tetejétől */
    left: 40px; /* Távolság balról */
    right: 40px; /* Távolság jobbról */
    z-index: 1000;
    border-radius: 15px;
    height: 60px; /* Kisebb magasság */
    max-width: 1200px; /* Maximum szélesség beállítása */
    margin: 0 auto; /* Középre igazítás */
}

.header-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    height: 100%;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.logo img {
    height: 40px;
    width: auto;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.nav-menu a:hover {
    color: var(--main-color);
    background-color: rgba(255, 140, 0, 0.1);
}

.auth-buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.register-btn {
    background-color: var(--main-color);
    color: var(--main-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--main-color);
}

.register-btn:hover {
    background-color: transparent;
    color: var(--main-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--main-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Reszponzív fejléc */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--secondary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .auth-buttons {
        display: none;
    }
}

.dashboard-btn {
    background-color: var(--main-color);
    color: var(--main-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--main-color);
}

.dashboard-btn:hover {
    background-color: transparent;
    color: var(--main-color);
}

.dashboard-btn i {
    font-size: 1.1em;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .dashboard-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}