:root{
    --primary:#C9A227;
    --secondary:#E6C65C;
    --dark:#071A35;
    --white:#fff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

#header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,.75);
    transition:.4s;
    border-bottom:1px solid rgba(255,255,255,.25);
}

#header.hero-active{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-100%);
}

#header::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(
        90deg,
        #C9A227,
        #E6C65C,
        #F1D98A,
        #C9A227
    );
    background-size:300%;
    animation:gradientMove 6s linear infinite;
}

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:95px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
}

.logo img{
    width:125px;
}

.logo-text h2{
    font-size:22px;
    font-weight:700;
    color:var(--dark);
}

.logo-text span{
    font-size:13px;
    letter-spacing:2px;
    color:#666;
    text-transform:uppercase;
}

nav{
    display:flex;
    align-items:center;
}

nav ul{
    display:flex;
    gap:45px;
    list-style:none;
}

nav ul li a{
    position:relative;
    display:block;
    text-decoration:none;
    font-weight:600;
    color:#333;
    transition:.3s;
    padding:10px 0;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:2px;
    background:var(--primary);
    transform:translateX(-50%);
    transition:.35s;
}

nav ul li a:hover{
    color:var(--primary);
}

nav ul li a:hover::after{
    width:100%;
}

.active{
    color:var(--primary);
}

.active::after{
    width:100%;
}

.btn-header{
    padding:15px 35px;
    background:linear-gradient(
        135deg,
        #C9A227,
        #E6C65C
    );
    border-radius:50px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    overflow:hidden;
    position:relative;
    transition:.35s;
    box-shadow:0 15px 35px rgba(201,162,39,.3);
}

.btn-header:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(201,162,39,.4);
}

.btn-header::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:70%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );
    transform:skewX(-25deg);
    transition:.8s;
}

.btn-header:hover::before{
    left:170%;
}

.menu-toggle{
    display:none;
    width:50px;
    height:50px;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
    z-index:1001;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:var(--dark);
    border-radius:20px;
    transition:.35s;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

.header-scrolled{
    background:rgba(255,255,255,.95);
    box-shadow:0 10px 40px rgba(0,0,0,.08);
}

.header-scrolled .container{
    height:75px;
}

@media(max-width:1200px){

    .container{
        height:90px;
    }

    .menu-toggle{
        display:flex;
    }

    .btn-header{
        display:none;
    }

    nav{
        position:fixed;
        top:95px;
        right:-100%;
        width:320px;
        height:calc(100vh - 95px);
        padding:40px 30px;
        background:#fff;
        box-shadow:-20px 0 50px rgba(0,0,0,.08);
        transition:.4s;
        overflow-y:auto;
        z-index:1000;
    }

    nav::before{
        content:"";
        position:absolute;
        inset:0;
        background:url("../img/nav-bg.png") center center / cover no-repeat;
        opacity:.08;
        z-index:-1;
    }

    nav > *{
        position:relative;
        z-index:1;
    }

    .header-scrolled nav{
        top:75px;
        height:calc(100vh - 75px);
    }

    nav.active{
        right:0;
    }

    nav ul{
        flex-direction:column;
        gap:12px;
    }

    nav ul li{
        width:100%;
    }

    nav ul li a{
        display:block;
        padding:18px 20px;
        border-radius:14px;
    }

    nav ul li a::after{
        display:none;
    }

    nav ul li a:hover{
        background:#fbf7e8;
        color:var(--primary);
    }

    body.menu-open{
        overflow:hidden;
    }
}

@media(max-width:768px){

    .container{
        height:80px;
        width:94%;
    }

    .logo img{
        width:105px;
    }

    .logo-text h2{
        font-size:18px;
    }

    .logo-text span{
        font-size:11px;
    }

    nav{
        top:80px;
        width:100%;
        height:calc(100vh - 80px);
        padding:30px 20px;
    }

    .header-scrolled nav{
        top:70px;
        height:calc(100vh - 70px);
    }
}

@media(max-width:480px){

    .container{
        width:92%;
    }

    .logo img{
        width:90px;
    }

    .logo-text h2{
        font-size:16px;
    }

    .logo-text span{
        font-size:9px;
        letter-spacing:1.5px;
    }

    .menu-toggle{
        width:45px;
        height:45px;
    }
}

@keyframes gradientMove{
    0%{
        background-position:0;
    }

    100%{
        background-position:300%;
    }
}