@charset "UTF-8";
/* CSS Document */

/* -------------------------------------------------------------------------
   Sticky Header
--------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #14b8a6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  box-sizing: border-box;
  z-index: 1000;
}

.site-header .header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.site-header .header-name {
  font-family: "bely-display", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  color: white;
  text-decoration: none;
  /* Override global a styles */
  display: inline;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background-color: transparent;
  text-transform: none;
  letter-spacing: normal;
}

.site-header .header-tagline {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
}

.site-header .header-right {
  display: flex;
  align-items: center;
}

.site-header .header-cta {
  padding: 8px 18px;
  border-radius: 4px;
  background: white;
  color: #14b8a6;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.site-header .header-cta:active {
  transform: scale(0.98);
}

/* -------------------------------------------------------------------------
   NK Pitch Section
--------------------------------------------------------------------------- */
.nk-pitch-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background-image: url('images/case_studies/bg_case_studies.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: clamp(1rem, 3vh, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vh, 1rem);
  scroll-snap-align: start;
  box-sizing: border-box;
  overflow: hidden;
}

/* Intro Box - Top */
.nk-wrapper {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(2rem, 4vw, 3rem);
  max-width: 65vw;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vh, 1rem);
}

.nk-intro-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nk-intro-text {
  text-align: center;
}

.nk-headline {
  font-family: "bely-display", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #3f3f3f;
  margin: 0 0 clamp(0.4rem, 1vh, 0.75rem) 0;
  line-height: 1.2;
}

.nk-divider {
  display: none;
}

.nk-vert-divider {
  width: 2px;
  height: 60%;
  background-color: #3f3f3f;
  margin: 0 clamp(1.5rem, 3vw, 2.5rem);
  align-self: center;
}

.nk-subhead {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: #3f3f3f;
  margin: 0;
  line-height: 1.4;
}

.nk-logo {
  flex-shrink: 0;
}

.nk-logo img {
  max-width: clamp(180px, 20vw, 280px);
  height: auto;
}

/* Corner Plus - Gold */
.corner-plus-gold {
  position: absolute;
  font-size: 1rem;
  color: #D6B182;
  font-weight: 300;
  line-height: 1;
  z-index: 2;
}

.corner-plus-gold.top-left {
  top: 8px;
  left: 12px;
}

.corner-plus-gold.top-right {
  top: 8px;
  right: 12px;
}

.corner-plus-gold.bottom-left {
  bottom: 8px;
  left: 12px;
}

.corner-plus-gold.bottom-right {
  bottom: 8px;
  right: 12px;
}

/* Four Box Grid - Row 1 */
.nk-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(0.5rem, 1.5vh, 1rem);
  width: 100%;
}

/* Four Box Grid - Row 2 (swapped proportions) */
.nk-grid-row2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(0.5rem, 1.5vh, 1rem);
  width: 100%;
}

.nk-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  height: clamp(120px, 22vh, 220px);
}

.nk-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nk-box:hover img {
  transform: scale(1.03);
}

.nk-box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nk-box-title {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: white;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Quote Text - Bottom */
.nk-quote {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 400;
  color: #3f3f3f;
  margin: 0;
  padding: 0 10%;
  line-height: 1.6;
  text-align: left;
}

/* Mobile Responsive */
/* NK mobile overrides in style_mobile.css */

/* -------------------------------------------------------------------------
   Brands Section
--------------------------------------------------------------------------- */
.brands-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background-image: url('images/brands/bg_brands.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  box-sizing: border-box;
  overflow: hidden;
}

.brands-panel {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  max-width: 75vw;
  width: 100%;
  max-height: 88vh;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brands-headline {
  font-family: "bely-display", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #3f3f3f;
  margin: 0 0 0.3rem 0;
  text-align: center;
  line-height: 1.2;
}

.brands-subline {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: #3f3f3f;
  margin: 0 0 1.5rem 0;
  text-align: center;
  line-height: 1.4;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.brand-logo img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* Brands mobile overrides in style_mobile.css */

/* -------------------------------------------------------------------------
   Base Styles
--------------------------------------------------------------------------- */

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Raleway", sans-serif; /* Apply Raleway to the whole body */
  scroll-snap-type: y mandatory;
  scroll-padding-top: 56px;
  scroll-behavior: smooth; /* optional for nice effect */
  overflow-y: scroll;
  overflow-x: hidden;
}

.parallax-container {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
/*  justify-content: center; */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--color);
  text-align: center;
  padding: 0;
  row-gap: 0;
}

/* -----------------------------
            Fades
----------------------------- */

/* section parts fade into view */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}


