/*
Theme Name: Portfolio Custom
Description: Tema custom per portfolio con GSAP
Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  font-family: "Inter";
  margin: 0px;
  letter-spacing: -0.05em;
}
html,
body {
  margin: 0px;
}
.hero {
  width: calc(100% - 32px);
  height: 100vh;
  background-color: #006cd8;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 64px;
  padding: 16px;
}
.hero video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.textMan {
  font-size: 2rem;
  color: white;
  text-align: center;
  width: 100%;
}
a.textMan {
  text-decoration: underline;
}
a.textMan:hover {
  text-decoration: underline;
  color: #ff9327;
}
main {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.lavoriWrap {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  margin: 0px 64px;
  gap: 32px;
}
.lavori {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-flow: row dense; /* 🔑 THIS */
  width: 100%;
}
.titleLavori {
  width: 100%;
  text-align: left;
  grid-column: span 12;
  font-size: 4rem;
  color: #006cd8;
}
.linkProgetto {
  position: relative;
  grid-column: span 6;
  text-decoration: none;
  color: white;
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  box-sizing: border-box; /* 🔑 */
  height: 100%;
}
.linkProgetto::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -9;
  background-color: #006cd8;
  opacity: 0;
  top: 0px;
  left: 0px;
  transition: all ease 0.3s;
}
.linkProgetto:hover::before {
  opacity: 0.5;
}
.lavori > a:nth-child(1) {
  max-height: 90vh;
  min-height: 90vh;
  width: 100%;
  grid-row: span 2;
}
.lavori > a:nth-child(5) {
  max-height: 80vh;
  min-height: 80vh;
  width: 100%;
  grid-row: span 2;
}

.chip {
  width: fit-content;
  padding: 0.5rem 1rem;
  background-color: #006cd8;
  border-radius: 10000px;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}
.wrapChips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 8px;
}
.imgGrid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -10;
}
.btn {
  width: fit-content;
  padding: 0.75rem 4rem;
  background-color: #006cd8;
  border-radius: 0.75rem;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.btn:hover {
  background-color: #ff9327;
  color: white;
}
.banner {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  padding: 128px 64px;
  background-color: #006cd8;
  display: grid;
  border-radius: 1.25rem;
}
.col1 {
  grid-column: span 1;
  font-size: 8rem;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.col2 {
  grid-column: span 1;
  font-size: 1.25rem;
  font-weight: 400;
  color: white;
}
.contactsWrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0px 64px;
}
.contactsCol {
  display: flex;
  flex-direction: column;
  gap: 128px;
  grid-column: span 1;
}
.contactsHead {
  font-size: 4rem;
  font-weight: bold;
  color: #006cd8;
}
.contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact {
  color: #006cd8;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}
.contact:hover {
  text-decoration: underline;
  color: #0050a0;
}
.formCol {
  grid-column: span 1;
  background-color: #006cd8;
  border-radius: 1.25rem;
  height: fit-content;
}
.formCol form {
  padding: 32px !important;
  margin: 0px !important;
}
input {
  background-color: transparent !important;
  border: none !important;
  color: white !important;
  resize: none !important;
  border: none !important;
  padding: 0px !important;
  background-color: transparent !important;
  border: none !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  line-height: 1.5rem !important;
  color: white !important;
}
input::placeholder,
textarea::placeholder,
label,
.forminator-required {
  color: white !important;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
label {
  font-weight: 400 !important;
}
textarea {
  resize: none !important;
  border: none !important;
  padding: 0px !important;
  background-color: transparent !important;
  border: none !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  height: 164px !important;
  line-height: 1.5rem !important;
  color: white !important;
}
.forminator-checkbox__label p {
  color: white !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  line-height: 1.5rem !important;
}
.forminator-checkbox__label p a {
  color: white !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  line-height: 1.5rem !important;
}
.forminator-checkbox__label p a:hover {
  color: #ff9327 !important;
}
.forminator-checkbox__label {
  margin: 0px !important;
}
.forminator-button {
  width: 100% !important;
  background-color: white !important;
  color: #006cd8 !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  line-height: 1.5rem !important;
  border-radius: 0.75rem !important;
  transition: none !important;
}
.forminator-button:hover {
  background-color: #ff9327 !important;
  color: white !important;
  box-shadow: none !important;
}
.forminator-row-last {
  margin: 0px !important;
}
.forminator-checkbox__wrapper {
  display: flex !important;
  flex-direction: row !important;
  justify-content: start !important;
  align-items: center !important;
  gap: 8px !important;
}
.forminator-row-last .forminator-col {
  padding: 0px !important;
}
.wrapFooter {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.footer {
  display: flex;
  flex-direction: column;
  gap: 256px;
  padding: 16px;

  background-color: #006cd8;
}
.footerColsWrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.col1Footer {
  grid-column: span 1;
  display: grid;
  flex-direction: column;
  gap: 96px 16px;
  grid-template-columns: repeat(3, 1fr);
}
.contactsFooter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: span 3;
}
.logoFooterWrap {
  grid-column: span 1;
}
.logoFooter {
  width: 100%;
  height: auto;
}
.headContactsFooter {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  color: white;
}
.contactFooter {
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
}
.contactFooter:hover {
  mix-blend-mode: difference;
  text-decoration: underline;
}
.col2Footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.colNavFooter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wrapNavFooter {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.wrapContactsFooter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.headNavFooter {
  color: rgb(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}
.navFooter {
  font-size: 4rem;
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.navFooter:hover {
  text-decoration: underline;
  mix-blend-mode: difference;
}
.headSingleContactFooter {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 0.75rem;
  text-decoration: none;
}
.headSingleContactFooter:hover {
  mix-blend-mode: difference;
  text-decoration: underline;
}
.footerEnd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.footerEndText {
  color: rgb(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}
a.footerEndText {
  text-decoration: none;
}
a.footerEndText:hover {
  text-decoration: underline;
  color: white;
}
.hidden {
  display: none;
}
.inactiveLink {
  user-select: none;
  pointer-events: none;
  cursor: default;
}
.formWrap {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: start;
  align-items: start;
}
.request {
  text-align: left;
}
.forminator-ui {
  margin: 0px !important;
}
@media (max-width: 780px) {
  .mobileHidden {
    display: none;
  }
  .footerColsWrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 96px 16px;
  }
  .footer {
    gap: 192px;
  }
  .footerEnd {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .textMan {
    font-size: 2rem;
    color: white;
    text-align: left;
    width: 100%;
  }
  .col1Footer {
    grid-column: span 2;
    display: grid;
    flex-direction: column;
    gap: 96px 16px;
    grid-template-columns: repeat(3, 1fr);
  }
  .logoFooterWrap {
    grid-column: span 2;
  }
  .formWrap {
    width: 100%;
  }
}
