 * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background-color: #000;
      color: white;
      scroll-behavior: smooth;
      line-height: 1.6;
    }
    
    /* --- Menu --- */ 
    .menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1000;
      
    }
    .menu .logo { 
        font-size: 22px; 
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        max-width: 300px;
        white-space: nowrap;
     }
    .menu .logo .main-name {
       font-size: 22px;
       font-weight: bold;
      }
    .menu .logo .subtitle {
       font-size: 18px;
       color: #f0a500;
       text-transform: none;
       font-weight: normal;
       margin-top: 2px;
       white-space: normal;
      }
    .menu nav {
      display: flex;
      gap: 25px;
    }
    .menu nav a {
      text-decoration: none;
      color: white;
      font-size: 18px;
      transition: color 0.3s;
    }
    .menu nav a:hover { color: #f0a500; }

    .menu .burger {
      display: none;
      font-size: 28px;
      cursor: pointer;
    }
    .menu.scrolled {
      background: rgba(0, 0, 0, 0.95);
      box-shadow: 0 2px 10px rgba(0,0,0,0.8);
      scroll-margin-top: 80px;
    }
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.7);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 900;
    }
    
    @media (max-width: 768px) {
    .menu nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      font-weight: none;
      text-transform: uppercase;
      background: rgba(0, 0, 0, 0.94);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      display: none;
      z-index: 1000;
    }

    .menu nav.active {
      display: flex;
    }
    .menu nav a{
      font-size: 23px;
      color: white;
      box-shadow: 10px 10px 20px #4e4e4e;
      text-decoration: none;
      border-radius: 20px;
      padding: 5px 10px;
      transition: color 0.3s;
      cursor: pointer;
    }
    .menu .burger {
    position: relative;
    display: block;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
  }
   .menu .logo .main-name{
    font-size: 20px;
   }
   .menu .logo .subtitle{
    font-size: 17px;
   }
}
    /* --- Hero --- */

    .foto-container {
      position: relative;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
    }

    .foto {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .overlay-text {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      padding: 40px 30px 60px 30px;
      align-items: flex-end;
      text-align: right;
    }

    .text-middle-right {
      margin-top: 100px;
      font-size: 70px;
      font-weight: normal;
      text-shadow: 4px 4px 10px rgba(0,0,0,0.8);
      margin-bottom: 20px;
      animation: fadeIn 2s ease-in-out;
      
    }
    .text-descrition{
      font-size: 25px;
      width: 600px;
      font-weight: bold;
      font-style: italic;
      animation: fadeIn 2s ease-in-out;
    }
    .text-bottom-right {
      margin-top: 30px;
      margin-bottom: 0;
      font-size: 40px;
      text-shadow: 4px 4px 10px rgba(0,0,0,0.8);
      margin-bottom: 40px;
      animation: fadeIn 3s ease-in-out;
      font-weight: bold;
    }
    .join-btn {
      font-weight: bold;
      margin-bottom: 50px;
      margin-top: 0px;
      background: #f0a500;
      color: black;
      padding: 15px 35px;
      font-size: 22px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      animation: pulse 1.5s infinite;
    }
    .join-btn:hover{
      background: #ffc733;
      box-shadow: 0 0 10px #f0a500;
      transform: scale(1.05);
    }
    @media (max-width: 768px) {
      .text-middle-right{
        font-size: 45px;
        margin-top: 100px;
      }
      .text-descrition{
        font-size: 16px;
        width: 100%;
      }
      .text-bottom-right{
        font-size: 24px;
      }
      .join-btn{
        font-size: 18px;
        padding: 10px 25px;
      }
      .overlay-text {
        padding: 60px 20px 80px 20px;
        align-items: center; /* centrare verticalmente su schermi piccoli */
        text-align: center;
  }
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }


    /* --- Programmi --- */

    #sfondo-page{
      background: url(concetto-di-sfondo.avif) center/cover no-repeat fixed;
    }

    .seconda {
      min-height: 100vh;
      width: 100%;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 60px;
      box-sizing: border-box;
    }
    .seconda-text {
      margin-top: 40px;
      font-size: 60px;
      font-weight: normal;
      text-shadow: 3px 3px 8px black;
      margin-bottom: 30px;
    }
    .program-subtitle {
      text-align: center;
      font-size: 30px;
      color: #f0a500;
      margin-top: 0px;
      margin-bottom: 30px;
      font-style: italic;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    }
    @media (max-width: 768px) {
    .seconda-text {
      font-size: 40px;
      text-align: center;
      position: relative;
      top: 45%;
      left: 50%;
      transform: translate(-50%, -50%);
      margin-bottom: 0;
      width: 100%;
      padding: 0 20px;
    }
    .program-subtitle {
      position: relative;
      top: 10px;
      font-size: 16px;
      padding: 0 15px;
      margin-top: -20px;
    }
   .schede {
      margin-top: 80px; /* per non far sovrapporre le card */
    }}

    /* SCHEDE*/

    .schede {
      display: flex;
      gap: 30px;
      justify-content: center;
      width: 100%;
      padding: 0 50px;
      flex-wrap: wrap;
    }
    .card {
      width: 30%;
      background-color: rgba(0,0,0,0.6);
      border-radius: 10px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 0 15px rgba(0,0,0,0.5);
      transition: transform 0.3s, opacity 0.5s;
      margin-bottom: 40px;
      padding-bottom: 20px;
      opacity: 0;
      transform: translateY(50px);
    }
    .card.show {
      opacity: 1;
      transform: translateY(0);
    }
    .card:hover {
      transform: scale(1.05);
    }
    .card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }
    .join-link {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 25px;
      background: #f0a500;
      color: black;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      transition: all 0.3s ease;
      box-shadow: 0 0 0 transparent;
    }
    .join-link:hover{
      background: #ffc733;
      color: black;
      box-shadow: 0 0 5px #f0a500, 0 0 30px #f0a500;
      transform: scale(0.95);
    }
    .price{
      position: relative;
      text-align: center;
      font-size: 30px;
      color: #f0a500;
      font-style: italic;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    }
    .price-discount {
      font-size: 24px;
      color: rgb(245, 238, 238);
      text-decoration: line-through;
      margin-bottom: 5px;
      display: block;
    }
    .price-final {
      font-size: 30px;
      color: #f0a500;
      font-style: italic;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    }
    .card h2 {
      margin-top: 20px;
      font-size: 27px;
      color: #f0a500;
      text-transform: uppercase;
      text-shadow: 1px 1px 5px black;
    }
    .card h3 {
      margin-top: 20px;
      font-size: 20px;
      margin: 15px 0 5px;
      color: #ffc733;
      letter-spacing: 0.5px;
    }
    .card p,
    .card ul{
      padding: 0 20px;
      font-size: 16px;
      line-height: 1.6;
      color: #ddd;
      text-align: left;
      margin-bottom: 10px;
    }
    .card ul {
      list-style: none;
      margin-bottom: 10px;
    }

    .card ul li::before {
      content: "✔ ";
      color: #f0a500;
      margin-right: 5px;
      font-weight: bold;
    }
    .card-text p {
      margin-bottom: 10px;
    }
    .card p:last-child {
      margin-bottom: 0;
    }
    
     @media (max-width: 768px) {
    .join-link {
      box-shadow: 0 0 5px #f0a500, 0 0 24px #f0a500;
      background: #ffc733;
      transform: scale(0.95);
    }
    .schede{
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 10px;
    }
    .card{
      width: 90%;
      max-width: 500px;
      box-sizing: border-box;
      margin-top: -50px;
      margin-bottom: 50px;
      background-color: rgba(0, 0, 0, 0.6);
      color: white;
      border-radius: 15px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    .card-text {
      font-size: 16px;
      text-align: center;
      padding: 0 15px;
    }
    .card img{
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }
    .card h2{
      font-size: 35px;
    }
    .card p,
    .card ul{
      text-align: center;
    }
  }

  /* Solo mobile: nasconde contenuto, mostra bottone */
@media (max-width: 768px) {
  .card-description {
    display: none;
  }

  .card.show-description .card-description {
    display: block;
  }

  .toggle-btn {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: large;
    border: 1px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .toggle-btn:hover {
    background-color: black;
  }
}

/* Solo desktop: mostra contenuto, nasconde bottone */
@media (min-width: 769px) {
  .card-description {
    display: block;
  }

  .toggle-btn {
    display: none;
  }
}

/*----Free guide---*/
.free-guide {
  
  background: url('concetto-di-sfondo.avif') center/cover no-repeat fixed;
  border: 1px solid #f0a500;
  border-radius: 20px;
  color: #ffffff;
  text-align: center;
  padding: 80px 30px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.free-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.free-guide h2 {
  font-size: 26px;
  color: #f0a500;
  margin-bottom: 30px;
  font-weight: 500px;
}

.free-guide p, .free-guide ul {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 20px;
}

.free-guide ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.free-guide ul li {
  margin-bottom: 15px;
  font-weight: 500;
  padding-left: 24px;
  position: relative;
}

.free-guide ul li::before {
  content: "❌";
  position: absolute;
  left: 0;
  color: #f0a500;
}
.free-guide {
  animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .free-guide {
    padding: 40px 20px;
    margin: 40px 16px;
    border-width: 1px;
  }

  .free-guide h2 {
    font-size: 22px;
  }

  .free-guide p, .free-guide ul {
    font-size: 14px;
    text-align: left;
  }
  
}
     /* --- ABOUT SECTION --- */
    .about-section {
      color: white;
      text-align: center;
      padding: 80px 20px;
    }
    .about-section h2 {
      font-size: 60px;
      font-weight: normal;
      text-shadow: 3px 3px 8px black;
      margin-bottom: 30px;
    }
    .about-me p{
      text-align: center;
      font-size: 20px;
      color: white;
      margin-top: -30px;
      margin-bottom: 60px;
      font-style: italic;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    }
    .about-me {
      margin-bottom: 60px;
    }
     @media (max-width: 768px) { 
      .about-me h2{
        font-size: 36px;
        margin-top: 40px;
      }
      .about-me, .programmi, .testimonianze, .contatti {
       padding: 0 20px;
     }}

    .about-gallery {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 60px;
     }

    .central-photo {
      width: 400px;
      height: 400px;
      border-radius: 50%;
      margin: 0;
      object-fit: cover;
      box-shadow: 0 0 15px rgba(0,0,0,0.6);
      margin-bottom: -20px;
    }

    .photo-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

.photo-row img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  margin-bottom: 30px;
}

.photo-row img:hover {
  transform: scale(1.3);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
  .central-photo {
    width: 250px;
    height: 250px;
    margin-top: 0px;
    margin-bottom: 0px;
    object-fit: cover;
  }
  .photo-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
  }
  .photo-row img {
    width: 130px !important;
    height: 130px !important;
    margin-top: -20px;
  }
  .photo-row img:hover {
    transform: scale(1.2);
  }
}
   
     /* --- Client reviews --- */
     
.testimonials-section {
  padding: 2rem 1rem;
  opacity: 0.75;
  background-color: #f8f8f8;
  border-radius: 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #222;
  font-weight: 600;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

.testimonial p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.testimonial .stars {
  font-size: 1.1rem;
  color: #f5b301;
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .testimonial {
    max-width: 40%;
    padding: 0.5rem;
  }
  .testimonial p{
    font-size: 0.5rem;
  }
  .testimonial h4{
    font-size: 0.85rem;
  }
}

.review-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.review-gallery img {
  max-width: 100%;
  height: auto;
  width: 250px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.review-gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .review-gallery img {
    width: 50%;
    max-width: 150px;
  }
  .review-screenshots h3{
    font-size: 36px;
    margin-top: 40px;
    }
}
@media (max-width: 500px) {
  .review-gallery img {
    width: 100%; /* occuperanno tutta la larghezza */
  }
}
    /* Second Buton*/

    .join-now-section {
  text-align: center;
  margin: 20px 0 20px 0;
}

.join-now-btn {
  margin-top: 20px;
  background: #f0a500;
  color: #000;
  font-weight: 700;
  font-size: 22px;
  padding: 15px 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  box-shadow: 0 6px 15px rgba(240,165,0,0.7);
  transition: background 0.3s ease, transform 0.2s ease;
}

.join-now-btn:hover {
  background: #d18e00;
  box-shadow: 0 0 10px #f0a500;
  transform: scale(1.05);
}


/* --- FAQ SECTION --- */
    .faq-section {
      max-width: 800px;
      margin: 60px auto;
      padding: 40px 20px;
      background-color: rgba(0, 0, 0, 0.6);
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .faq-section h2 {
      font-size: 40px;
      text-align: center;
      margin-bottom: 40px;
      color: #fff;
      text-shadow: 2px 2px 6px #000;
    }

    .faq-item {
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-question {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      width: 100%;
      padding: 18px;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 500;
      transition: background 0.3s;
    }

    .faq-question:hover {
      background-color: rgba(255, 255, 255, 0.05);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 18px;
      font-size: 16px;
      line-height: 1.6;
      color: #ccc;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
      padding: 15px 18px 25px;
    }

    .faq-question .icon {
      font-size: 24px;
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question .icon {
      transform: rotate(45deg); /* + becomes an X */
    }

    @media (max-width: 600px) {
      .faq-section {
        width: 90%;
        margin-top: 0;
        margin-left: 10px;
        margin-right: 10px;
        padding: 30px 15px;
      }

      .faq-question {
        font-size: 18px;
        padding: 16px;
      }

      .faq-answer {
        font-size: 15px;
      }
    }

/* --- CONTACT DETALIS --- */

    .contact-info-cta {
      margin-top: 20px;
      text-align: center;
      color: white;
      font-size: 20px;
      line-height: 1.6;
      text-shadow: 1px 1px 3px black;
      padding: 20px;
      background-color: rgba(0,0,0,0.4);
      border-radius: 12px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      
    }
    .contact-info-cta h4 {
      font-size: 24px;
      color: #f0a500;
      margin-bottom: 15px;
    }
    .contact-details {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
    }

    .contact-details a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      font-size: 16px;
      padding: 10px 15px;
      border: 1px solid #f0a500;
      border-radius: 8px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      float: left;
      gap: 8px;
      background-color: rgba(0,0,0,0.5);
    }

    .contact-details a:hover {
      background-color: #f0a500;
      color: black;
      box-shadow: 0 0 10px #f0a500;
    }
     /*...Whatsapp...*/

    .whatsapp-icon {
      width: 20px;
      height: 20px;
      display: inline-block;
    }
    
    @media (max-width: 768px) {
      .contact-info-cta {
      font-size: 18px;
      padding: 20px 15px;
    }
    .contact-info-cta h4 {
      font-size: 20px;
    }
    .contact-details {
      flex-direction: column;
      gap: 10px;
    }
    .contact-details a {
      font-size: 15px;
      padding: 10px 12px;
      justify-content: center;
    }
    .whatsapp-icon {
      width: 18px;
      height: 18px;
    }}

 /* --- Footer --- */
footer {
  background: #000;
  color: #aaa;
  padding: 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left a {
  color: #4CAF50;
  text-decoration: underline;
  margin-left: 8px;
}

#name-created {
  font-style: italic;
  color: #ffc733;
}

/* --- Responsive for mobile --- */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin: 5px 0;
  }
}
