:root {
    --feher: #ffffff;
    --sotet: #050416;
    --piros: #8d002e;
    --oldalsav-szelesseg: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    overflow: hidden;
    background: var(--sotet);
    color: var(--feher);
    font-family: Arial, Helvetica, sans-serif;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.ant-indito {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.ant-indito::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.025), transparent 48%);
    pointer-events: none;
}

.ant-indito-tartalom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ant-bemutatja {
    position: relative;
    display: inline-block;
    color: #171717;
    font-family: "Anton", sans-serif;
    font-size: clamp(48px, 5vw, 92px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(22px);
    animation: antFeliratMegjelenes 0.7s ease forwards;
}

.ant-bemutatja::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    width: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.08);
    animation: antFeliratFeltoltes 1.8s cubic-bezier(.77, 0, .18, 1) 0.3s forwards;
}

.kezdjuk-gomb {
    min-width: 190px;
    margin-top: 50px;
    padding: 12px 32px;
    color: #050505;
    background: #ffffff;
    border: none;
    border-radius: 999px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(15px) scale(0.94);
    animation: kezdjukGombMegjelenes 0.6s ease 1.85s forwards;
    transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.kezdjuk-gomb:hover {
    transform: translateY(1px) scale(0.9);
    background: #eeeeee;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08), 0 0 16px rgba(255, 255, 255, 0.07);
}

.kezdjuk-gomb:active {
    transform: translateY(2px) scale(0.84);
}

.kezdjuk-gomb:disabled {
    pointer-events: none;
}

.fo-oldal {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-columns: var(--oldalsav-szelesseg) 1fr;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 7%, rgba(163, 0, 54, 0.95) 0%, rgba(104, 0, 39, 0.78) 25%, rgba(47, 0, 35, 0.72) 52%, rgba(7, 4, 24, 0.98) 100%),
        linear-gradient(110deg, #8b002f 0%, #420022 42%, #070416 100%);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity 1s cubic-bezier(.2, .75, .2, 1), transform 1.1s cubic-bezier(.2, .75, .2, 1), visibility 0s linear 1s;
}

.fo-oldal.aktiv {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 1s cubic-bezier(.2, .75, .2, 1), transform 1.1s cubic-bezier(.2, .75, .2, 1), visibility 0s;
}

.fo-oldal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.oldalsav {
    position: relative;
    z-index: 10;
    width: var(--oldalsav-szelesseg);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.oldalsav-logo {
    margin-top: 22px;
    font-family: "Anton", sans-serif;
    font-size: 19px;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: left;
}

.oldalsav-logo-gomb {
    color: #ffffff;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-gomb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #14110f;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu-gomb img {
    display: block;
    width: 20px;
    height: 20px;
}

.menu-gomb:hover {
    color: #ffffff;
    background: #a56343;
    transform: translate(-50%, -50%) translateY(-2px);
}

.kozossegi-linkek {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateX(-50%);
}

.kozossegi-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.kozossegi-link:hover {
    opacity: 0.55;
    transform: scale(0.9);
}

.instagram-ikon {
    width: 15px;
    height: 15px;
    border: 1.8px solid currentColor;
    border-radius: 4px;
    position: relative;
}

.instagram-ikon::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 5px;
    height: 5px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.instagram-ikon::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 2px;
    height: 2px;
    background: currentColor;
    border-radius: 50%;
}

.oldal-tartalom {
    position: relative;
    z-index: 3;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(90px, 14vh, 145px) clamp(45px, 8vw, 140px) 46px clamp(55px, 8vw, 135px);
}

.fo-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
}

.menu-link {
    position: relative;
    display: block;
    color: #ffffff;
    font-family: "Anton", sans-serif;
    font-size: clamp(68px, 7.4vw, 135px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.45s cubic-bezier(.2, .7, .2, 1), transform 0.35s cubic-bezier(.2, .7, .2, 1), opacity 0.45s ease;
}

.fo-menu:hover .menu-link {
    color: rgba(255, 255, 255, 0.105);
}

.fo-menu:hover .menu-link:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 3px;
    background: #ffffff;
    transition: width 0.4s cubic-bezier(.2, .7, .2, 1);
}

.menu-link:hover::after {
    width: 100%;
}

.also-vezerlok {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.also-gomb {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 23px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.also-gomb:hover {
    color: #090616;
    background: #ffffff;
    transform: scale(0.95);
}

.nyelv-gomb {
    min-width: 78px;
}

.nyil {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.gomb-ikon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    transition: transform 0.22s ease;
}

.also-gomb:hover .gomb-ikon,
.felso-gomb:hover .gomb-ikon,
.munkaink-kapcsolat-gomb:hover .gomb-ikon,
.vissza-gomb:hover .gomb-ikon,
.kuldes-gomb:hover .gomb-ikon {
    transform: translate(3px, -3px);
}

.fo-oldal.aktiv .oldalsav {
    animation: oldalsavBejon 0.8s ease 0.15s both;
}

.fo-oldal.aktiv .menu-link {
    animation: menuPontBejon 0.8s cubic-bezier(.2, .75, .2, 1) both;
}

.fo-oldal.aktiv .menu-link:nth-child(1) {
    animation-delay: 0.22s;
}

.fo-oldal.aktiv .menu-link:nth-child(2) {
    animation-delay: 0.29s;
}

.fo-oldal.aktiv .menu-link:nth-child(3) {
    animation-delay: 0.36s;
}

.fo-oldal.aktiv .menu-link:nth-child(4) {
    animation-delay: 0.43s;
}

.fo-oldal.aktiv .also-vezerlok {
    animation: alsoVezerlokBejon 0.75s ease 0.55s both;
}

@keyframes antFeliratMegjelenes {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes antFeliratFeltoltes {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes kezdjukGombMegjelenes {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes oldalsavBejon {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes menuPontBejon {
    from {
        opacity: 0;
        transform: translateY(65px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alsoVezerlokBejon {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    :root {
        --oldalsav-szelesseg: 65px;
    }

    .oldalsav-logo {
        font-size: 15px;
    }

    .oldal-tartalom {
        padding: 110px 30px 35px 45px;
    }

    .menu-link {
        font-size: clamp(54px, 10.5vw, 92px);
        line-height: 1.06;
    }

}

@media (max-width: 620px) {
    :root {
        --oldalsav-szelesseg: 0px;
    }

    .fo-oldal {
        display: block;
    }

    .oldalsav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 22px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .oldalsav-logo {
        margin-top: 0;
        font-size: 14px;
    }

    .menu-gomb {
        position: static;
        transform: none;
    }

    .kozossegi-linkek {
        display: none;
    }

    .oldal-tartalom {
        min-height: 100svh;
        padding: 105px 18px 26px;
    }

    .fo-menu {
        gap: 6px;
        width: 100%;
    }

    .menu-link {
        max-width: 100%;
        font-size: clamp(42px, 13vw, 70px);
        line-height: 1.08;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .fo-menu:hover .menu-link:hover {
        transform: translateX(4px);
    }

    .also-vezerlok {
        flex-wrap: wrap;
        gap: 10px;
    }

    .also-gomb {
        height: 42px;
        max-width: 100%;
        padding: 0 16px;
        font-size: 12px;
    }

}

@media (max-width: 380px) {
    .ant-bemutatja {
        font-size: 42px;
        white-space: normal;
    }

    .oldalsav {
        height: 64px;
        padding: 0 16px;
    }

    .oldal-tartalom {
        padding-top: 96px;
    }

    .menu-link {
        font-size: clamp(36px, 12.5vw, 54px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}
