/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   CONTAINER
========================= */

.header__container {
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 8px;

    position: relative;
}

/* =========================
   LOGO
========================= */

.header__logo {
    display: flex;
    align-items: center;
    gap: 16px;

    text-decoration: none;

    z-index: 10;
}

.header__logo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;

    object-fit: cover;

    border: 4px solid rgba(255,255,255,0.9);

    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.header__logo span {
    font-size: 1.2rem;
    font-weight: 600;

    color: white;

    letter-spacing: 0.04em;
    line-height: 1.2;
}

/* =========================
   NAVIGATION
========================= */

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__nav a {
    color: rgba(255,255,255,0.88);

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 500;

    letter-spacing: 0.04em;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

/* =========================
   BUTTON
========================= */

.header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 999px;

    background: #7ba547;
    color: white !important;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    box-shadow: 0 10px 24px rgba(123,165,71,0.28);
}

/* =========================
   DESKTOP ONLY HOVER EFFECTS
   (Mobilon ezeket teljesen figyelmen kívül hagyja a böngésző)
========================= */
@media (hover: hover) {
    .header__logo:hover img {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    }

    .header__nav a:hover {
        color: white;
    }

    .header__button:hover {
        background: #8bc856;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(123,165,71,0.35);
    }
}

/* =========================
   MOBILE TOGGLE
========================= */

.menu-toggle {
    display: none;

    width: 52px;
    height: 52px;

    border: none;
    background: transparent;

    color: white;
    font-size: 2rem;

    cursor: pointer;

    z-index: 10;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .header__container {
        padding: 14px 0;
    }

    .header__logo img {
        width: 56px;
        height: 56px;
    }

    .header__logo span {
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .header__nav {
        position: absolute;

        top: calc(100% + 12px);
        left: 0;

        width: 100%;

        background: rgba(20,20,20,0.96);
        backdrop-filter: blur(12px);

        border: 1px solid rgba(255,255,255,0.08);

        border-radius: 24px;

        padding: 28px;

        flex-direction: column;
        align-items: flex-start;
        gap: 24px;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .header__button {
        width: 100%;
        justify-content: center;
    }
}
