﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: 'Poppins', sans-serif;
}

/* --- HEADER & LOGO --- */
#logo {
 width: 100%;
 display: block;
 background: #fff;
 line-height: 0;
}

 #logo img {
  width: 100%;
  height: auto;
  display: block;
 }

/* --- NAVBAR DESKTOP --- */
nav {
 background: #ffffff;
 width: 100%;
 height: 65px;
 line-height: 65px;
 position: fixed; /* navbar fissa in alto */
 top: 0;
 left: 0;
 z-index: 9999;
 box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* opzionale */
}

 nav .wrapper {
  position: relative;
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
 }

.wrapper .nav-links {
 display: flex;
 justify-content: space-around;
}

.nav-links li {
 list-style: none;
}

 .nav-links li a {
  color: #000; /* link nero */
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 5px;
  transition: all 0.3s ease;
 }

  .nav-links li a:hover,
  .nav-links li a.active {
   color: #f7941e; /* hover arancio brand */
  }

/* Hamburger desktop nascosto */
.wrapper .btn.menu-btn {
 display: none;
 font-size: 30px;
 cursor: pointer;
 color: #000;
}

/* --- MOBILE MENU --- */
@media screen and (max-width: 970px) {

 nav {
  height: 50px !important;
  line-height: 50px !important;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
 }

  nav .wrapper {
   justify-content: flex-end;
   height: 50px;
   padding: 0 20px;
  }

 .wrapper .btn.menu-btn {
  display: block !important;
  position: relative;
  top: 0;
 }

 .wrapper .nav-links {
  display: block !important;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 100%;
  max-width: 350px;
  background: #ffffff;
  padding: 50px 10px;
  z-index: 1000;
  transition: all 0.3s ease;
 }

 #menu-btn:checked ~ .nav-links {
  left: 0 !important;
 }

 /* Mobile link colori */
 .nav-links li a {
  color: #000;
 }

  .nav-links li a:hover {
   color: #f7941e;
  }
}
