/* reset generale */

* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "area-normal", sans-serif;
  font-weight: 400;
  background-color: black;
  overflow-x: hidden;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "area-normal", sans-serif;
  font-weight: 400;
}
.bold {
  font-weight: 700;
}
.headerNav1,
.headerNav2 {
  position: fixed;
  top: 16px;
  z-index: 10000000000000000;

  display: flex;
  align-items: center;

  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;

  text-decoration: none;
  cursor: pointer;

  mix-blend-mode: difference;

  /* IMPORTANT: allows pseudo text positioning */
  position: fixed;
}

/* positions */
.headerNav1 {
  left: 16px;
  color: transparent !important;
}

.headerNav2 {
  right: 16px;
}

/* =========================
   TEXT SWAP SYSTEM
========================= */

.headerNav1,
.headerNav2 {
  color: white; /* hide base text safely */
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* shared pseudo setup */
.headerNav1::before,
.headerNav1::after {
  content: "";
  position: absolute;
  inset: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  pointer-events: none;
  display: flex;
  justify-content: start;
  align-items: start;
}

/* default text */
.headerNav1::before {
  content: "Gloria Geri";
  opacity: 1;
}

/* hover text */
.headerNav1::after {
  content: "GG";
  opacity: 0;
}

/* hover swap */
.headerNav1:hover::before {
  opacity: 0;
}

.headerNav1:hover::after {
  opacity: 1;
}

/* =========================
   SECOND NAV (unchanged)
========================= */

.headerNav2:hover {
}
.modalAbout {
  position: fixed;
  width: calc(50% - 16px);
  right: calc(-50% - 16px);
  height: 100%;
  background-color: white;
  z-index: 10000000000;
  justify-content: center;
  align-items: center;
  display: flex;
  padding-right: 16px;
  flex-direction: column;
  gap: 128px;
  border-radius: 16px 0px 0px 16px;
}
.wrapAbout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.closeModal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.infoAbout {
  font-size: 0.75rem;
}
.lavoroItem {
  height: 100svh;
  width: calc(100% - 32px);
  position: relative;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  display: grid;
  align-items: end;
  text-decoration: none;
  z-index: 9;
  color: white;
}
.lavoroItem:hover {
  cursor: none;
}
body.focus-mode .lavoroInfo .titolo,
body.focus-mode .lavoroInfo .cliente,
body.focus-mode .lavoroInfo .anno,
body.focus-mode .lavoroInfo .studio {
}

.swiper-button-next:hover .lavoroInfo .titolo,
.swiper-button-next:hover .lavoroInfo .cliente,
.swiper-button-next:hover .lavoroInfo .anno,
.swiper-button-next:hover .lavoroInfo .studio {
  cursor: none;
}
.swiper-button-prev:hover .lavoroInfo .titolo,
.swiper-button-prev:hover .lavoroInfo .cliente,
.swiper-button-prev:hover .lavoroInfo .anno,
.swiper-button-prev:hover .lavoroInfo .studio {
  cursor: none;
}
.titolo {
}
.lavoroItem::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.1) 10%,
    rgba(0, 0, 0, 0) 20%
  );
  z-index: 5;
  position: absolute;
  pointer-events: none;
}
.blurMiddle {
  position: absolute;
  width: 100%;
  height: 100svh;
  z-index: 100000000;

  background: transparent; /* remove grey layer */

  backdrop-filter: blur(var(--blur, 0px));
  -webkit-backdrop-filter: blur(var(--blur, 0px));

  pointer-events: none;
  cursor: none;
}
.lavoriSwiper {
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 1;
  pointer-events: auto;
}

.lavoriSwiper .swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  height: 100%;
  width: auto; /* 🔥 key for horizontal scroll */
}

.swiper-slide img,
.swiper-slide video {
  height: auto;
  width: 100%;
  min-height: 100svh;
  object-fit: cover;
  z-index: 1;
}

