/*
  style_about.css
  Specific styles per la pagina About
*/

/* ================================
   Import stili globali
   ================================ */
@import url("style.css");

/* ================================
   Stili generali per tutte le slide
   ================================ */
.slide {
  padding: 60px 0;
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  width: calc(100% - 40px) !important;
  max-width: 1025px;
  margin: 40px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.slide h2 {
  margin: 0 0 25px;
  padding: 0;
  font-size: 30px !important;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(to right, #00cfff, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left !important;
}

.slide h3,
.slide p {
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Dimensioni paragrafi */
p.mobile-padding-left:not(.riquadro-mobile-padding) {
  font-size: 18px !important;
  color: white !important;
  text-align: left !important;
  margin-right: 25px;
}

p.riquadro-mobile-padding {
  font-size: 15px !important;
  text-align: left !important;
}

/* ================================
   Hero / Intro (#about-intro)
   ================================ */
#about-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 60px 0;
  width: calc(100% - 40px) !important;
  max-width: 1025px;
  margin: 25px auto 0 !important;
  text-align: center;
  background-color: transparent !important;
  border-radius: 0 !important;
}

#about-intro h1 {
  margin: 70px 0 0;
  font-size: 48px !important;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: white !important;
  text-align: left !important;
}

#about-intro > div {
  background-color: rgba(173, 216, 230, 0.5);
  border-radius: 24px;
  color: black;
  width: 100%;
  max-width: 1025px;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#about-intro img.about-intro-img {
  width: 240px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  flex-shrink: 0;
  margin-left: 25px;
}

/* ================================
   La nostra visione (#vision)
   ================================ */
#vision > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 0 25px;
  box-sizing: border-box;
}

#vision > div > div {
  flex: 1;
}

#vision > div > img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
}

/* ================================
   Cosa facciamo (sezione successiva a #vision)
   ================================ */
#vision + section.slide > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  padding: 0 25px;
  box-sizing: border-box;
}

#vision + section.slide > div > img {
  margin: 0;
}

/* ================================
   Le nostre ambizioni (.ambizioni-flex)
   ================================ */
.ambizioni-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 0 25px;
  box-sizing: border-box;
}

.ambizioni-testo {
  flex: 1;
}

.ambizioni-img {
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 36px;
  box-sizing: border-box;
  margin: 0;
}

.ambizioni-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ================================
   PerchÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â© scegliere YÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Âª CONSULTING ( .perche-container )
   ================================ */
.perche-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 25px;
  box-sizing: border-box;
}

.perche-container > div {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  box-sizing: border-box;
}

.perche-container h3 {
  margin-top: 0;
  font-size: 30px !important;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(to right, #00cfff, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.perche-container p {
  margin-top: 10px;
  font-size: 15px !important;
  line-height: 1.6;
  text-align: left;
  color: white !important;
}

/* ================================
   Il team (h2#team-title + div)
   ================================ */
#team-title {
  font-size: 30px !important;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(to right, #00cfff, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  padding: 0 25px;
  text-align: left;
  box-sizing: border-box;
}

#team-title + div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 20px 0 0;
  padding: 0 25px;
  box-sizing: border-box;
}

#team-title + div img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  margin: 0;
}

#team-title + div h3,
#team-title + div span {
  margin: 0;
}

/* ================================
   Contatti / Collabora
   (stili principali applicati inline in HTML)
   ================================ */

/* ================================
   Media query mobile (ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°Ãƒâ€šÃ‚Â¤ 992px)
   ================================ */
