@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');


header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

/* riprende stili generali dal style.css */
body{
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.section{
  padding: 6rem 10%;
  max-width: 900px;
  margin: 4rem auto;
  text-align: left;
  height: auto;
}

h1, h2{
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.section p, .section li{
  color: rgba(0,0,0,0.85); /* contrasto elevato su sfondo chiaro */
  margin-bottom: 1rem;
  line-height: 1.6;
}

section ul{
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

a{
  color: var(--accent);
  text-decoration: underline;
}

a:hover{ color: darken(var(--accent), 10%); }

/* navbar specific (small override) */
.navbar{
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
}

/* garantire che la sezione principale non finisca sotto la navbar */
body > .section{ margin-top: 6rem; }

/* Footer minimale per la pagina privacy */
footer{
  text-align: center;
  padding: 2rem 5%;
  color: rgba(0,0,0,0.6);
}

/* Responsive tweaks */
@media (max-width: 768px){
  .section{ padding: 3.5rem 6%; }
  .section p, .section li{ font-size: 0.95rem; }
  .section{ margin-top: 5.5rem; }
}
    .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    right: 5%;
    border-radius: 8px;
    padding: 1rem;
    }

    .nav-links.active {
    display: flex;
    }

    .hamburger {
    display: flex;
    }

/* fallback: if CSS env functions not available, keep link color stable */
@supports not (color: color(var(--accent))){
  a{ color: var(--accent); }
}