/* Reset */ 
body, html{ background: #111; font-family: 'Poppins', Arial, Helvetica, sans-serif; line-height: 1;font-size:16px;box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: border-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 20px;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none}

.spacer{height: 100px;}

:root {
      --menu-bg: #fff;
      --menu-color: #333;
}

p{
  font-size: 16px;
  text-align: right;
  color: #000;
  font-weight: 300;
}

.pslider{
  font-size: 1.0rem;
  color: #fff;
  text-align: left;
}

h1{
  font-size: 23px;
  text-align: right;
  color: #000;
  font-weight: 700;
}

.h1banner{
  font-size: 70px;
  color: #f6e830;
  text-align: center;
  transition: opacity 1s ease;
}

h2{
  font-size: 19px;
  text-align: right;
  color: #000;
  margin-bottom: 40px;
  font-weight: 500;
}

h3{
  font-size: 19px;
  text-align: right;
  color: #000;
  margin-top: 40px;
  font-weight: 500;
}

/* Menu */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: relative;
}

/* Lista voci di menu */
.menu {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.menu li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding: 20px 0;
  display: inline-block;
}

/* Linea animata */
.underline {
  position: absolute;
  bottom: 0;
  height: 4px;
  background: #f6e830;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Logo */
.logo {
  font-size: 20px;
  font-weight: bold;
  color: #f6e830;
}

/* Logo immagine */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Hamburger nascosto su desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  height: 50px;
  width: 40px;
  margin-left: 20px;
}

.hamburger span {
  height: 2px;
  width: 30px;
  background: var(--menu-color);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Animazione hamburger → X */
.menu-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.menu-open .hamburger span:nth-child(2) {
  transform: rotate(-45deg) translateY(-9px);
}

/*-------------------------------------------------------------------*/

/* HOMEPAGE */

/*-------------------------------------------------------------------*/
/* Carosello */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(to bottom, #000000, #fff);
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

/* Overlay */
.carousel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Contenuto testuale */
.carousel-content {
  position: absolute;
  top: 40%;
  left: 5%;
  text-align: left;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease;
  max-width: 90%;
}

.carousel-content.show {
  opacity: 1;
}

.carousel-content.hide {
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: left;
}

.carousel-text {
  font-size: 1.0rem;
  margin-bottom: 30px;
  margin-right: 30%;
  text-align: left;
}

/* Pulsante */
.carousel-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f6e830;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.carousel-btn:hover {
  background: #000;
  color: #f6e830;
  border-style: solid;
  border-color: #f6e830;
  transform: scale(1.05);
}

/* Freccia scroll */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  animation: bounce 1.5s infinite;
  opacity: 0.8;
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* Sezione successiva */
.content {
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #333;
}

.homepage-text{
  margin-top: 100px;
  margin-right: 50px;
}

.hero{
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.hero img{
  z-index: 1;
  position: relative;
}

.blob-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  z-index: 0;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
  transition: transform 0.2s ease-out;
}

.main-img {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Testo con icone ✔ */
.homepage-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.check-icon {
  display: inline-block;
  color: #000;
  background: #f6e830;
  border-radius: 50%;
  font-weight: bold;
  margin-left: 10px;
  padding: 4px 7px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.banner{
  background: #111;
  margin-top: 30px;
  margin-bottom: 20px;
}

.parallax-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.parallax-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120%;
  overflow: hidden;
  z-index: 0;
  background-color: #fff;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0);
  transition: transform 0.2s linear;
}


/* Elementi centrali */
.parallax-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.tag {
  background: #f6e830;
  padding: 12px 25px;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

.tag1 {
  background: #fff;
  padding: 12px 2px;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

/* Elementi a destra */
.parallax-right {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 2;
}

.circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #f6e830;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: rotate(10deg);
}

.circle span{
  transform: rotate(-20deg)
}

.rect {
  background: #000;
  color: #f6e830;
  padding: 15px 25px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-section {
  display: block;
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}

.cta-section:hover {
  transform: scale(1.02);
}

/* Immagine di background gestita via HTML */
.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contenuto sopra l’immagine */
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: 100%;
  padding-left: 40px;
  background: rgba(0, 0, 0, 0.4);
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #f6e830;
  margin: 0;
}

.cta-content img {
  height: 60px;
  width: auto;
}

/*------------------------------------------*/

/*COME FUNZIONA*/

/*------------------------------------------*/

/* Header principale */
.title {
  text-align: center;
  padding: 140px 20px 60px;
  background-color: #fff;
}

.title h1 {
  font-size: 3rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

/* Evidenziazione titolo */
.highlight {
  background-color: #f6e830;
  color: #000;
  padding: 15px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.highlight.dark {
  background-color: #000;
  color: #f6e830;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sezioni principali */
.function-section {
  padding: 40px 8%;
  background-color: #fff;
}

.function-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.function-content.reverse {
  flex-direction: row-reverse;
}

/* Testo */
.function-text {
  flex: 1;
}

.function-text h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 20px;
}

.function-text p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

/* Immagini */
.function-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.function-image img {
  width: 50%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Titolo effetto */
.effect-header {
  text-align: center;
  padding: 40px 20px 40px;
  background-color: #fff;
}

.effect-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  text-align: center;
}

/*------------------------------------------*/

/* PAGINA MODELLI */

/*------------------------------------------*/

.models-section {
  padding: 50px 5%;
  background-color: #fff;
}

.models-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: #111;
}

.model-row {
  display: flex;
  align-items: center;
  justify-content: center;      
  gap: 40px;
  margin: 0 auto 60px auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}

.model-image {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  border: 3px solid #f6e830;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.model-image .blob {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}

.model-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 2;
}

.model-info {
  flex: 1;
  max-width: 500px;
}

.model-info h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #000;
}

.model-info table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  margin-top: 20px;
}

.model-info table th,
.model-info table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

.model-info table th {
  background: #000;
  color: #fff;
  font-weight:bold;
}

.model-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 25px;
  text-decoration: none;
  background: #f6e830;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e0d400;
}

.btn-alt {
  background: #000;
  color: #fff;
}

.btn-alt:hover {
  background: #333;
}

/*------------------------------------------*/

/*CONTATTI*/

/*------------------------------------------*/

.contacts-banner {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
}

.contacts-box {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  max-width: 500px;
}

.contacts-box h1 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #000;
}

.contacts-box p {
  margin: 10px 0;
  font-size: 1rem;
}

.contacts-box a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

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

/* Form contatti */
.contact-form-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #000;
}

