:root {
  --copper: #c87533;
  --copper-soft: #e09a5a;
  --bg-dark: #050608;
  --bg-elevated: #101218;
  --text-main: #f5f5f5;
  --text-muted: #b3b3b3;
  --accent: #ffb347;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --radius-pill: 999px;
  --radius-lg: 18px;
  --transition-fast: 0.25s ease;
  --transition-med: 0.4s ease;
}

/* NAVBAR WRAPPER */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 8, 0.92);
  border-bottom: 1px solid rgba(200, 117, 51, 0.35);
  box-shadow: var(--shadow-soft);
}

/* NAVBAR */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar-logo img {
  height: 64px; /* LOGO PIÙ GRANDE */
  filter: drop-shadow(0 0 12px rgba(200, 117, 51, 0.7));
}

/* LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(200, 117, 51, 0.2);
}

.nav-cta {
  border: 1px solid var(--copper-soft);
  background: linear-gradient(120deg, #ffb347, #c87533);
  color: #1a0f08 !important;
  font-weight: 600;
  box-shadow: 0 0 22px rgba(200, 117, 51, 0.55);
}

/* HAMBURGER */
.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(200, 117, 51, 0.6);
  background: rgba(5, 6, 8, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.hamburger-line {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--copper-soft);
  border-radius: 999px;
  transition: 0.4s;
}

.hamburger-line:nth-child(1) { top: 13px; }
.hamburger-line:nth-child(2) { top: 18px; }
.hamburger-line:nth-child(3) { top: 23px; }

.hamburger.open .hamburger-line:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-line:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

/* MOBILE */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 64px 1rem auto 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(5, 6, 8, 0.98);
    border: 1px solid rgba(200, 117, 51, 0.4);
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.4s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}
