

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #141414;
    border-bottom-color: #444;
    border-bottom-style: solid;
    border-bottom-width: 0.1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* ====== LOGO ====== */
.logo {
    
}

/* ====== DESKTOP MENY ====== */
.desktop .menu {
    display: flex;
    gap: 20px;
}

ul.menu li {
	list-style: none;
}

.menu a {
    text-decoration: none;
    color: #ff5f6f;
    transition: color 0.3s ease-in-out;
    
    padding: 10px 15px;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
}

.menu a:hover, .menu a.active {
    color: #00b1b4;
}

/* ====== HAMBURGARMENY ====== */
.hamburger {
    display: none; /* Dölj i desktop */
}

/* ====== MOBILMENY ====== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #2e2e2e;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 49;
}

/* Visa mobilmenyn när aktiv */
.mobile-menu.active {
    left: 0;
}

/* Se till att menylänkar alltid syns */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    margin-top: 80px;
}

.mobile-menu li {
    width: 100%;
    border-bottom: 1px solid #0d0d0d;
    display: inline-block;
}

.mobile-menu a {
    font-size: 18px;
    text-decoration: none;
    color: #f1f1f1;
    display: block;
    padding: 15px 0;
    margin-left: 20px;
}

/* Ta bort sista border */
.mobile-menu li:last-child {
    border-bottom: none;
}

/* ====== RESPONSIV DESIGN ====== */
@media (max-width: 768px) {
  .mobil .menu   {
        visibility: visible; /* Istället för display: none */
        height: 0;
        display: block;
       
    }

    .hamburger {
        display: flex;
        width: 40px;
        height: 40px;
        background: #151515;
        color: white;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 5px;
        font-size: 40px;
        position: fixed;
        top: 15px;
        left: 20px;
        z-index: 60;
        transition: all 0.3s ease-in-out;
    }
    
  .desktop .menu   {display: none;}
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    /* float: right; */
    position: absolute;
    right: auto;
}
   
    

    
}