.contact-form-section h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #f6e830;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f6e830;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #000;
  color: #f6e830;
  border-style: solid;
  border-color: #f6e830;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* responsive */
  gap: 40px;
}

.footer-col {
  
  min-width: 200px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #ccc;
  text-align: left;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Menu footer */
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin: 8px 0;
}

.footer-menu a {
  text-decoration: none;
  color: #ccc;
  font-size: 15px;
}

.footer-menu a:hover {
  color: #fff;
}

/* Immagine a destra */
.footer-right {
  text-align: right;
}

.footer-img {
  height: 60px; /* puoi modificare */
  width: auto;
  transition: transform 0.3s ease;
}

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

/*------------------------------------------*/

/* --- MOBILE --- */

/*------------------------------------------*/

@media (max-width: 768px) {

  .h1banner{
    font-size: 2.5rem;
  }

  h1{
    text-align: left;
    z-index: 3;
  }

  h2{
    text-align: left;
  }

  h3{
    text-align: left;
  }

  p{
    text-align: left;
  }

  .check-icon{
    margin-left: 5px;
    margin-right: 10px;
    
  }
  nav {
    justify-content: space-between;
    position: relative;
    z-index: 1000;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 2;
    cursor: pointer;
    z-index: 1100;
  }

  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--menu-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: height 0.5s cubic-bezier(.215, .61, .355, 1);
    z-index: 1000;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #444;
    text-align: center;
    padding: 15px 0;
  }

  .menu-open .menu {
    height: 100vh;
    padding: 5% 0;
  }

  .underline {
    display: none;
  }

  .carousel {
    height: 80vh;
  }

  .carousel-content {
    top: 45%;
    left: 8%;
    transform: translate(0, -50%);
    max-width: 85%;
  }

  .carousel-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .carousel-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .carousel-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 30px;
  }

  .scroll-down {
    font-size: 1.5rem;
    bottom: 20px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .main-img {
    width: 200px;
    height: 200px;
  }

  .blob-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 30px;
}

  .blob {
    width: 250px;
    height: 250px;
    z-index: 0 !important;
  }

  .homepage-text {
    margin: 20px 20px;
    z-index: 99 !important;
    text-align: justify;
  }

  .homepage-text p {
    font-size: 0.9rem;
  }
  
  .parallax-bg {
   position: absolute;
   height: 100vh;
  }
   
  .parallax-bg img {
   object-fit: cover;
   transform: none !important;
  } 

   .parallax-center {
    gap: 10px;
  }

  .tag {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .tag1 {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .parallax-right {
    position: relative;
    right: 0;
    top: -10rem;
    transform: none;
  }

  .circle {
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }

  .rect {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

   .cta-section {
    height: 180px;
  }

  .cta-content {
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    text-align: center;
    gap: 15px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content img {
    height: 45px;
  }

  .model-row {
    flex-direction: column;
    text-align: center;
  }

  .model-image {
    max-width: 250px;
    margin-bottom: 20px;
  }

  .model-info {
    max-width: 100%;
  }
  
  .model-info h2{
    text-align: center;
  }
  
  .model-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 25px;
  text-decoration: none;
  background: #f6e830;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 0.8rem;
}

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }

 .title {
    padding: 60px 10px 40px;
  }

  .title h1 {
    font-size: 2rem;
  }

  .function-content {
    flex-direction: column;
    text-align: center;
  }

  .function-content.reverse {
    flex-direction: column;
  }

  .function-text {
    margin-bottom: 30px;
  }

  .function-text h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .function-text p {
    font-size: 1rem;
    text-justify: auto;
    text-align: center;
    line-height: normal;
  }

  .function-image img {
    max-width: 90%;
  }

  .highlight {
    font-size: 1.6rem;
    padding: 10px 20px;
  }

  .effect-header h2 {
    font-size: 1.8rem;
  }

}





.hero,
.parallax-section,
.blob-container,
.model-row,
.contacts-banner,
.carousel {
  position: relative;   
  z-index: 0;
}


.blob,
.parallax-bg,                
.blob-container svg,
svg.blob {
  position: absolute !important;
  z-index: -1 !important;        
  pointer-events: none !important; 
  will-change: transform;        
}


.homepage-text,
.main-img,
.carousel-content,
.contacts-box,
.model-info,
.model-image img {
  position: relative !important;
  z-index: 2 !important;
}


@media (max-width: 768px) {
  .blob,
  .parallax-bg,
  svg.blob {
    z-index: -2 !important;
    opacity: 1 !important;
  }

  .homepage-text,
  .main-img,
  .carousel-content,
  .contacts-box {
    z-index: 3 !important;
  }
}