html {
  scrollbar-gutter: stable;
}
body {
  overflow-x: hidden;
}



body {
    margin: 0;
    background: #000;
    color: #fff;
    
  font-family: 'Urbanist', sans-serif;

}

body {
  cursor: url('icons/cursor-icon.png') 16 16, auto;
}


header {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 0 0;
  margin-top: 38px;
  position: relative;
  z-index: 998;
  border-bottom: none;
}



.header-top {
  background-color: #000;
  padding: 10px 0;
  text-align: center;
}


.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 10px;


}

.logo {
  height: 90px;
  transition: filter 0.3s ease;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
}




.navbar {
  width: 100%;
  background: rgba(0, 0, 0, 0); /* Stesso colore! */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 15px 0;
  display: flex;
  justify-content: center;
  border-top: none;
  border-bottom: none;
  position: relative;
  z-index: 997;
}



.navbar .menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 8px;
}

.menu a {
  position: relative;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}



.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
}
.menu li {
    position: relative;
}
.menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: bold;
}
.mega-dropdown {
  position: static;
}

.mega-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 60px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.4s ease,
    transform 0.4s ease;

  position: relative;
  background: rgba(51, 0, 0, 0.507); /* Bordeaux chiaro e trasparente */
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  z-index: 10;

  transform: translateY(-10px); /* per animazione dissolvenza */
}


@keyframes megaMove {
  0% { background-position: 0 0; }
  100% { background-position: -8000px -8000px; }
}

.mega-column, .mega-column h4, .mega-column a {
  position: relative;
  z-index: 1;
}


.mega-menu.show {
  opacity: 1;
  padding: 30px 0;
  max-height: 1000px;
  transform: translateY(0); /* torna in posizione con effetto fluido */
}



.mega-dropdown:hover ~ .mega-menu {
  display: flex;
}


.mega-column {
  display: flex;
  flex-direction: column;
}

.mega-column h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}

.mega-column a {
  color: #ccc;
  text-decoration: none;
  margin: 4px 0;
  font-size: 14px;
}

.mega-column a:hover {
  color: #fff;
}

.hero {
  text-align: center;
  padding: 30px 20px 0px 20px; /* meno spazio sotto */
}

.hero .btn {
    background: white;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
}
.section-title {
    text-align: center;
    margin: 40px 0 20px;
}
.product-grid, .lookbook-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.product-item, .lookbook-img {
    background: #111;
    padding: 10px;
    text-align: center;
}
.product-item img, .lookbook-img img {
    width: 200px;
    height: auto;
}
.contact-form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-form input, .contact-form textarea {
    padding: 10px;
    border: none;
}
.contact-form button {
    padding: 10px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border: none;
}
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(3, 3, 3, 0); /* 🔁 trasparente */
  backdrop-filter: blur(10px);          /* ✨ effetto vetro */
  -webkit-backdrop-filter: blur(10px);
  color: #ccc;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}


.top-bar-content {
  width: 100%;
  padding: 8px 0; /* 🔧 rimuove padding laterale */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left-image {
  padding-left: 20px; /* 🔧 spazio elegante controllato a sinistra */
}

.top-left-image img {
  height: 22px;
  max-width: 100%;
  display: block;
}

.top-right-links {
  padding-right: 20px; /* 🔧 spazio elegante controllato a destra */
}

.top-right-links a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.top-right-links a:hover {
  color: #fff;
}



.bg-animation {
  position: fixed;
  top: -100px;
  left: -100px;
  width: calc(100vw + 200px);
  height: calc(100vh + 200px);
  background-image: url('icons/mini-logos2.png');
  background-repeat: repeat;
  background-size: 140px;
  background-position: center;
  animation: drift 600s linear infinite;
  z-index: -1;
  opacity: 0.04;
}


@keyframes drift {
  0%   { background-position: -1000px -1000px; }
  100% { background-position: -11000px -11000px; }
}



.showcase {
  padding: 40px 20px 60px 20px;
}


.image-row {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.image-row img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}


#changing-word {
  transition: opacity 0.5s ease;
}
.fade-out {
  opacity: 0;
} 



.about-section {
  text-align: center;
  padding: 30px 15px;
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 24px;
  margin-top: 60px;
  margin-bottom: 10px; /* 👈 questo avvicina il titolo al paragrafo */
  color: #ec8888;
  
  letter-spacing: 1px;
}


.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #eeecec;
  margin-top: 10x;
}



/* COLLEZIONI - STILE BASE */

.collection-section {
  padding: 60px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.collection-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* glow rosso */
}

.products-grid,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.product-card {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: opacity 0.4s ease;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.2;
}

.product-card p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ccc;
  line-height: 1.4;
}

.product-card .price {
  font-size: 16px;
  color: #ff3333;
  font-weight: bold;
}




/* 🔧 Ottimizzazione mobile con menu orizzontale visibile */
/* 🔧 Ottimizzazione Mobile */
@media (max-width: 768px) {
  header {
    padding: 10px 0 0 0;
  }

  .logo {
    height: 70px;
    filter: drop-shadow(0 0 16px rgba(255, 30, 0, 0.7)); /* 🔴 Glow rosso */
  }

  .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .top-left-image {
    display: block;
  }

  .top-left-image img {
    height: 22px;
    max-width: 100%;
  }

  .top-right-links {
    display: flex;
    align-items: center;
  }

  .top-right-links a {
    display: none; /* Nasconde TUTTI */
  }

  .top-right-links a.accedi-only {
    display: inline-block; /* Mostra solo ACCEDI */
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    white-space: nowrap;
    overflow: visible;
  }

  .top-right-links a.accedi-only:hover {
    color: #fff;
  }

  .navbar .menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 8px 0;
  }

  .menu li a {
    font-size: 14px;
    padding: 8px 12px;
  }

@media (max-width: 768px) {


  .mega-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
    margin: 0;
    width: 100vw;
    background: rgba(51, 0, 0, 0.507);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
  }



.mega-menu.show {
  padding: 20px 0;
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0); /* 👈 torna fluido in posizione */
}




  .mega-column {
    flex: none;
    padding: 0 15px;
    text-align: center;
  }

  .mega-column h4 {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .mega-column a {
    display: block;
    font-size: 13px;
    margin: 3px 0;
    text-align: center;
  }

  .hero {
    padding-top: 5px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

.about-section {
  padding: 20px 15px 30px 15px; /* 👈 Avvicina al menu sopra */
}

.about-section h2 {
  font-size: 22px;
  margin-top: 20px; /* 👈 prima era 60px, ora molto più vicino */
  margin-bottom: 15px;
}

  .about-section p {
  font-size: 16px; /* 👈 leggermente più grande */
  line-height: 1.7; /* 👈 più leggibile */
  
}

.about-section p + h2 {
  margin-top: 70px;
}


  .image-row {
    flex-direction: column;
    gap: 20px;
  }

  .image-row img {
    max-width: 100%;
  }

  .product-item img,
  .lookbook-img img {
    width: 100%;
  }

 }



   .collection-section h1 {
    font-size: 22px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-card p,
  .product-card .price {
    font-size: 13px;
  }
}