/* =====================
VARIABLES
===================== */
:root {
  --muzak-gold: rgb(243,181,63);
  --bg-dark: #0e0e0e;
  --box-dark: #2b2b2b;
}

/* =====================
RESET
===================== */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: white;
  overflow-x: hidden;
}

/* =====================
MENU
===================== */
.menu-icon {
  position: fixed;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: var(--muzak-gold);
  cursor: pointer;
  z-index: 2000;
}

.side-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 280px;
  padding: 80px 32px;
  background: rgba(0,0,0,0.96);
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1500;
}

.side-menu.open { transform: translateX(0); }

.side-menu a {
  color: var(--muzak-gold);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 1px;
  opacity: 0.85;
}

.side-menu a:hover { opacity: 1; }

/* =====================
HERO
===================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-logo {
  width: 420px;
  max-width: 90vw;
  opacity: 0;
  transform: scale(0.96);
  animation: logoIntro 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-tagline {
  margin-top: 24px;
  color: var(--muzak-gold);
  letter-spacing: 2px;
}

/* =====================
LOGO INTRO ANIMATION
===================== */
@keyframes logoIntro {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =====================
HOME GRID
===================== */
.home-content {
  padding: 120px 20px 160px;
}

.categories {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.category-box {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--box-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-box:hover { transform: scale(1.06); }

/* =====================
HOME — MUZAK JAM
===================== */
.category-box.muzak-jam {
  background-image: url("assets/Muzak-jam.png");
  background-size: cover;
  background-position: center;
}

.category-box.muzak-jam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.category-box.muzak-jam .category-label {
  position: relative;
  z-index: 1;
}

/* =====================
SHOP — COMING SOON
===================== */
.category-box.shop {
  background: #1f1f1f;
}

.shop-label { opacity: 0.25; }

.coming-soon {
  position: absolute;
  text-align: center;
  font-size: 42px;
  color: var(--muzak-gold);
  letter-spacing: 3px;
}

/* =====================
MUZAK JAM GRID
===================== */
.page-title {
  text-align: center;
  margin: 140px 0 40px;  /* prima era 80px */
  font-size: 42px;
  letter-spacing: 4px;
  color: var(--muzak-gold);
}


.jam-grid {
  max-width: 1200px;
  margin: 0 auto 160px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.jam-box {
  aspect-ratio: 1 / 1;
  background: var(--box-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 22px;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease;
}

.jam-box:hover {
  transform: scale(1.06);
  background: #3a3a3a;
}

/* =====================
JAM VOL.1 / VOL.2
===================== */
.jam-box.jam-vol-1 {
  background-image: url("../assets/Copertina_tapeout_01.png");
  background-size: cover;
  background-position: center;
}

.jam-box.jam-vol-2 {
  background-image: url("../assets/Copertina_girls_01.png");
  background-size: cover;
  background-position: center;
}

.jam-box.jam-vol-1::before,
.jam-box.jam-vol-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  border-radius: 14px;
}

/* =====================
RESPONSIVE
===================== */
@media (max-width: 1100px) {
  .jam-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .categories { grid-template-columns: 1fr; }
  .hero-logo { width: 300px; }
}

@media (max-width: 600px) {
  .jam-grid { grid-template-columns: 1fr; }
}

/* =====================
ABOUT PAGE
===================== */

.about-wrapper {
  max-width: 900px;
  margin: 10px auto 160px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-image {
  margin-bottom: 60px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.about-text {
  max-width: 720px;
  text-align: justify;
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

.about-contact {
  text-align: center;
  margin-top: 40px;
}

.about-contact a {
  color: var(--muzak-gold);
  text-decoration: none;
  letter-spacing: 1px;
}

.about-contact a:hover {
  opacity: 0.8;
}

.highlight {
  color: var(--muzak-gold);
  font-weight: 600; /* o 700 se li vuoi più forti */
}


/* =====================
BACK LINK
===================== */

.back-link {
  position: fixed;
  top: 28px;
  left: 24px;
  font-size: 22px;          /* stessa scala degli altri elementi UI */
  color: var(--muzak-gold); /* giallo Muzak */
  text-decoration: none;   /* niente sottolineatura */
  letter-spacing: 1px;
  z-index: 2000;
  opacity: 0.85;
}

.back-link:hover {
  opacity: 1;
}


/* =====================
ABOUT TITLE WITH LOGO
===================== */

.about-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.about-logo {
  height: 50px;
  width: auto;
}



/* =====================
PERSON BLOCKS
===================== */

.person-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 120px 0;
}

.person-block.reverse {
  flex-direction: row-reverse;
}

.person-image {
  flex: 1;
  min-height: 320px;
  background: var(--box-dark);
  border-radius: 8px;
}

.person-text {
  flex: 1;
  text-align: justify;
}

.person-text p {
  font-size: 17px;
  line-height: 1.7;
}

/* =====================
RESPONSIVE PERSON BLOCK
===================== */

@media (max-width: 900px) {

  .person-block,
  .person-block.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .person-image {
    width: 100%;
    min-height: 260px;
  }
}


/* =====================
TEAM SECTION CONTAINER
===================== */

.team-section {
  max-width: 1200px;     /* larghezza massima ordinata */
  margin: 0 auto 160px;  /* centro + spazio sotto */
  padding: 0 40px;       /* margine laterale interno */
}

@media (max-width: 900px) {
  .team-section {
    padding: 0 20px;
  }
}
