/* --- Reset base --- */
*⁠  ⁠{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
      margin: 0;
      height: 300vh; 
      color: white;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;

    }
    
.seo-title {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Base block */
.seo-block {
  max-width: 900px;
  margin: 90px auto;
  padding: 18px px;
  border-radius: 10px;

  background: rgba(255,255,255,0.18);

  opacity: 1;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease, background .3s ease;
}

.seo-block p{
   font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  color: #191616;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* Hover: very subtle professional effect */
.seo-block:hover {
  background: rgba(255,255,255,0.28);
}

/* When reaching the top — smaller and more elegant */
.seo-block.at-top {
  background: rgba(255,255,255,0.32);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.sale-section {
  width: 100%;
  max-width: 1300px;
  margin: 100px auto;
  text-align: center;
  padding: 0px;
}

.sale-section h2 {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  color: #191616;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.sale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.sale-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.sale-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
  border-radius: 18px;
}

.sale-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.5s ease;
  border-radius: 18px;
}

.sale-item h3 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  text-transform: uppercase;
}

.sale-item:hover img {
  transform: scale(1.08);
}

.sale-item:hover .overlay {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}

.sale-item:hover h3 {
  opacity: 1;
  transform: translateY(0);
}

.sale-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .sale-section {
    margin: 60px auto;
  }

  .sale-item h3 {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: no-preference){
    .sale-section {
      scale: .8; opacity: 0;
      animation: fade-in linear forwards;
      animation-timeline: view();
      animation-range: entry;
    }
    @keyframes fade-in{
      from {scale: .8; opacity: 0;}
      to { scale: 1; opacity: 1;}
    }
   }

    .row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin: 10px 0;
      gap: 10px;
      width: 100%;
    }

    .row video {
      display: block;
      height: auto;
      border-radius: 8px;
    }
  
    .row-1 video {
      width: 90%;
      display:block;
      margin:auto;
    }


    @media (prefers-reduced-motion: no-preference){
    .row-1 video {
      scale: .8; opacity: 0;
      animation: fade-in linear forwards;
      animation-timeline: view();
      animation-range: entry;
    }
    @keyframes fade-in{
      from {scale: .8; opacity: 0;}
      to { scale: 1; opacity: 1;}
    }
   }

    .row-2 video {
      width: 30%;
      min-width: 200px;
    }

    .row-3 video {
      width: 30%;
      min-width: 150px;
    }


    @media (max-width: 600px) {
      .row-2 video,
      .row-3 video {
        width: 90%;
      }
    }

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  mix-blend-mode: normal;
  pointer-events: none;
  
  
}
#page-content {
  position: relative;
  z-index: 2; 
}


    .content {
      position: relative;
      z-index: 1;
      font-size: 2rem;
      padding: 100px 20px;
      line-height: 1.5;
      
    }

    p { font-family: "Segoe UI", Helvetica, Arial, sans-serif;
     line-height: 0.5em;
     color: #191616;
    }


    h5 {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
      font-size: vw;
      text-align: center;
      line-height: 0.5;
      color: #edecec;
    }

    h4 {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
     line-height: 4em;
     color: #191616;
    }

    h3 {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
      font-size: 4vw;
      text-align: center;
      line-height: 0.5;
      color: #191616;
    }

   h2 {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
      text-align: center;
      line-height: 1;
      color: #191616;
    }

    h1 {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
      font-size: 20.5vw;
      text-align: center;
      line-height: 1;
      color: #191616;
    }

    /* --- Secondo video inline --- */
    .video-wrapper {
      /*width: 100%;          /* metÃ  della larghezza della finestra */
      /*max-width: 600px;     /* limite massimo */
     /* margin: 50px auto;    / centrato orizzontalmente */
      opacity: 0;           /* inizialmente invisibile */
      transition: opacity 1s ease;
      position: relative;
    }

    .video-wrapper.visible {
      opacity: 1;
    }

    .inline-video {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    
 * ⁠{
  margin: 1;
  padding: 1;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background: #e3e3e3; 
  color: #fff;
}


.navbar {
  position: fixed;
  top: 0;
  width: 98%;
  height: 70px;
  background: rgba(0, 0, 0, 0.33);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  backdrop-filter: blur(6px);
}


.logo img {
  height: 50px;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #a0efff;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active::after {
  width: 100%;
  background-color: #a0efff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100; 
  padding: 15;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: -100%;
    background: rgba(0, 0, 0, 0.95);
    width: 220px;
    height: calc(100% - 70px);
    padding: 20px;
    gap: 20px;
    transition: right 0.3s ease;
  }
.nav-links.open{
  right: 0;
}
  .hamburger {
    display: flex;
    padding: 15px;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 54px;
    right: -100%;
    background: rgba(250, 108, 108, 0);
    width: 200px;
    height: calc(100% - 54px);
    padding: 0px;
    gap: 0px;
    transition: right 0.3s;
  }
}

.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  text-shadow: 1px 1px 6px black;
}

.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(85, 142, 168, 0.9);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 160px;
  display: none;
  flex-direction: column;
  border-radius: 4px;
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #f5f5f7;
  font-size: 14px;
  transition: 0.3s;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

@media (max-width: 900px) {
  .nav-links li a{
    display:block;
    padding: 12px 15px;
    background: rgba(85, 142, 168, 0.9);
    border-radius: 0%;
  }

  .nav-links li a:hover{
      background: rgb(170 170 170 / 21%);
  }

  .dropdown-menu li a {
    background: #66baf585;
    border-radius: 1px;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }
}