@media (max-width: 992px) {
  /* Helper per testi con padding orizzontale */
  .mobile-padding-left {
    padding: 0 25px;
    box-sizing: border-box;
  }

  /* Hero / Intro mobile */
  #about-intro {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
  #about-intro h1 {
    margin: 0 0 20px !important;
    text-align: center !important;
  }
  #about-intro > div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 25px !important;
    margin-bottom: 20px;
  }
  #about-intro img.about-intro-img {
    margin: 0 0 20px !important;
  }
  #about-intro p {
    text-align: left !important;
  }

  /* Vision mobile */
  #vision > div {
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
  }
  #vision > div img {
    order: -1;
    margin: 0 0 20px;
  }
  #vision h2 {
    text-align: center !important;
    width: 100%;
  }

  /* Cosa facciamo mobile */
  #vision + section.slide > div {
    flex-direction: column;
    align-items: center;
  }
  #vision + section.slide > div img {
    order: -1;
    margin: 0 0 20px;
  }
  #vision + section.slide > div h2 {
    text-align: center !important;
  }

  /* Ambizioni mobile */
  .ambizioni-flex {
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
    gap: 20px;
  }
  .ambizioni-img {
    order: -1;
    margin: 0 0 10px;
  }
  .ambizioni-testo {
    width: 100%;
  }

  /* PerchÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â© scegliere mobile: cards full-width stacked */
  .perche-container {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .perche-container > div {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 10px 0;
  }

  /* Team mobile */
  #team-title {
    text-align: center !important;
    padding: 0 !important;
  }
  #team-title + div {
    align-items: center;
    padding: 0 !important;
  }
  #team-title + div img,
  #team-title + div h3,
  #team-title + div span {
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Contatti mobile (override inline) */
  #CONTATTI-COLLABORA .contatti-wrapper {
    width: calc(100% - 40px);
  }
}

/* Altre regole da applicare singolarmente */

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 1) Gap tra immagine e paragrafo in ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œChi ÃƒÆ’Ã‚Â¨ YÃƒâ€¦Ã‚Âª CONSULTING?ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
#about-intro > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 25px;                  /* 25px di spazio ORIZZONALE tra img e testo */
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 2) Dimensioni e border-radius per ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œCosa facciamoÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
#vision + section.slide > div > img {
  width: 220px !important;    /* stessa larghezza di ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œVisionÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
  height: 220px !important;   /* stessa altezza di ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œVisionÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
  object-fit: contain !important;
  border-radius: 12px !important;
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 3) Titolo ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œLe nostre ambizioniÃƒÂ¢Ã¢â€šÂ¬Ã‚Â centrato SOLO SU MOBILE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
@media (max-width: 992px) {
  .ambizioni-flex h2 {
    text-align: center !important;
    width: 100%;
  }
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 4) ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œIl teamÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ su desktop TUTTO left-aligned ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
/* Container principale */
#team-title,
#team-title + div {
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 25px !important;  /* stesso ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œrespiroÃƒÂ¢Ã¢â€šÂ¬Ã‚Â di Vision */
  text-align: left !important;
}
/* Forza figli a sinistra e rimuove qualunque centering ereditato */
#team-title + div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin: 20px 0 0 !important;
}
#team-title + div img,
#team-title + div h3,
#team-title + div span {
  margin: 0 !important;
  text-align: left !important;
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Team ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ override mobile (rimane centrato come prima) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬ÂÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
@media (max-width: 992px) {
  #team-title,
  #team-title + div {
    padding-left: 0 !important;
    text-align: center !important;
  }
  #team-title + div {
    align-items: center !important;
  }
  #team-title + div img,
  #team-title + div h3,
  #team-title + div span {
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* Ã¢â‚¬â€Ã¢â‚¬â€Ã¢â‚¬â€ Hero Ã¢â‚¬Å“Chi ÃƒÂ¨ YÃ…Âª CONSULTING?Ã¢â‚¬Â: spacing desktop sopra il contenitore Ã¢â‚¬â€Ã¢â‚¬â€Ã¢â‚¬â€ */
@media (min-width: 993px) {
  #about-intro h1 {
    margin-bottom: 25px !important;
  }
}

/* ——— Spazio sotto al footer in About ——— */
.extras {
  margin-bottom: 60px !important;
}
