/* NAVBAR GLOBALE */

/* sticky in alto */
.site-header {
  position: sticky;
  top: 0;                        /* agganciata al bordo viewport */
  z-index: 20;
  padding-top: 0;                /* niente banda beige sopra */
  background-color: var(--bg-cream);
}

/* distacco visivo dal bordo superiore gestito qui */
.nav-shell {
  position: relative;
  margin-top: 0.5rem;           /* <-- gap tra top e pill quando è sticky */
  padding-top: 3rem;            /* spazio sopra pill+logo */
  margin-bottom: -3.2rem;       /* fa scendere il logo dentro l'hero */
}

/* nav con due blocchi: sinistra + destra */
.nav-bar {
  background-color: #202020;
  border-radius: 62px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 3rem;
}

/* gruppi di link */
/* gruppi di link */
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

/* stile link navbar base */
.nav-links a {
  font-family: "Citrus Gothic Solid", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.45rem;
  color: var(--text-light);
  line-height: 1;

  display: inline-flex;
  align-items: center;

  padding-bottom: 1.8rem;
  padding-top: 1.8rem;
  padding-inline: 1.5rem;  /* poco padding verticale = pill stretta */
  border-radius: 99px;
  background-color: transparent;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.12s ease;
}

/* hover leggero sui non-attivi */
.nav-links a:not(.is-active):hover {
  background-color: rgba(255, 248, 236, 0.12);
}

/* stato attivo -> pill invertita */
.nav-links a.is-active {
  background-color: var(--bg-cream);
  color: var(--accent-black);
}

/* feedback click */
.nav-links a:active {
  transform: translateY(1px);
}



/* LOGO CENTRALE CHE SOVRAPPONE NAV + HERO */

.nav-logo {
  position: absolute;
  left: 50%;
  top: 5%;                         /* rispetto al nav-shell */
  transform: translate(-50%, 10%); /* centrato sulla pill, spinto verso l'hero */
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.nav-logo-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1%;
  padding-right: 4%;
}

/* BOTTONI GENERICI */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--bg-cream);
  color: var(--accent-black);
}

/* FOOTER GLOBALE – NORMALE, NON FIXED */

.site-footer {
  margin-top: 3rem;
  padding: 0;
  position: static; /* footer in flow normale */
}

.footer-inner {
  background-color: #202020;
  color: var(--text-light);
  border-radius: 60px 60px 0 0;
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: 2.1fr 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-col {
  font-size: 0.9rem;
}

.footer-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.footer-text {
  margin: 0 0 0.4rem;
}

.footer-col-center {
  text-align: center;
}

.footer-social {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-col-right {
  display: flex;
  justify-content: flex-end;
}

.footer-logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* RESPONSIVE COMPONENTS */

@media (max-width: 900px) {
  .nav-bar {
    padding-inline: 1.5rem;
  }

  .nav-links {
    gap: 1.4rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 40px 40px 0 0;
  }

  .footer-col-right {
    justify-content: center;
  }
}
