body, html{ background: #112134; font-family: 'Poppins', Arial, Helvetica, sans-serif; line-height: 1; font-size: 16px; box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: content-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 20px;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none}


/* Menu */
    :root { 
        --menu-bg: #112134; 
        --menu-color: #fff;
        --link-color: #fff; 
    }


.mcc{
  color: #d0b076;
  font: inherit;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.65),  
    0 0 14px rgba(255, 255, 255, 0.45), 
    0 0 24px rgba(255, 255, 255, 0.25);
}    
    

.header{
  position: sticky;
  height: 150vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: translateY(0); /* il JS aggiornerà questo valore per il parallax */
  transition: none;
}

/* Overlay */
.header__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
  transition: background 0.3s linear;
  z-index: 1;
}

.header__content{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  z-index: 2; /* sopra overlay */
}

.header__logo,
.header__quick{
  display: flex;
  align-items: center;
  color:var(--menu-color)
}

.header__menu{padding: 0;margin: 0;}
.header__menu li{display: inline-block;}
.header__menu li a{
  color:var(--menu-color);
  opacity: 1;
  display: block;
  padding: 16px;
  font-size: 15px;
}
.header__menu li a:hover{
  background: #FFF;
  color: #112134;
  transition: all 1S;
}

.header__menu{
  position: absolute; 
  top:-20px; 
  left:0; 
  background-color: var(--menu-bg); 
  opacity: 0.8; 
  width: 100%; 
  height: 100vh;
  height: 0vh; 
  overflow: hidden;
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1); 
  align-items: center; 
  text-align: center;
}

.header__menu li{
  width: 80%;
  border-bottom: 1px solid #d1b077; 
  text-align:center; 
  align-items: center;
}
.header__menu a{text-align:center;}
.menu-open .header__menu{
  height: 100vh;
  padding-top: 3%; 
  text-align: center; 
  margin-top: 20px; 
  align-items: center;
}

.icon-hamburger{
  height: 50%; 
  width: 40px;
  margin-left: 20px;
  padding-top: 5px;
}
.icon-hamburger span{
  height: 2px; 
  width: 30px;
  background: var(--menu-color);
  display: block;
  margin-top: 11px;
  transition: all 0.2s cubic-bezier(.215, .61, .355, 1);
}
.menu-open .icon-hamburger span:nth-child(1){
  transform: rotate(45deg) translateY(9px);
}
.menu-open .icon-hamburger span:nth-child(2){
  transform: rotate(-45deg) translateY(-9px);
}

.header__quick{
  display: flex; 
  justify-content: flex-end; 
  width: 50%;
}

.logo{
  width: 30%;
  cursor: pointer;
  height: 80%;
  z-index: 3; /* sopra overlay */
}

/* Caption container */
.header__caption {
  position: absolute;
  bottom: 1%;             /* 👈 parte molto bassa, anche sotto il viewport */
  right: 1%;                 /* 👈 spostata a sinistra */
  display: flex;
  flex-direction: row;
  align-items: flex-start;  /* testo e parole allineati in alto */
  gap: 20px;
  z-index: 3;
  will-change: transform, opacity;
  width: 60%;
}

/* Tre parole verticali */
.caption-words {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.caption-words span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.5rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 4px;
  opacity: 0.9;
  transform: translateY(120px); /* 👈 ancora più in basso */
  transition: transform 0.2s linear, opacity 0.2s linear;
}

