:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --accent-color: #cba135;
  --light-accent: #e6c46a;
  --section-padding: 4rem 1rem;
  --max-width: 900px;

  --font-content: 'Cormorant Garamond', serif;
  --font-ui: 'Montserrat', sans-serif;
}

/* ====== RESET BASE ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  padding-top: 78px;
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-content);
  line-height: 1.6;
  min-height: 100vh;
}

/* Link generali */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Titoli e testo contenuto */
h1, h2, h3, h4 {
  font-family: var(--font-content);
  font-weight: 600;
  margin: 0 0 1rem 0;
}

h2 {
  font-size: 1.8rem;
  color: var(--accent-color);
  text-align: center;
}

/* ======= PULSANTI STANDARD SITO ======= */
.btn,
.concert-button,
.concert-toggle,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* centratura orizzontale */
  gap: 0.6em;
  padding: 0.28em 0.5em; /* più padding orizzontale */
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  outline: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

.btn:hover,
.concert-button:hover,
.concert-toggle:hover,
.btn-link:hover,
.btn.active,
.concert-button.active,
.concert-toggle.active,
.btn-link.active {
  background: rgba(203, 161, 53, 0.6); /* leggermente più visibile */
  color: #181818; /* testo nero scuro */
  box-shadow: none; /* niente glow */
}

/* Focus */
.btn:focus,
.concert-button:focus,
.concert-toggle:focus,
.btn-link:focus {
  outline: 2px solid var(--light-accent);
  outline-offset: 2px;
}

/* Icone nei pulsanti */
.btn img.icon,
.concert-button img.icon,
.concert-toggle img.icon,
.btn-link img.icon {
  width: 1.6em;
  height: 1.6em;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: none; /* rimuove effetti al passaggio */
  margin: 0; /* evita spostamenti */
}

/* Hover icone - rimuoviamo glow o filtri */
.btn:hover img.icon,
.concert-button:hover img.icon,
.concert-toggle:hover img.icon,
.btn-link:hover img.icon {
  filter: none !important;
  /* Nota: usa le due versioni SVG (oro/nero) gestite da JS o da markup */
}

/* Navbar base */
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 1rem 2rem;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.nav-left .logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-color);
  text-decoration: none;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.menu a {
  color: #fff;
  font-weight: 300;
  transition: color 0.2s;
  font-family: var(--font-ui);
}

.menu a:hover,
.menu a.active {
  color: var(--accent-color);
  font-weight: 600;
}

/* Nav right: language switch & hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switch */
.lang-switch button {
  background: none;
  border: none;
  color: var(--accent-color);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-switch button:hover:not([aria-checked="true"]) {
  color: var(--light-accent);
}

.lang-switch button[aria-checked="true"] {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  cursor: default;
  pointer-events: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
  display: block;
}

/* Responsive */
@media (max-width: 767px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #000;
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .menu.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .nav-center {
    justify-content: flex-end;
  }
  .nav-right {
    gap: 1rem;
  }
  .lang-switch {
    margin-left: auto;
  }
}

/* Footer bottom fisso */
footer.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background-color: #000;
  color: var(--accent-color);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.6rem 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  z-index: 999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ====== BASE CONTAINER/SECTION ====== */
section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: auto;
}

/* ====== LINGUE ====== */
.lang-it, .lang-en { display: none; }
.lang-it.visible, .lang-en.visible { display: inline; }

/* ====== UTILITY ====== */
.hidden { display: none !important; }
.visible { display: block !important; }

/* ====== LINKTREE E CONTATTI SPECIFICI ====== */

#contatti-linktree {
  max-width: 400px;
  margin: 2rem auto;
  color: var(--accent-color);
  font-family: var(--font-content);
  text-align: center;
}

.linktree-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  margin-bottom: 1rem;
  object-fit: cover;
}

.linktree-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: var(--accent-color);
}

.linktree-role {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.8rem;
  color: #d4b662;
}

.section-evidenza {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-evidenza h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.3rem;
}

.section-evidenza .link-block a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.3rem 0;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.section-evidenza .link-block a:hover {
  text-decoration: underline;
  color: var(--light-accent);
}

.linktree-links,
.section-extra-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.linktree-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  font-weight: 600;
  border: 1.5px solid var(--accent-color);
  border-radius: 12px;
  color: var(--accent-color);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.linktree-btn:hover {
  background-color: var(--accent-color);
  color: #181818;
  box-shadow: none;
}

.linktree-btn img.icon {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: none !important;
  transition: none !important;
  margin: 0; /* elimina spostamenti */
}

.linktree-btn:hover img.icon {
  filter: none !important;
}

/* Sezione link extra */
.section-extra-links .linktree-btn {
  color: #cbb970cc;
  border-color: #cbb970cc;
  background: transparent;
}

.section-extra-links .linktree-btn:hover {
  background: rgba(203, 161, 53, 0.3);
  color: #181818;
  box-shadow: none;
}

/* Layout interno link-block (icona + testo) */
.link-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1em;
}

/* Contenitore thumbnail video */
.thumbnail-container {
  flex-shrink: 0;
  width: 120px;
  height: 67px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

/* Thumbnail video */
.youtube-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive (se serve) */
/*
@media (max-width: 600px) {
  #contatti-linktree {
    max-width: 100%;
    margin: 1rem;
  }
}
*/