.container{
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateY(-50%);
}

#scroll-down {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999; 
  cursor: pointer; 

}

#scroll-down:hover {
  opacity: 0.8;
  transform: translateX(-50%) scale(1.1);
  transition: all 0.3s ease;
}
.arrow{
    position: relative;
    width: 42px;
    height: 5px;
    opacity: 0;
    padding: 60px;
}
.arrow::before,
.arrow::after{
    content: "";
    width: 21px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    display: inline-block;
}
.arrow::before{
    transform: rotate(45deg) translateX(25%);;
}
.arrow::after{
    transform: rotate(-45deg) translateX(-25%);;
}
.arrow:nth-child(2){
      top: 25px;
      animation: arrow1 1s ease 0.25s infinite;
    
}
@keyframes arrow1{
    from{
       opacity: 0;
       top: -25px;
    }
    to{
       opacity: 0;
       top: 0px;
    }
    50%{
      opacity: 1;
    }
}
@keyframes arrow2{
    from{
       opacity: 0;
       top: -35px;
    }
    to{
       opacity: 0;
       top: 10px;
    }
    50%{
      opacity: 1;
    }
}

.scroll-arrow-top {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-arrow-top .arrow {
  position: relative;
  width: 42px;
  height: 2px;
  margin: 0 auto;
  animation: arrowDown 1.2s ease infinite;
}

.scroll-arrow-top h5 {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-top: 8px;
}

@keyframes arrowDown {
  0% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.4; }
}

@media (min-width: 768px) {
  #scroll-top-android {
    display: none;
  }
}

.map-container{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #fff;
}
.box{
  max-width: 600px;
  border-radius: 4px;
}

.text-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 30px;
  text-align: center;
}

.text-container h1{
  font-size: 4em;
  margin-bottom: 15px;
  color: #191616;
}

.text-container p{
  font-size: 0,5em;
  line-height: 1.5;
  color: #191616;
}
.map-container iframe{
   border-radius: 10px;
   width: 80%;
   height: 600px;
   transition: 0.3s ease-in-out;
}
.map-container iframe:hover{
  transform: scale(1.05);
}

@media (prefers-reduced-motion: no-preference){
    .map-container {
      scale: .8; opacity: 0;
      animation: fade-in linear forwards;
      animation-timeline: view();
      animation-range: entry;
    }
    @keyframes fade-in{
      from {scale: .8; opacity: 0;}
      to { scale: 1; opacity: 1;}
    }
   }

.social-container{
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 20px;
  margin-top: 20px;
} 

.social-container a{
   background-color: #fff;
   padding: 0.5em;
   border-radius: 50%;
   width: 64px;
   height: 64px;
   box-sizing: border-box;
   flex-shrink: 0;
   display: grid;
   place-items: center;
   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.33);
   transition: transform 0.3s ease;
}
.social-container a:hover{
   transform: scale(1.1); 
}
.social-container a svg{
  height: 32px;
  fill: rgb(0, 0, 0);
}

.img-fit {
  object-fit:cover;
  border-radius: 20px;
}

.image {
      width: 60%;
      max-width: 1200px;
      margin: 40px auto;
      text-align: center;
    }

.image h3 {
      color: #191616;
      margin-top: 10px;
      font-size: 1.5rem;
    }

.responsive-img {
 width: 100%;
 height: auto;
 display: block;
 border-radius: 20px;
 object-fit: cover;
}    

.logo-under{
  object-fit:cover;
  border-radius: 20px;
}


.contact-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.contact-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}


.contact-buttons a img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}


.btn-call {
  background-color: #e53935;
}

.btn-whatsapp {
  background-color: #25D366;
}

.contact-buttons a:hover {
  transform: scale(1.08);
  background-color: rgba(0, 0, 0, 0.1);
}

.btn-text {
  font-size: 16px;
  color: #fff;
}

@media (max-width: 768px) {
  .contact-buttons {
    bottom: 15px;
    right: 15px;
  }

  .contact-buttons a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .contact-buttons a img {
    margin: 0;
    width: 28px;
    height: 28px;
  }

  .btn-text {
    display: none; 
  }
}


.animated-text {
  position: relative;
  perspective: 1000px;
  font-family: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  color: #111;
  letter-spacing: 1.5px;
  height: 1.5em;
  overflow: visible;
}

.animated-text .word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: rotateX(-90deg);
  transform-origin: center;
  animation: rotateWord 12s linear infinite;
}

.animated-text .word:nth-child(1) { animation-delay: 0s; }
.animated-text .word:nth-child(2) { animation-delay: 3s; }
.animated-text .word:nth-child(3) { animation-delay: 6s; }
.animated-text .word:nth-child(4) { animation-delay: 9s; }

@keyframes rotateWord {
  0%   { transform: rotateX(90deg); opacity: 0; }
  10%  { transform: rotateX(0deg);  opacity: 1; }
  25%  { transform: rotateX(0deg);  opacity: 1; }
  35%  { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(-90deg); opacity: 0; }
}

body.light-mode {
  background-color: #9ec6d1;
  color: #191616;
}

body.dark-mode {
   background-color: #051a24f7;
  color: #f5f5f5;
}

body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: #f5f5f5 !important;
}

body.dark-mode .navbar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 15px;
}

body.light-mode .theme-toggle {
  color: #111;
  border-color: #111;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    margin-left: -35px;
    border-width: 1.5px;
    
  }

 .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
}
}


