* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
}

body {
    background: #000;
}

/* ===========================================
   LANGUAGE
=========================================== */

.language-switcher{
    position:absolute;
    top:40px;
    right:50px;
    z-index:100;
}

.language-switcher form{
    display:flex;
    gap:14px;
}

.language-switcher button{
    background:none;
    border:none;
    color:white;
    font-size:15px;
    font-weight:500;
    letter-spacing:2px;
    cursor:pointer;
    transition:.3s;
}

.language-switcher button:hover{
    color:#CA8E46;
}

.language-switcher button.active{
    color:#CA8E46;
}

/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

/* =========================
   HOME
========================= */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 3;
}

.navigation-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.navigation-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

/* =========================
   CARDS
========================= */

.navigation-card {
    flex-shrink: 0;
    width: 480px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.03);
    font-size: 48px;
    font-weight: 300;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navigation-card span {
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

.navigation-card:hover {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
}

.logo {
    position: fixed;
    transform: translateX(-50%);
    top: 30px;
    left: 50vw;
    width: 250px;
    z-index: 20;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   MOBILE
========================= */


@media (max-width: 900px) {

    html,
    body {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .background {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    /* =========================
       LOGO
    ========================= */

    .logo {
        position: absolute !important;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        width: 105px;
        z-index: 20;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    /* =========================
       LANGUAGE
    ========================= */

    .language-switcher {
        top: 18px;
        right: 18px;
    }

    .language-switcher form {
        gap: 8px;
    }

    .language-switcher button {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* =========================
       HOME
    ========================= */

    .home {
        width: 100%;
        height: 100vh;
        min-height: 0;
        padding-top: 75px;
        display: flex;
        align-items: stretch;
    }

    .navigation-wrapper {
        width: 100%;
        height: calc(100vh - 75px);
        overflow: hidden;
        display: flex;
    }

    .navigation-track {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        transform: none !important;
    }

    /* =========================
       CARDS
    ========================= */

    .navigation-card {
        flex: 1 1 0;
        width: 100%;
        height: auto;
        min-height: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: clamp(18px, 5vw, 26px);
        font-weight: 300;
        letter-spacing: 2px;

        background: rgba(255,255,255,0.04);
        border-bottom: 1px solid rgba(255,255,255,0.08);

        backdrop-filter: none;
    }

    .navigation-card span {
        text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    }

    .navigation-card:hover {
        background: rgba(0,0,0,0.25);
        backdrop-filter: none;
    }
}

@media (max-width: 480px) {

    .logo {
        width: 90px;
        top: 14px;
    }

    .language-switcher {
        top: 14px;
        right: 14px;
    }

    .language-switcher button {
        font-size: 10px;
    }

    .home {
        padding-top: 62px;
    }

    .navigation-wrapper {
        height: calc(100vh - 62px);
    }

    .navigation-card {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}