/* headers fade into view, right to left */
.fade-in-left,
.fade-in-left2 {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-left {
  transition-delay: 0.2s;
}

.fade-in-left2 {
  transition-delay: 0.5s;
}

.fade-in-visible {
  opacity: 1;
  transform: translateX(0);
}



/* intro - animated type */
.important-text {
  font-size: 15vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  padding-bottom: -100px;
  opacity: 0;
  transform: translateX(40px);
  animation: slideFadeIn 1.2s ease-out forwards;
  animation-delay: 0.2s;
  text-align: center;
}

.subtext {
  font-size: 3vw;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  white-space: nowrap;
}

.subtext-part {
  display: inline-block;
}

.subtext-part1,
.subtext-part2 {
  display: inline-block;
  opacity: 0;
  transform: translateX(40px);
  animation: slideFadeIn 1.2s ease-out forwards;
  white-space: nowrap;
}

.subtext-part1 {
  animation-delay: 1.2s;
}

.subtext-part2 {
  animation-delay: 2.0s;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*small CTA newest work btn */
.newest-btn-wrapper {
  opacity: 0;
  transform: translateX(40px);
  animation: slideFadeIn 1.2s ease-out forwards;
  animation-delay: 2.6s; /* starts right after subtext-part2 finishes */
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.newest-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.35rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newest-btn:hover {
  transform: translateY(2px); /* small downward press */
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.newest-btn:active {
  transform: translateY(3px); /* slightly more press when clicked */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.newest-btn img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  user-select: none; /* prevent dragging the image */
  pointer-events: none; /* ensures click target is the button, not the image */
}



/* small plus signs / white */
.corner-plus {
  position: absolute;
  font-size: 40px;
  font-weight: 100;
  color: white;
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
  z-index: 10;
  line-height: 1;        /* important */
  margin: 0;             /* prevent browser default spacing */
  padding: 0;            /* just in case */
	padding-left: 10px;
	padding-right: 10px;	
  box-sizing: content-box;
}

.top-left    { top: 10px; left: 10px; }
.top-right   { top: 10px; right: 10px; }
.bottom-left { bottom: 10px; left: 10px; }
.bottom-right{ bottom: 10px; right: 10px; }

/* Hero section needs lower top position to clear fixed header */
.hero .top-left    { top: 70px; }
.hero .top-right   { top: 70px; }

/* NK Pitch section plus signs */
.nk-pitch-section .bottom-left { bottom: 66px; }
.nk-pitch-section .bottom-right{ bottom: 66px; }

/* Brands section plus signs */
.brands-section .bottom-left { bottom: 66px; }
.brands-section .bottom-right{ bottom: 66px; }

/* Sono Io section plus signs */
.parallax-container6 .bottom-left { bottom: 66px; }
.parallax-container6 .bottom-right{ bottom: 66px; }

/* Corner overlay wrapper - ensures plus signs position relative to section */
.corner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}


/* -----------------------------
   buffer - title sections
----------------------------- */

.buffer {
  width: 100%;
  min-height: 60vh;
  background-color: rgba(255, 255, 255, 1.0);
  display: flex;             
  justify-content: center;  
  align-items: center;      
  height: 100vh;             
  scroll-snap-align: start; 
}


/* -----------------------------
   Typography
----------------------------- */
/* buffer section text */
.buffer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.buffer-header {
  font-size: 13vw;
  font-weight: 700;
  color: rgba(63, 63, 63, 1);
  margin: 0;
}

.buffer-subtext {
  font-size: 3vw;
  font-weight: 400;
  color: rgba(63, 63, 63, 1);
  margin-top: -10px;
}

.white-box-header {
  font-family: "bely-display", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  text-transform: none;
  margin-top: 0;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.skills {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
}

.skills-used {
  font-size: 12px;
  font-weight: 400;
  text-transform: capitalize;
  margin-top: 2px;
  margin-bottom: 1.5rem;
}

.white-box-para {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
  text-transform: none;
  padding: 0 4%;
}

.white-box-para2 {
  max-width: 40vw;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: none;
  padding: 30px;
}

.collaboriamo-line {
  padding: 15px;
  font-weight: 700;
  font-size: 1.9rem;
  text-align: center;
}

.image-headers {
  font-size: 20px;
  font-weight: 700;
  text-transform: capitalize;
  text-align: center;
  margin-top: .3em;
}

.white-box-subheadline {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.white-box-header, .white-box-subheadline, .skills, .skills-used, .white-box-para, .white-box-para2, .collaboriamo-line, .image-headers {
color: rgba(63, 63, 63, 1.0);
}


/* sono io section */
.card-foot {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  margin:30px;
  padding: 5px;
  border-radius: 10px;
  background: rgba(63, 63, 63, 0.85);
  box-shadow: 0 29px 38px -15px rgb(0 0 0 / 43%);
  overflow: hidden;
  padding-bottom: 2.5em;

}

.card-foot-box {
	  position: relative;
	top: -100px;
  max-width: 500px;
  margin: 10px;
  padding: 40px;
  border-radius: 0.5em;
  background-color: rgba(255, 255, 255, 1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
	
}

.card-foot-box:hover {
  transform: scale(1.03);
}

.button, a {
  display: inline-block;
  padding: 1em 3.5em;
  border-radius: 0.3em;
  background-color: rgb(63 63 63);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 1.5em;
  margin-bottom: .1em;
}

/* -----------------------------
   Layout / Containers
----------------------------- */

.white-box-wrapper {
  padding: 30px 50px; /* 60px top/bottom, 50px sides */
  margin: 10px auto;
  max-width: 65vw;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  scroll-snap-align: start;
}

/* in particolare la sezione pubblicitaria */
.white-box-wrapper-multi { 
  padding: 60px 50px; /* 60px top/bottom, 50px sides */
  margin: 10px auto;
  max-width: 65vw;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.white-box {
  max-width: 100%;
  margin: 30px 0;
  position: relative;
  z-index: 10;
  text-align: left;
}



/* -----------------------------
   Special addition for heros section
----------------------------- */

/* Full‑row hero inside any grid (2‑up, 3‑up, etc.) */
.span-all { grid-column: 1 / -1; }

/* If you ever place the hero in the flex-based layout */
.image-block-main-lrg.span-all,
.image-block-main.span-all { flex-basis: 100%; }

/* Optional: make hero a widescreen banner while keeping others square */
.hero-img { aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }




/* -----------------------------
   Images
----------------------------- */

.image-grid-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  grid-auto-rows: auto;
  gap: 28px;
}


.image-block-main {
  flex: 1 1 calc(30% - 14px); /* accounts for the gap */
  min-width: 50px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 8px;
}

.white-box-img{
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out;
}

.white-box-img:hover {
  transform: scale(1.02);
}

/* lrg boxes */

.image-grid-main-lrg {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
}

.image-block-main-lrg {
  flex: 1 1 calc(50% - 14px); /* accounts for the gap */
  min-width: 150px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 8px;
}

.white-box-img-lrg {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out;
}


.white-box-img-lrg:hover {
  transform: scale(1.02);
}





/* -----------------------------
   Z-Index Helpers
----------------------------- */

.modal-overlay    { z-index: 10000; position: fixed; }
.sticky-header    { z-index: 1000; position: sticky; top: 0; }
.tooltip-hover    { z-index: 100; }
.parallax-bg      { z-index: 0; position: absolute; }


/* -----------------------------
   Utilities (optional)
----------------------------- */

.text-uppercase   { text-transform: uppercase; }
.text-capitalize  { text-transform: capitalize; }
.text-center      { text-align: center; }

.space-top-xl     { margin-top: 150px; }
.space-bottom-md  { margin-bottom: 30px; }


/* -----------------------------
   parallax containers
----------------------------- */

.parallax-container {
  position: relative;
  display: flex;
  min-height: 100vh;
  background-image: url("images/bg_image_jay.jpg");
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--color);
  row-gap: 4rem;
  text-align: center;
  padding: 0; 
  scroll-snap-align: start;
}

.parallax-container2, .parallax-container3, .parallax-container4, .parallax-container5, .parallax-container6 {
  scroll-snap-align: start;
  gap: 1.6em;
  background-attachment: fixed;
  padding: 0; 
}
.parallax-container2 {
  background-image: url("images/identities/identities-bg.jpg");
}

.parallax-container3 {
  display: flex;
  background-image: url("images/online_ads/bg_ads.jpg");
  padding-top: 70px;
  padding-bottom: 100px;
}

.parallax-container4 {
  background-image: url("images/case_studies/bg_case_studies.jpg");
}

.parallax-container5 {
  background-image: url("images/handmade/handmade_bg.jpg");
  padding-top: 70px;
  padding-bottom: 100px;
}

.parallax-container6 {
  background-image: url("images/footer/footer-bg.jpeg");
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Sono Io Section Styles */
.sono-io-wrapper {
  max-width: 50vw;
  padding: calc(3rem + 10px) calc(3rem + 15px);
}

.sono-io-headline {
  font-family: "bely-display", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #3f3f3f;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.sono-io-content {
  text-align: left;
}

.sono-io-content p {
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #3f3f3f;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.sono-io-content p:last-child {
  margin-bottom: calc(1.5rem + 5px);
}

.sono-io-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.sono-io-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 187px;
  height: 42px;
  background: #3f3f3f;
  color: white;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sono-io-cta .cta-button:hover {
  background: #2a2a2a;
  transform: scale(1.02);
}

.sono-io-cta .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.sono-io-cta .social-icon img {
  width: 42px;
  height: 42px;
  display: block;
}

.sono-io-cta .social-icon:hover {
  transform: scale(1.05);
  background: transparent !important;
}

/* -----------------------------
   slider code
----------------------------- */

.sliderMain {
    display: flex;
    overflow: hidden;
    width: 100%;
	margin: 0;
}
.slider {
    -webkit-animation: continousSlider 160s linear infinite;
    animation: continousSlider 160s linear infinite;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-top: 0; /* Remove top margin */
    margin-bottom: 0; /* Remove bottom margin */
}

/* Pause the animation on hover */
/*.slider:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}*/

.slider div {
    padding: 250px  5px;
	}


@-webkit-keyframes continousSlider {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }
}

@keyframes continousSlider {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }
}

.slider div img {
    max-width: 300px;
    max-height: 250px;
    display: inline-block;
    object-fit: contain;
	padding: 10px;
	background-color: rgba(0,0,0,0.50);
	border-radius: 10px;
	position: relative;
	z-index: 10;
}

/* end slider code */

   .scroll-horizontal {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  gap: 30px;
  animation: scroll-left 30s linear infinite;
}

.scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

    .tile-container {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
    }

    .tile-wrapper {
      width: 230px;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: box-shadow 0.3s;
      padding: 0px;
      border: 3px solid rgba(255,255,255,0.5);
    }

    .tile-wrapper:hover {
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .tile {
      width: 100%;
      display: block;
      transition: transform 0.3s;
      border-radius: 5px;
    }

    .tile-wrapper:hover .tile {
      transform: scale(1.04);
    }

    .tile-label {
      text-align: center;
      font-weight: 700;
      font-size: 2rem;
      margin-top: 12px;
	  margin-bottom: 0px;
      text-transform: lowercase;
    }

    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 16px;
      box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    }

    .modal.active {
      display: flex;
    }

    .close-btn {
      position: absolute;
      top: 30px;
      right: 40px;
      font-size: 2.5rem;
      color: white;
      cursor: pointer;
    }

.section-modal {
  display: none;
  position: absolute;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0; */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  padding: 30px;
  border-radius: 8px;
  overflow: auto;
  align-items: flex-start; /* so content starts at top */
  padding: 30px;
}

    .section-modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 16px;
      box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    }


.section-modal video {
  height: 570px;
  width: 327px;
  object-fit: cover;
  border-radius: 8px;
}


    .section-modal.active {
      display: flex;
    }

    .section-modal .close-btn {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }

    .scroll-horizontal {
      overflow: hidden;
      white-space: nowrap;
    }

    .scroll-track {
      display: inline-flex;
      animation: scroll-left 30s linear infinite;
    }

    .scroll-track:hover {
      animation-play-state: paused;
    }

    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }




/* -----------------------------
       Casi di Studio
----------------------------- */

.case-study-layout {
  padding: 30px 50px; /* 60px top/bottom, 50px sides */
  margin: 10px auto;
  max-width: 65vw;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif; /* Apply Raleway to the whole body */
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  grid-auto-rows: auto;
  gap: 28px;
}

.case-study-card {
  flex: 1 1 calc(30% - 14px); /* accounts for the gap */
  min-width: 50px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 8px;
}

.case-study-card:hover {
  transform: scale(1.02);
}

.case-text-block {
  background-color: rgba(255, 255, 255, 0.85);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

/* KEEP */
.img-frame img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out;
}


.summary-intro {
  display: block;
  font-weight: bold;
  margin-bottom: 1em; /* Adjust spacing as needed */
}

.case-button-wrapper {
  text-align: left;
  padding: 0 60px;
  margin: -10px 0 40px 0;
}

.case-study-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #3f3f3f;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
  margin-right: 10px;
  margin-top: -5px;
  margin-bottom: -5px;
  z-index: 10010;

}

.case-study-button:hover {
  background-color: #1f1f1f;
}

.close-btn,
.case-close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001; /* higher than .section-modal */
}


