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

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  /* background: #000;  rimuovila */
  overflow-x: hidden;
  position: relative;
}

body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image:url("SFONDO-SFOCATO-1.png") !important;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:-1;
}

/* ============ HERO ============ */
.hero{
  position: relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  text-align:center;
  min-height:100vh;
  padding:40px 5vw 100px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.20);  /* ← da 0.40 a 0.20 */
  z-index:1;
}

@media (max-width: 500px){
  .hero { padding-bottom:120px; }
}

/* safari fallback: disattiva background attachment */
@supports (-webkit-touch-callout: none) {
  body::before{
    background-attachment:scroll !important;
  }
}

/* ============ HEADER ============ */
.hero-header{
  position:fixed;
  inset:0 auto auto 0;
  width:100%;
  padding:15px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:3;
  background:rgba(0,0,0,0.25);
  backdrop-filter:blur(8px);
  border-radius:0 0 16px 16px;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 4px 10px rgba(0,0,0,.3);
}

.site-title{
  font-size: clamp(1.5rem,4vw,2.5rem);
  text-transform:uppercase;
  letter-spacing:2px;
  margin:0;
}

.social-links{
  display:flex;
  align-items:center;
  gap:15px;
}

.social-links a{
  width:28px;
  height:28px;
  opacity:.9;
  transition:.2s ease;
}
.social-links a:hover{ transform:scale(1.1); opacity:1; }
.social-links img{ width:150%; display:block; filter:brightness(0) invert(1); }

/* ============ BIO ============ */
.bio-container{
  display:flex;
  flex-direction:column;
  gap:60px;
  width:100%;
  padding-top:100px;

  /* aggiunte per far stare sopra overlay */
  position: relative;
  z-index: 2;
}

.bio-block{ display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.bio-block.reverse{ flex-direction:row-reverse; }

/* ---------- BIO: bianco puro e senza "sporco" ---------- */
.bio-text,
.bio-text h2,
.bio-text p {
  color:#ffffff !important;
  text-shadow:none !important;
}


.bio-image{ flex:1 1 300px; position:relative; }
.bio-image img{
  width:100%;
  max-width:400px;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,0.5);
  transition:transform .3s ease;
}


.bio-image img:hover{ transform:scale(1.05); }

.link-label{
  position:absolute; top:-28px; left:50%; transform:translateX(-50%);
  font-size:.9rem; pointer-events:none; transition:.3s;
}

/* responsive */
@media(max-width:900px){
  .bio-block{ flex-direction:column !important; gap:20px; }
  .bio-image img{ max-width:100%; }
  .bio-text h2{ font-size:1.5rem; }
  .bio-text p{ font-size:.95rem; }
}

/* ==========================
   MINI POPUP PRIVACY
========================== */
.privacy-mini {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: none;
}


.privacy-mini.show {
  display: block;
}

.privacy-box-mini {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 18px;
  max-width: 420px;
  width: 90vw;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.privacy-box-mini p {
  margin: 0;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}

.privacy-box-mini a {
  color: #1db954;
  text-decoration: none;
  font-weight: 500;
}

.privacy-box-mini a:hover {
  text-decoration: underline;
}

.close-mini {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.close-mini:hover {
  opacity: 1;
}


