/* ==========================================
   HEADER
========================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:rgba(15,23,42,.90);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

/* ==========================================
   NAVBAR
========================================== */

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

/* ==========================================
   LOGO
========================================== */

.logo{

    font-family:var(--font-heading);

    font-size:1.8rem;

    font-weight:800;

    color:white;

    transition:.3s;

}

.logo span{

    color:var(--primary);

}

.logo:hover{

    transform:scale(1.05);

}

/* ==========================================
   NAVIGATION
========================================== */

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links li{

    list-style:none;

}

.nav-links a{

    position:relative;

    font-size:.95rem;

    font-weight:500;

    color:var(--text);

    transition:.3s;

}

.nav-links a:hover{

    color:var(--primary);

}

/* Animated underline */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

/* ==========================================
   HEADER ACTIONS
========================================== */

.header-actions{

    display:flex;

    align-items:center;

    gap:15px;

}

/* ==========================================
   THEME BUTTON
========================================== */

.theme-toggle{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:1.1rem;

    background:var(--surface);

    color:var(--text);

    transition:.3s;

}

.theme-toggle:hover{

    background:var(--primary);

    color:white;

    transform:rotate(180deg);

}

/* ==========================================
   HAMBURGER
========================================== */

.hamburger{

    display:none;

    flex-direction:column;

    justify-content:center;

    gap:5px;

    background:none;

    border:none;

    cursor:pointer;

}

.hamburger span{

    width:28px;

    height:3px;

    background:white;

    border-radius:20px;

    transition:.3s;

}

/* ==========================================
   ACTIVE LINK
========================================== */

.nav-links a.active{

    color:var(--primary);

}

/* ==========================================
   SCROLLED HEADER
========================================== */

.header.scrolled{

    background:#0F172A;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

/* ==========================================
   SKIP LINK
========================================== */

.skip-link{

    position:absolute;

    top:-100px;

    left:20px;

    background:var(--primary);

    color:white;

    padding:12px 18px;

    border-radius:8px;

    z-index:9999;

    transition:.3s;

}

.skip-link:focus{

    top:20px;

}