/* Testo principale */
.caption-text {
  max-width: 700px;
  font-size: 2rem;
  color: #fff;
  line-height: 1.6;
  opacity: 0.9;
  transform: translateY(120px); /* 👈 più basso del viewport */
  transition: transform 0.2s linear, opacity 0.2s linear;
}





    .button-small{
        text-align: center;
    }

    .next-section {
            background: white;
            padding: 50px 20px;
            display: flex;
            gap: 100px;
            justify-content: center;
        }

         .box {
            position: relative;
            width: 500px;
            height: 500px;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.3s ease;
        }

        .box.left:hover img {
            filter: brightness(0.7);
        }

        .box.left .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            background: rgba(0, 0, 0, 0.5);
            transition: 0.3s ease;
        }

        .box.left:hover .overlay {
            left: 0;
            transition: all 1.0s;
        }

        .box.left .button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            padding: 10px 20px;
            font-size: 1rem;
            border: 2px solid white;
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .box.left .button:hover {
            background: white;
            color: black;
            border: none;
        }

        .box.right .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            background: rgba(0, 0, 0, 0.5);
            transition: 0.3s ease;
        }

        .box.right .overlay .text {
            animation: bounce 2s infinite;
        }

        .box.right .overlay .arrow {
            margin-top: 10px;
            animation: bounce-down 2s infinite;
        }

         @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        @keyframes bounce-down {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(10px);
            }
            60% {
                transform: translateY(5px);
            }
        }

        .collection{
            background-color: #112134;
        }

        .collezione-section {
      position: relative;
      width: 100%;
      height: 130vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Scritta verticale */
    .collezione-text {
      position: absolute;
      top: 54%;
      bottom: 50px;
      left: 5%;
      transform: translateY(-50%) rotate(-90deg);
      font-size: 8rem;
      font-weight: bold;
      color: #fff; /* molto chiaro, effetto secondo piano */
      white-space: nowrap;
      pointer-events: none;
      z-index: 1;
      transition: transform 0.1s linear;
    }

.images-container {
  position: relative;
  width: 60%;        
  height: 100vh;
  max-width: 100%;
  z-index: 2;
  margin: 0 auto;
}

.images-container img {
  position: absolute;
  width: auto;        /* mantiene proporzioni */
  height: 50vh;       /* altezza dominante per verticalità */
  max-width: 100%;    /* evita che escano dal contenitore */
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;    /* se vuoi effetto hover */
}

/* esempio hover */
.images-container img:hover {
  transform: scale(1.05) translateY(-5px);
}


    .images-container img:hover {
      transform: scale(1.05) translateY(-5px);
    }

     .description {
      width: 100%;
      background: #fff;
      padding: 30px 0px 30px 0px;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .description-item {
      position: relative;
      font-size: 1.2rem;
      padding-left: 40px; /* spazio per icona */
    }

      .spacer2 {
  height: 100px;
  background: #112134;
  background: linear-gradient(180deg,rgba(17, 33, 52, 1) 0%, rgba(208, 176, 118, 1) 100%);
  width: 100%;
  padding: 20px 6%;
  align-items: center;
  display: flex;
  gap: 50px;
}

.pspacer{
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  align-items: center;
}  

    .whatsapp-cta2 {
  background: #fff;
  color: #112134;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
  justify-items: center;
  align-items: center;
}
.whatsapp-cta2:hover {
  background: #d0b076;
  color: #fff;
  transform: translateY(-2px);
}

    /* Icona "fatto" */
    .description-item::before {
      content: "✔";
      position: absolute;
      left: 10px;
      top: 0;
      font-size: 1.5rem;
      color: #4caf50; /* verde */
    }

/* -------------------------------------- */
/*--------- ANIMAZIONE CASSETTI--------------*/
/* -------------------------------------- */ 

 .gallery {
    position: relative;
    height: 250vh; /* spazio per scrollare */
    background: #112134;
    margin-top: 20px;
  }
  
  .drawer {
  position: sticky;
  top: 20vh;
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
  height: 60vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 0;
  transition: opacity 300ms ease, transform 300ms ease;
}

.drawer img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 400ms ease, z-index 0ms;
}

/* L'overlay va sopra l'immagine */
.lay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 10px 30px;
  box-sizing: border-box;
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

/* Testo leggibile e visibile sempre */
.lay-text {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  z-index: 30;
  text-shadow: 1px 1px 3px black;
}


/* -------------------------------------- */
/* --------CAROSELLO IMMAGINI------------*/
/* -------------------------------------- */
.slider {
  height: 50vh;
  margin: auto;
  position: relative;
  width: 90%;
  display: grid;
  place-items: center;
}

.slider-track {
  display: flex;
  width: calc(250px * 16);
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100%{
    transform: translateX(calc(-250px * 8));
  }
}

.slide {
  height: 200px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px;
}

.slider img {
  width: 100%;
  border-radius: 10px;
  transition: transform 1s;
}

.slide img:hover {
  transform: translateZ(20px);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

    /* Separatori */
    .description-item:not(:last-child) {
      border-bottom: 1px solid rgba(0,0,0,0.1);
      box-shadow: 0 4px 6px -4px rgba(0,0,0,0.2);
      padding-bottom: 20px;
    }


    .back-to-top {
            position: fixed;
            bottom: 60px;
            right: 20px;
            padding: 10px 20px;
            font-size: 1rem;
            background: #112134;
            color: #d0b076;
            border: solid 1px;
            border-radius: 10px;
            cursor: pointer;
            z-index: 999;
        }

    .spacer {
  height: 30px;
  background-color: #ffffff;
  width: 100%;
}


/* ----------------------------- */
/* ---------FOOTER-------------- */
/* ----------------------------- */

.footer {
  background: #111;                /* colore scuro elegante */
  color: #fff;
  padding: 60px 8%;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.footer-col {
  flex: 1;
  min-width: 230px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 12px;
}

.footer-info {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  text-align: justify;
}

.footer-col.center {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

.footer-col.center a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.footer-col.center a:hover {
  color: #d1b077;
}

.whatsapp-cta {
  background: #d0b076;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.whatsapp-cta:hover {
  background: #fff;
  color: #112134;
  transform: translateY(-2px);
}

        
/* ----------------------------- */
/* VERSIONE MOBILE OTTIMIZZATA   */
/* ----------------------------- */
@media (max-width: 768px) {

  body, html {
    font-size: 14px; /* testo più piccolo su mobile */
    overflow-x: hidden;
  }

  /* HEADER */
  .header {
    height: 80vh; /* meno pesante rispetto a 150vh */
    background-position: center;
  }

  .logo {
    width: 50%;   /* logo più grande e centrato */
    height: auto;
  }

  .header__content {
    flex-direction: row;
    padding: 10px;
  }

  .header__menu {
    height: 0;
    flex-direction: column;
    font-size: 1.2rem;
  }
  .menu-open .header__menu {
    padding-top: 80px;
  }

  /* CAPTION */
  .header__caption {
    flex-direction: column;
    width: 90%;
    gap: 10px;
    right: 5%;
    bottom: 10%;
  }

  .caption-words {
    flex-direction: row;
    gap: 10px;
  }

  .caption-words span {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .caption-text {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* NEXT SECTION BOX */
  .next-section {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .box {
    width: 100%;
    height: 250px;
  }

  /* COLLEZIONE */
  .collezione-text {
    font-size: 3rem; /* più piccolo */
    top: 20%;
    left: 10%;
  }

  .images-container {
    width: 100%;
    height: auto;
  }
  .images-container img {
    height: 200px;  /* immagini più compatte */
    position: relative;
    display: block;
    margin: 20px auto;
  }

  /* DESCRIPTION */
  .description {
    gap: 20px;
  }

  .description-item {
    font-size: 1rem;
    padding-left: 30px;
    margin-right: 10px;
  }

    .slider {
    height: 55vh;
    width: 100%;
  }

  .slider-track {
    animation: scrollMobile 50s linear infinite;
  }

  @keyframes scrollMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-160px * 8));
    }
  }

  .slide {
    width: 200px;
    height: 140px;
    padding: 8px;
  }

  .slider img {
    border-radius: 8px;
  }

  .slider::before,
  .slider::after {
    width: 10%;
  }

  /* BACK TO TOP */
  .back-to-top {
    bottom: 60px;
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

 

  .images-container{
  display: none;
}

.collection{
  display: none;
}

.spacer2{
  display: grid;
  gap: 20px;
  align-items: center;
  text-align: center;
  padding: 0px;
  height: 100%;
}

.pspacer{
  font-size: 30px;
}

.whatsapp-cta2{
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

    .footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 5%;
    gap: 30px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-logo {
    width: 140px; /* logo più piccolo su mobile */
    margin-bottom: 10px;
  }

  .footer-info {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-col.center a {
    font-size: 16px;
    margin: 6px 0;
  }

  .whatsapp-cta {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-radius: 12px;
  }

}


@media (min-width: 768px) {
              .gallery {
          display: none;
        }

}




















    /* ! Grid System */
    .grid { margin: 0 auto; padding: 0 2%; max-width: 1250px; display: flex; flex-flow: row; flex-wrap: wrap;}
    .grid--center{justify-content: center;}
    .col{ flex: 1;}
    
    [class*='col-'] { position: relative;padding: 0;}
    .grid .grid [class*='col-'] {padding: 0px;}
    
    .col-20{ width: 20%; }
    .col-25{ width: 25%; }
    .col-30{ width: 30%; }
    .col-33{ width: 33.33%; }
    .col-50{ width: 50%; }
    .col-70{ width: 70%; }
    .col-80{ width: 80%; }
    .col-100{ width: 100%; }

    .col-30_Services{ width: 30%; }
    .col-50_Services{ width: 45%; }



    @media (max-width: 991px) {
        .tab-20 { width: 20%; }
        .tab-25 { width: 25%; }
        .tab-33 { width: 33.33%; }
        .tab-50 { width: 50%; }
        .tab-100 { width: 100%; }

        .content{
            width: 100%;
            font-size: 15px;
            margin: 0 0 10px 0;
        }

        .buttonmenu{
            width: 100%;
        }


    }
    
    @media (max-width: 768px) {
        [class*='col-'] { width: 100%;}
        .sma-20 { width: 20%; }
        .sma-25 { width: 25%; }
        .sma-33 { width: 33.33%; }
        .sma-50 { width: 50%; }
        .sma-100 { width: 100%; }

    }