/* -----------------------------
   Identità
----------------------------- */

.image-container {
  width: 100%;
  min-height: 100vh; /* Ensure it takes at least the full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Add some padding around the grid */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* <-- Force 7 columns */
  gap: 40px;
  width: 90%;
  max-width: 1200px;
}

.image-grid img {
  display: block;
  width: 90%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.thumbnail-container {
  position: relative; /* Needed for absolute positioning of the cue */
  cursor: pointer;
  /* Other existing styles */
	/*background-color: rgba(63,63,63,.75);*/
	filter: drop-shadow(5px 5px 5px rgba(63,63,63,1.0));
	border-radius: 5px;
}

.thumbnail-container {
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
  border-radius: 5px;
}

.thumbnail-container:hover img {
  transform: scale(1.04);
}


button {
	background-color: rgba(63, 63, 63, 1.00);
	border: 0px;
}

.thumbnail-container {
	cursor: pointer; /* Indicate it's interactive */
}

.fullscreen-image-overlay {
    position: fixed; /* Cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background: rgba(0, 0, 0, 0.8);
 /* Semi-transparent background */
    display: flex; /* Center the image */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Smooth transition */
}

      .fullscreen-image-overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease-in-out;
      }


.close-btn,
.case-close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001; /* higher than .section-modal */
}

		
#fullscreen-image {
  max-width: 90%; /* Prevent image from being wider than the viewport (initially) */
  max-height: 90%; /* Prevent image from being taller than the viewport (initially) */
  object-fit: contain; /* Show the entire image within the bounds */
  max-width: 400px; /* Override with your desired maximum width */
  max-height: 400px; /* Override with your desired maximum height */
}


