/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    transition: .3s ease;
}

.navbar.scrolled {
    position: fixed;
    background: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,.15);
}

.nav-container{
    max-width:1300px;
    height:80px;
    margin:auto;
    padding:0 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* =========================
   LOGO
========================= */

.logo img{
    height:10rem;
}

/* =========================
   MENU
========================= */

.nav-menu ul{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-menu a{
    text-decoration:none;
    color:#fff;
    font-size:24px;
    font-weight:600;
    transition:.3s;
}

.nav-menu a:hover{
    color:#FEC90E;
}

/* =========================
   LANGUAGE
========================= */

.language-box{
    position:relative;
}

.lang-btn{
    width:45px;
    height:45px;
    border:none;
    background:transparent;
    cursor:pointer;
}

.lang-btn img{
    width:35px;
    height:35px;
    border-radius:50%;
    object-fit:cover;
}

.lang-dropdown{
    position:absolute;
    top:55px;
    right:0;
    display:none;
    flex-direction:column;
    gap:8px;
    background:rgba(0,0,0,.85);
    backdrop-filter:blur(10px);
    padding:10px;
    border-radius:12px;
}

.language-box:hover .lang-dropdown{
    display:flex;
}

.lang-dropdown img{
    width:35px;
    height:35px;
    border-radius:50%;
    transition:.3s;
}

.lang-dropdown img:hover{
    transform:scale(1.1);
}

.lang-dropdown{
    display:none;
}

.lang-dropdown.show{
    display:flex;
}

/* =========================
   HAMBURGER
========================= */

.menu-toggle{
    display:none;
    width:45px;
    height:45px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    transition:.3s;
    z-index:1002;
}

.menu-toggle span{
    width:22px;
    height:2px;
    background:#fff;
    transition:.3s;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* =========================
   TABLET
========================= */

@media (max-width:1024px){

    .nav-container{
        padding:0 20px;
    }

    .logo img{
        height:7rem;
    }

    .nav-menu ul{
        gap:20px;
    }

    .nav-menu a{
        font-size:18px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .nav-container{
        height:80px;
        padding:0 20px;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .logo img{
        height:65px;
    }

    .menu-toggle{
        display:flex;
    }

    .language-box{
        display:block;
        position:absolute;
        right:80px;
        top:20px;
        z-index:1002;
    }

    .language-box select{
        width:60px;
        padding:6px;
        font-size:14px;
    }

    .nav-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:280px;
        height:100vh;
        background:rgba(18,18,18,.96);
        backdrop-filter:blur(20px);
        transition:.35s ease;
        display:flex;
        justify-content:center;
        align-items:center;
        box-shadow:-10px 0 30px rgba(0,0,0,.3);
        z-index:1001;
    }

    .nav-menu.active{
        right:0;
    }

    .nav-menu ul{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:35px;
    }

    .nav-menu a{
        color:#fff;
        font-size:20px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width:480px){

    .nav-container{
        padding:0 15px;
    }

    .logo img{
        height:55px;
    }

    .nav-menu{
        width:240px;
    }

    .nav-menu a{
        font-size:18px;
    }

}