.swiper-button-next,
.swiper-button-prev {
  top: 0px !important;
  width: 25% !important;
  cursor: none !important;
  height: 100% !important;
  z-index: 99 !important;
  bottom: 0px !important;
  margin-top: 0px !important;
  z-index: 1000000001 !important;
}
.swiper-button-prev {
  left: 0px !important;
  transition: opacity ease 0.3s !important;
  opacity: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.swiper-button-next {
  right: 0px !important;
  transition: opacity ease 0.3s !important;
  opacity: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.swiper-button-prev:hover {
  opacity: 1;
}
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "" !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none !important;
}
.customCursor {
  position: fixed;
  top: 0;
  left: 0;

  width: 64px;
  height: 64px;

  display: flex;
  justify-content: center;
  align-items: center;

  line-height: 0;

  pointer-events: none;
  z-index: 9999;

  opacity: 0;
  mix-blend-mode: difference;

  transform: translate(-50%, -50%);
}

.customCursor img {
  width: 96px;
  height: 96px;

  display: block;
  object-fit: contain;
}
.lavoroInfoWrap {
  position: relative;
  inset: 0;
  top: 0px;
}
.lavoroInfoLayer {
  position: absolute;
  width: 100%;
  height: fit-content;
  width: calc(100% - 32px);
  bottom: 48px;
  padding: 0px 16px;
  grid-template-columns: repeat(12, 1fr);
  display: grid;
  height: fit-content;
}
.lavoroInfo {
  position: absolute;
  grid-column: span 12;
  gap: 16px;
  align-items: end;
  padding-bottom: 32px;
  z-index: 9;
  color: white;
  text-decoration: none;
  pointer-events: auto;
  position: absolute;
  grid-template-columns: repeat(12, 1fr);
  display: grid;
  width: calc(100% - 32px);
  z-index: 100000000000999990;
  pointer-events: none;
  cursor: none;
  padding: 0px 16px;
}
.lavoroInfo h2,
.lavoroInfo p {
  text-decoration: none;
  z-index: 100000000000999990;
}
.lavoroInfo .titolo,
.lavoroInfo .cliente,
.lavoroInfo .anno,
.lavoroInfo .studio {
  grid-column: span 3;
  font-size: 1rem;
  font-weight: bold;
  z-index: 100000000000999990;
}
.coverLavoro {
  width: 100%;
  height: 100svh;
  object-fit: cover;
}
.lavoroInfoSingle {
  grid-column: span 12;
  gap: 16px;
  align-items: start;
  color: white;
  text-decoration: none;
  grid-template-columns: repeat(12, 1fr);
  display: grid;
  width: calc(100% - 32px);
  padding: 64px 16px 128px 16px;
  background-color: black;
}
.lavoroInfoSingle h2,
.lavoroInfoSingle p {
  text-decoration: none;
  z-index: 100000000000999990;
}
.lavoroInfoSingle .titolo,
.lavoroInfoSingle .cliente,
.lavoroInfoSingle .descrizioneSingle,
.lavoroInfoSingle .anno,
.lavoroInfoSingle .studio {
  grid-column: span 3;
  font-size: 1rem;
  font-weight: bold;
  z-index: 100000000000999990;
  color: white;
}

.colInfoSingle {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blocco {
  width: 100%;
  height: auto;
}
.vivo img,
.vivo video {
  object-fit: cover;
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}
.boxed,
.due-colonne {
  width: calc(100% - 32px);
  height: auto;
  padding: 0px 16px;
}
.boxed img,
.boxed video {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}
.wrapBlocchiSingle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 128px;
  padding-top: 128px;
}
.due-colonne {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.col2col {
  grid-column: span 1;
}
.due-colonne img,
.due-colonne video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.wrapCats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* add comma AFTER each chip except last */
.chip {
  font-weight: bold;
  color: white;
}
.chip::after {
  content: ",";
  margin-right: 6px;
  font-weight: 400; /* comma normal weight */
}
.annoSingle {
  font-weight: 400 !important; /* comma normal weight */
}
/* remove comma from last item */
.chip:last-child::after {
  content: "";
}
.descrizioneSingle {
  font-weight: 400 !important;
}
.footer {
  grid-template-columns: repeat(12, 1fr);
  gap: 256px 16px;
  padding: 32px 16px;
  background-color: black;
  color: white;
  display: grid;
}
.row1footer,
.row2footer {
  grid-template-columns: repeat(12, 1fr);
  grid-column: span 12;
  gap: 16px;
  display: grid;
}
.footerLogoText {
  font-family: "area-normal", sans-serif;
  font-weight: 500;
  grid-column: span 4;
  font-size: 100px;
  line-height: 1;
  color: white;
  text-decoration: none;
}
.col2row1footer {
  grid-column: 7 / span 3;
  display: flex;
  flex-direction: column;
  gap: 128px;
}
.jobTitle {
  font-family: "area-normal", sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.3;
  color: white;
}
.contactsFooter {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.contactFooter {
  min-height: 40px;
  justify-content: start;
  align-items: center;
  display: flex;
  font-family: "area-normal", sans-serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
  border-top: solid 1px white;
  border-bottom: solid 1px white;
  text-decoration: none;
  padding: 0px 4px;
}
.contactFooter:last-child {
  border-top: none;
}
.footerLogo {
  grid-column: 12 / span 1;
}
.footerLogoImg {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.credits {
  grid-column: span 4;
  text-decoration: none;
}
.basedIn {
  grid-column: 7 / span 3;
}
.copyright {
  grid-column: 12 / span 1;
  text-align: right;
}
.credits,
.basedIn,
.copyright {
  font-family: "area-normal", sans-serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
}
.credits:hover,
.footerLogoText:hover,
.contactFooter:hover {
}
.contactFooter:hover {
  color: black;
  background-color: white;
} /* Swiper Pagination Container */
.lavoriSwiper .swiper-pagination {
  position: absolute;
  bottom: 24px !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

/* Inactive Indicators: Thin Vertical Lines */
.lavoriSwiper .swiper-pagination-bullet {
  width: 2px;
  height: 16px;
  background-color: #ffffff;
  border: 1.5px solid transparent;
  border-radius: 0;
  opacity: 0.8;
  margin: 0 !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Active Indicator: Hollow Rectangle Box */
.lavoriSwiper .swiper-pagination-bullet-active {
  width: 32px;
  height: 18px;
  background-color: transparent;
  border: 1.5px solid #ffffff;
  opacity: 1;
}
/* ========================================= */
/* SEZIONE ALTRI PROGETTI                    */
/* ========================================= */

/* Container principale della sezione */
.altriLavoriSection {
  width: 100%;
  padding: 64px 16px;
  background-color: #000000;
  box-sizing: border-box;
}

/* Titolo "Altri progetti:" (Corsivo, sottile) */
.altriProgettiTitle {
  font-family: "area-normal", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  padding-bottom: 24px;
}

/* Wrapper lista con bordo superiore iniziale */
.altriLavoriSection .wrap-progetti.list-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Singola riga (3 colonne) */
.altriLavoriSection .rowProgetto {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* Titolo | Categoria | Anno */
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #ffffff;
  gap: 16px;
  box-sizing: border-box;
}

/* Hover riga: sfondo grigio pieno */
.altriLavoriSection .rowProgetto:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Colonna 1: Titolo (In Grassetto) */
.altriLavoriSection .rowProgetto .titleAcfHome {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  font-family: "area-normal", sans-serif;
  grid-column: span 5;
}

/* Colonna 2: Categoria / Studio (Peso normale) */
.altriLavoriSection .rowProgetto p.acf {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  grid-column: span 5;
}

/* Colonna 3: Anno tra parentesi (Allineato a destra) */
.altriLavoriSection .rowProgetto .acfAnno {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  text-align: right;
  margin: 0;
  grid-column: 11 / span 2;
}

/* Media Cover Fluttuante (Anteprima Immagine/Video) */
.project-media-cover {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 320px;
  height: 220px; /* Proporzione rettangolare come da mock */
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.project-media-cover img,
.project-media-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Content Grid */
.about-main-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0px 16px;
  color: white;
  padding: 160px 16px 160px 16px;
}

/* Bio Column */
.about-bio-col {
  grid-column: span 3;
  gap: 40px;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  border-top: solid 1px white;
}
.about-bio-text {
  font-family: "area-normal", sans-serif;
  font-weight: 400;
  color: white;
  line-height: 1.4;
  font-size: 16px;
}
.about-contact-links {
}
.about-contact-link {
}
.arrow {
}

/* Experience Column */
.about-exp-col {
  grid-column: 5 / span 8;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 30px;
  border-top: solid 1px white;
}
.about-section-label {
  font-family: "area-normal", sans-serif;
  font-weight: 400;
  color: white;
  line-height: 1;
  font-size: 20px;
}
.about-exp-list {
  display: flex;
  flex-direction: column;
}
.about-exp-item {
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0px;
  border-top: solid 1px white;
  border-bottom: solid 1px white;
}
.wrap2cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 16px;
}
.about-exp-item:last-child {
  border-bottom: solid 1px white;
  border-top: none;
}
.about-exp-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.wrapSubtext {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-exp-role {
  font-family: "area-normal", sans-serif;
  font-weight: bold;
  color: white;
  font-size: 20px;
}
.about-exp-company,
.about-exp-date,
.about-exp-location {
  font-family: "area-normal", sans-serif;
  font-weight: 400;
  color: #ababab;
  font-size: 16px;
}

.about-exp-desc {
}

/* Clients Section */
.about-clients-section {
  grid-column: 5 / span 8;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.about-client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.about-client-logo img {
  max-width: 100%;
}
/* Individual Client Logos */
.logo-lavazza {
}
.logo-gallerie {
}
.logo-crc {
}
.logo-torino {
}
.logo-cultura {
}

/* Responsiveness Mobile */
@media (max-width: 768px) {
  .altriLavoriSection .rowProgetto {
    display: flex;
    flex-direction: column; /* Nasconde l'anno o compatta a 2 colonne */
    padding: 8px 0px;
    justify-content: start;
    align-items: start;
    gap: 4px;
  }
  .acfAnno {
    position: absolute;
    top: 8px;
    right: 0px;
  }
  .linkProgetto {
    position: relative;
  }
}
/* Hide on desktop (768px and up) */
@media (min-width: 768px) {
  .lavoriSwiper .swiper-pagination {
    display: none !important;
  }
}

/* Hide container entirely on desktop */
@media (min-width: 768px) {
  .lavoriSwiper .swiper-pagination {
    display: none !important;
  }
}
/* Large screens */
@media (max-width: 1440px) {
}
/* Small laptops */
@media (max-width: 1024px) {
}
/* Tablets */
@media (max-width: 768px) {
  .lavoroInfoSingle {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .col2col {
    grid-column: span 2;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  .lavoroInfoWrap {
    display: none;
  }
  .row1footer,
  .row2footer {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 32px;
  }
  .footer {
    display: flex;
    flex-direction: column;
    gap: 128px;
  }
  .footerLogo {
    position: absolute;
    top: 0px;
    right: 0px;
  }
  .footerLogoImg {
    height: 50px;
    width: auto;
  }
  .footerLogoText {
    width: 100%;
    font-size: 40px;
  }
  .basedIn {
    display: none;
  }
  .row2footer {
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
  }
  .about-main-content {
    display: flex;
    flex-direction: column;
  }
  .wrap2cols {
    flex-direction: column;
    display: flex;
  }
  .about-clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

/* Small tablets / large phones */
@media (max-width: 640px) {
}