/* ========================================
   ESECUZIONE GRID SECTION
   ======================================== */

/* Flexible Grid - 3 columns desktop, 2 tablet, 1 mobile */
.exec-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

/* Grid Item with coral overlay effect */
.exec-grid-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.exec-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.exec-grid-item:hover img {
  transform: scale(1.03);
}

/* Plus indicator */
.exec-grid-item .plus-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
  color: white;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.exec-grid-item:hover .plus-indicator {
  transform: scale(1.1);
}

/* Modal styles for Esecuzione */
.esecuzione-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow-y: auto;
  padding: 40px 20px;
}

.esecuzione-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.esecuzione-modal-content {
  background: transparent;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.esecuzione-modal .modal-close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}

.esecuzione-modal .modal-close-btn:hover {
  color: #EA6F70;
}

/* Modal content typography */
.esecuzione-modal-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0 0 8px 0;
}

.esecuzione-modal-content .modal-skills {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #3f3f3f;
  margin: 0 0 4px 0;
}

.esecuzione-modal-content .modal-skills-list {
  font-size: 12px;
  font-weight: 400;
  color: #3f3f3f;
  margin: 0 0 24px 0;
}

.esecuzione-modal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #3f3f3f;
  margin-bottom: 30px;
}

.esecuzione-modal-content .modal-image {
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
}

