
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0a0a0a; /* sfondo scuro */
  color: #fff; /* testo di default in bianco */
  line-height: 1.5;
}

/* Container generico per limitare la larghezza e gestire i margini */
.container {
  width: 80%;
  /* max-width: 1200px; */
  margin: 0 auto;
}

/* HEADER */
.main-header {
  background-color: transparent; /* o un altro colore scuro */
  padding: 32px 0px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 60px; /* regola in base al tuo logo */
  height: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  transition: color 0.3s ease;
  font-size: 18px;
}

.main-nav a:hover {
  color: #00f0ff; /* colore hover link */
}

/* HERO */
.hero {
  position: relative;
  padding: 60px 0;
  /* Esempio di sfumatura radial intorno alla scala mobile */
  /* background: #06080d; */
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-text {
  flex: 1;
  gap: 40px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  width: 45%;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 500px;
  width: 57%;
}

/* ===== Pulsante CTA con gradiente ben visibile ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 49px;
  padding: 0 25px;
  border: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  /* gradiente “ampio” + animazione */
  background-image: linear-gradient(
    158deg,
    #def9fa -43.27%,
    #bef3f5 -21.24%,
    #9dedf0 12.19%,
    #7de7eb 29.82%,
    #5ce1e6 51.94%,
    #33bbcf 90.29%
  );
  background-size: 400% 400%;          /* <<< cambio principale */
  background-position: 0% 50%;
  animation: gradientMove 8s ease-in-out infinite;

  /* lift & shadow */
  transition:
    transform .3s cubic-bezier(.25,.8,.25,1),
    box-shadow .3s cubic-bezier(.25,.8,.25,1);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.btn-cta:active {
  transform: translateY(-1px) scale(.97);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ===== Keyframes più dinamici ===== */
@keyframes gradientMove {
  0%   { background-position:   0%  50%; }
  25%  { background-position:  50% 100%; }
  50%  { background-position: 100%  50%; }
  75%  { background-position:  50%   0%; }
  100% { background-position:   0%  50%; }
}


.hero-image img {
  width: 700px; /* regola dimensioni immagine eroe */
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 7%;
  right: 9%;
  /* border-radius: 50%; */ /* Per un glow circolare */
  background: radial-gradient(
    circle,
    rgba(73, 183, 223, 0.4) 30%,
    rgba(0, 71, 73, 0) 60%
  );
  /* filter: blur(40px); */
}

/* STATISTICHE */
.stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 250px;
  align-items: center;
}

.stat-item {
  text-align: center;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 18px;
}

.stat-item span {
  font-size: 48px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  background: linear-gradient(
    170deg,
    #46f8ff 0%,
    #004749 26%,
    #7de7eb 42%,
    #000000 42%,
    #3c9295 57%,
    #33bbcf 100%
  );
  -webkit-background-clip: text; /* Clip del background al testo */
  -webkit-text-fill-color: transparent; /* Colore riempimento trasparente per mostrare il gradiente */
  display: inline-block; /* Per applicare correttamente */
}

/* L'AZIENDA */
.azienda {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.azienda h2 {
  font-size: 60px;
  font-weight: 400;
}

.azienda p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 18px;
}

.more-info {
  color: #00c8c8;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.8s ease;
}

.more-info:hover {
  color: #00e0e0;
}

/* SERVIZI */
.servizi {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.SectionContainer h2 {
  font-size: 60px;
  font-weight: 400;
}

.servizi-list {
  list-style: none;
  width: 37%;
}

.servizi-list li {
  margin: 10px 0;
  width: 100%;
  border: 1px solid white;
  border-left: 0;
  border-right: 0;
  padding: 10px;
  transition: all 0.8s ease;
}

/* header cliccabile */
.li-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* titolo */
.servizi-list p {
  color: #fff;
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  transition: color 0.8s ease;
}
.servizi-list p:hover { color: #00c8c8; }

/* ---------- pannello nascosto / mostrato ---------- */
.hidden-text {
  /* via display:none —> USIAMO height */
  max-height: 0;              /* chiuso */
  overflow: hidden;
  margin-top: 0;              /* niente spazio quando è chiuso */
  color: #fff;
  font-size: 20px;

  /* animazione */
  transition: max-height 0.8s ease, margin-top 0.8s ease;
}

/* quando il <li> è attivo */
.servizi-list li.active .hidden-text {
  max-height: 1000px;         /* valore > dello scrollHeight più grande */
  margin-top: 10px;           /* ristabiliamo il gap */
}


/* CHI SIAMO */
.chi-siamo {
  padding: 80px 0;
}

.ceo-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 37%;
  flex-direction: column;
}

.ceo-photo {
  width: 75%;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
}

.ceo-info h3 {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  background: linear-gradient(
    157.81deg,
    #46f8ff -17.51%,
    #004749 12.14%,
    #7de7eb 45.28%,
    #000000 45.8%,
    #3c9295 63.34%,
    #33bbcf 90.29%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: -20px;
}

.ceo-info p {
  margin-top: 20px;
  line-height: 1.4;
}

/* LAVORI */
.lavori {
  padding: 80px 0;
}

.lavori-gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
  width: 37%;
}

.lavoro-item {
  flex: 1;
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: end;
}

.lavoro-item img {
  width: 100%;
  height: auto;
  display: block;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
  margin-bottom: 80px;
  margin-top: 80px;
}

.client-logos img {
  width: 150px; /* regola la dimensione dei loghi */
  /* filter: brightness(0) invert(1); */ /* stile per i loghi bianchi su sfondo scuro */
  object-fit: contain;
}

/* CTA FINALE */
.cta-finale {
  padding: 60px 0;
  border-radius: 24px;
  background: linear-gradient(
      144deg,
      #fff -278.56%,
      #6d6d6d -78.47%,
      #11101d 91.61%
    ),
    #fff;
  max-width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: auto;
  margin-bottom: 100px;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 87%;
  gap: 30px;
}

.cta-text h3 {
  font-size: 48px;
  /* margin-bottom: 20px; */
  font-weight: 600;
  width: 70%;
}

.cta-image img {
  width: 625px;
  max-width: 100%;
  height: auto;
  position: absolute;
  right: 5%;
  /* top: 345%; */
  /* top: -50%; */
}

.chisiamoCta img {
  /* top: 350%; */
}

/* FOOTER */
.main-footer {
  background-color: #000;
  padding: 40px 0;
  color: #ccc;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-container {
  display: flex;
  gap: 82px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-logo img {
  width: 310px;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 72px;
  justify-content: left;
}

.footer-links ul {
  width: max-content;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
  width: fit-content;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-map {
  /* se preferisci puoi gestire dimensioni custom per la mappa */
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-around;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}



.leftFooter {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.SectionContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0% 10%;
}

.Gallery .SectionContainer {
  flex-direction: column;
  gap: 30px;
}

.Gallery .lavori-gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
  width: 100%;
  height: 300px;
}

.AziendaText {
  width: 37%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

li img {
  width: 25px;
  height: 25px;
}

.ceo-info {
  width: 75%;
  margin-top: -75px;
}


h3.fotoLavoriTitle {
    font-size: 60px;
    font-weight: 400;
}

section.FotoLavoriContainer {
    display: flex;
    justify-content: center;
    padding: 0 10%;
    flex-direction: column;
    gap: 60px;
}

.fotoLavoriGroup {
    display: flex;
    flex-direction: column;
    gap: 60px;
    flex-wrap: nowrap;
    width: 100%;
}

.fotoLavoriCard {
    width: calc(50% - 17.5px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.fotoLavoriCards {
    display: flex;
    /* flex-direction: column; */
    gap: 35px;
    flex-wrap: wrap;
    width: 100%;
}

.fotoLavoriCard img {
    width: 100%;
    max-height: 500px;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.65);
    border-radius: 20px;
    z-index: -1;
}

img {}

img {}

p.FotoLavoriCardTxt {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 5%;
}

h4.CardLavoroNome {
    position: absolute;
    margin: 20px;
    font-size: 36px;
    font-weight: 700;
}

.size32{
  font-size: 32px !important;
}

.chisiamoCta.cta-image {
    width: auto;
    height: 100%;
    margin-top: -20%;
}


.menu {
  display: none;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}


.contact-form {
  max-width: 1200px;
  margin: 0 auto;
  width: 60%;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  flex: 100%;
}

label {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

input, select, textarea {
  padding: 10px;
  background-color: #1a1a1a;
  border: 1px solid #444;
  color: #fff;
  border-radius: 5px;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

.checkbox {
  margin-top: 10px;
  font-size: 0.8rem;
}

.checkbox input[type="checkbox"] {
  margin-right: 5px;
  transform: scale(1.2);
}

button {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

section.contattami {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 60px;
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 50px;
    margin-top: 56px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    z-index: 3;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 600ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 600ms cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    color: white;
  }

    #menu-toggle:checked ~ .menu li a{
    text-decoration: none;
    color: white;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

@media only screen and (max-width: 1200px) {
.hero-text h1,.SectionContainer h2, h3.fotoLavoriTitle{
  font-size: 40px;
}

  .hero-text{
    z-index: 2;
    margin: auto;
    width: 100%;
  }
  .hero-image img{
    filter: brightness(0.7);
  }
  .SectionContainer{
    flex-direction: column;
    gap: 15px;
  }
  .AziendaText{
    width: 100%;
  }
  .fotoLavoriCard{
    height: 348px;
  }
  .fotoLavoriCard img{
  height: calc(300px - 48px);
  }
  h4.CardLavoroNome {
    font-size: 24px;
  }
  .footer-map ,  .footer-map  iframe{
 width: 100%;
}
.servizi-list, .ceo-card,.lavori-gallery {
  width: 100%;
}
}


@media only screen and (max-width: 991px) {
  
.hero-image img{
  filter: brightness(0.55);
  width: 650px;
  right: 5%;
}
.stats{
  margin-top: 180px;
}
.hero-text p,.hero-text h1 {
  width: 75%;
}.cta-text h3 
{
  font-size: 36px;
}
.cta-image img
 {
    width: 400px;
    max-width: 100%;
    height: auto;
    position: absolute;
    right: 5%;
}
.contact-form {
  max-width: 1200px;
  margin: 0 auto;
  width: 70%;
}
}


@media only screen and (max-width: 750px) {
  .cta-image img
 {
display: none;
}
.cta-text h3 
{
  width: 100%;
  font-size: 32px;
}
.cta-container{
  flex-direction: row;
}
.cta-finale {
  padding: 30px 0px;
}
.hero-image img{
  filter: brightness(0.55);
  width: 500px;
  right: 3%;
}
.stats{
  margin-top: 120px;
}
.hero-text p,.hero-text h1 {
  width: 100%;
}
.stats{
  flex-direction: column;
  gap: 20px;
}
.stats .spanSimbol{
  display: none;
}
.fotoLavoriCard{
  width: 1000%;
}
    .footer-links {
width: 90%;
}
.main-nav{
  display: none;
}
.menu{
  display: flex;
}
.client-logos{
  width: 80%;
  margin: auto;
      margin-bottom: 80px;
    margin-top: 80px;
}
.client-logos img{
  width: 100px;
}
.servizi-list p {
  font-size: 32px;
}
.hidden-text {
    font-size: 16px;
} 
.azienda p {
    font-size: 16px;
}
}

@media only screen and (max-width: 545px) {
  .contact-form {
  max-width: 1200px;
  margin: 0 auto;
  width: 85%;
}
  .stats{
  margin-top: 40px;
}
  .cta-text h3 
{
  font-size: 26px;
}
.container{
  width: 100%;
  margin: auto;
  gap: 0px;
  padding: 0px 25px;
}

    .hero-text h1, .SectionContainer h2, h3.fotoLavoriTitle {
        font-size: 32px;
    }
    .hero-text p {
      font-size: 16px;
    }
    .fotoLavoriGroup{
      gap: 40px;
    }
    .azienda{
      padding: 40px 0px;
    }
    .hero {padding: 40px 0px 0px 0px;}
    .stat-item span{
      font-size: 36px;
    }
    .stat-item{
      flex-wrap: wrap;
      width: 50%;
      justify-content: center;
    }
.servizi-list p {
  font-size: 26px;
}
}


