html{
    font-size: 18px;
  }
  *{
    margin: 0!important;
    box-sizing: border-box;
    line-height: 30px;

  
  }
  body{
      word-spacing: 5px;
      letter-spacing: 1px;
      margin: 0!important;
    
        font-family: "PT Sans", sans-serif;
        font-weight: 400;
        font-style: normal;
  
  }
  :root{
    
    --color1:#2C2727;
      /* --color1:#A52A2A; */
      --color2:#2C2727;
      --color3:#FAF9F6;
      --color4:#D4AF37;
      --color5:#ECECE6;
  
  }
  /*fixed the header bar where logo tel slogan and menu*/
  #fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--color1); /* or your header background color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optional: for depth */
}

body {
    padding-top: 100px; /* Adjust depending on header height */
    background-color:var(--color3);
}
/*home hero banner image*/
.home-hero-banner{
  height: 70vh;

}
.h-30{
  width: 100vw;
  height:30vh;
}

/* this container that contains page title under menu*/
.title-container{
  background-color: var(--color3);
  min-height: 120px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 20px;
}
.title-container>h2{
padding: 0 0 30px 30px;
}
.site-logo img {
  width: 90px !important;
  height: auto;
  object-fit: contain;
  padding:0;
  margin:0;
}

.slogan{
font-size: 1.2rem;
}
.border{
  border: 1px solid #000000;
  border-radius: 10px;
}
.justify-my-text
  {
    text-align: justify;
    text-justify: inter-word;
  }

.border-bottom-left-radius{
  border-bottom-left-radius:30px;
}
/*for product cards*/
.product-container img{
  border-radius: 10px;

}
/* this is for detecting img inside product info section */
.product-info>div>div>figure{
  display: flex;
  justify-content: center;
}
.product-info>div>div>figure>img{
  width: 250px !important;
  height: auto;
}
.font-s{
  font-size: 20px;
}
.font-m{
  font-size: 40px;
}
.font-l{
  font-size: 60px;
}
.font-xl{
  font-size: 80px;
}

.bg-color1{
    background-color: var(--color1);
}
.bg-color2{
    background-color: var(--color2);
}
.bg-color3{
    background-color: var(--color3);
}

.color1{
    color: var(--color1);
}
.color2{
    color: var(--color2);
}
.color3{
    color: var(--color3);
}
.color4{
    color: var(--color4);
}

.color-goldenrod{
  color: goldenrod;
  font-size: 1.2rem;
}
.color-goldenrod:hover,
.color-goldenrod:active,
.color-goldenrod:focus,
.color-goldenrod:visited
{
  color: goldenrod;
  
}
.color7{
  color: red;
}

.service-infissi{
  border:1px solid var(--color6);
  border-radius:10px;
  padding: 20px;
  transition: 0.4s ease-in-out;
  background-color: var(--color6);

}
.service-infissi:hover{
  translate: 0 -5px;
}


.a-style{
    text-decoration: none;
}
a, a:visited,  a:hover,  a:focus{
    color: var(--color1);
    text-decoration: none;
}
.btn-link{
    color:var(--color4);
    background-color: var(--color3);
}
.a-btn-link{
color:var(--color1);
background-color: var(--color3);
text-decoration: none;
padding: 10px;
transition: 1s ease-in-out;
border: 1px solid transparent;
border-radius: 10px;

}
.a-btn-link:hover{
color:var(--color1);
background-color: var(--color2);
border: 1px solid var(--color1);
transform: translateY(5px);
}
.landing-page-prodotto-link{
  text-decoration: none;
  position: relative;
  margin-bottom:10px !important ;
  color:var(--color4);
  background-color: #0000002d;
  padding: 10px;
  border-radius: 10px;
  transition: 1s ease-in-out;
  cursor: pointer;
}
.landing-page-prodotto-link:hover{
transform: scale(1.1);
}
/*contatti in menu color change*/
#mega-menu-item-144 > a {
  color: red !important;
}
#mega-menu-item-673 > a,
#mega-menu-item-676 > a {
  color: blue !important;
}

#mega-menu-item-673 > a:hover,
#mega-menu-item-676 > a:hover {
  color: var(--color3);
}

/* footer menu*/
.footer-menu {
    display: block; 
    list-style-type: none; 
    padding: 0;
    text-align: center;
  
    
}

.footer-menu li {
    margin: 10px 0; /* Space between items */
    text-decoration: none;
    list-style-type: none;
    margin-left: 0;
}

.footer-menu a {
    text-decoration: none; /* Remove underline */
    color: var(--color3);
    display: block; 
    transition: color 0.3 ease;
    font-size: 17px;
    margin-left: 0;
   
}

.footer-menu a:hover {
    color: var(--color4);
}

/* socail media icons*/
.fa {
    padding: 10px;
    font-size: 30px;
    width: 70px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    opacity: 1;
    color: var(--color3);
    transition: 0.5s ease-in-out;

  }
  .fa:active, .fa:focus, .fa:visited{
    color: var(--color4);
  }

  
   /* Add a hover effect if you want */
   .fa:hover{
    opacity: 1;
    color: var(--color1);
    background-color: var(--color4);
  }
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    background-color: #D4AF37 !important;
    border: 5px solid #4B0082; /* colore del bordo */
    border-radius: 50%;
   
    
  }
  /* on hover is a class that selected in every div in all products*/
  .onhover{
    background-color: #535a5808;
    transition:0.5s ease-in-out;
    border-radius: 20px;
  }
  .onhover:hover {
    background-color: #3d414016;

  }

  .privacy-policy-link{
    text-decoration: none;
    font-size: 25px;
  }
  .privacy-policy-link:hover, .privacy-policy-link:focus, .privacy-policy-link:active{
    color: var(--color3);
  }
  .notranslate {
    translate: no;
}

/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Hidden below the viewport initially */
    left: 50%;
    transform: translateX(-50%); /* Center the banner */
    width: 80%; /* Adjust the width as needed */
    max-width: 400px; /* Maximum width for larger screens */
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 10px; /* Rounded corners for the square window */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: bottom 0.5s ease; /* Smooth transition for sliding */
    display: none; /* Initially hide the banner */
    z-index: 9999;
}

/* Button Styles */
.cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 3px;
}

/* Styling for the Reject button */
.cookie-banner button:last-of-type {
    background-color: #f44336; /* Red color for Reject */
}



/* Make form fields responsive */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select {
    width: 100%; /* Full width on all devices */
    max-width: 100%; /* Avoid overflow */
    box-sizing: border-box;
    height: 40px;
    border: 1px solid var(--color1);
    border-radius: 10px;
}

/* Adjust submit button */
.wpcf7-form input[type="submit"] {
    width: 100%; 
    max-width: 200px; 
    margin: 0 auto; 
    display: block;
}
.wpcf7-form input[type="submit"] {
    background-color: var(--color1); /* Default color */
    color:var(--color3); /* Text color */
    border: 1px solid var(--color4);
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.wpcf7-form input[type="submit"]:hover {
    transition: 0.3 ease-in-out;
    background-color: var(--color4);
    color:var(--color2) 
}
.wpcf7-form textarea{
  width: 100%;
  border: 1px solid var(--color3);
  border-radius: 10px;
}

.flex-column-reverse {
    flex-direction: row;
}


/* lascia il ricapito in footer*/
.a-btn-link-recapiti, 
.a-btn-link-recapiti:active, 
.a-btn-link-recapiti:focus{
  color: var(--color2) !important;
  background-color: var(--color4);
  border: 1px solid var(--color3);
  border-radius: 40px;
  min-width: 200px;
  height: auto;
  padding: 15px;
  transition: 1s ease;
  margin:0;

}

/* lascia il ricapito in footer*/
.a-btn-link-recapiti:hover{
  color: var(--color2);
  background-color: var(--color3);
  border: 1px solid var(--color1);
  border-radius: 40px;
}
/*btn class on form submit*/
.custom-submit {
  background-color: var(--color4) !important;
  color: var(--color1) !important;
  border: none;
  transition: all 0.3s ease;
}

.custom-submit:hover {
  background-color: var(--color1) !important;
  color: var(--color3) !important;
}


@keyframes moveToCenter {
  0% {
    bottom: -50px; /* Start position */
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    bottom: 30%; /* Center vertically */
    opacity: 1;
    transform: translate(-50%, 50%);
  }
}


@keyframes marquee {
  0% {
    transform: translateX(20%);
  }

  50% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(20%);
  }
}

/* Optional: Pause animation on hover */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}


  /* Media query per schermi piccoli */
@media (max-width: 768px) {
  /*home hero banner image*/
  .home-hero-banner{
    height: 30vh;
  
  }
  body {
    padding-top: 90px; /* Adjust depending on header height */

}
/*on home page header*/
  
    .title-container{
      background-color: var(--color3);
      min-height: 50px;
      display: flex;
      justify-content: flex-start;
      align-items: flex-end;
      padding:0;
      margin: 0 !important;
    }
    /* .site-logo img {
      width: 80px !important;
      height: 80px !important;
      object-fit: contain;
      padding:0;
      margin:0;
  } */
    /* contact btn on home  */
    .btn-contatti-on-home{
      width:100%;
      padding: 15px 10px;
      margin-left: 100px;
      margin-bottom:auto;
    
    }
    .a-btn-link-recapiti{
  color: var(--color1) !important;
  background-color: var(--color3);
  border: 1px solid var(--color1);
  border-radius: 40px;
  font-size: 15px;
  padding: 5px;
  height: auto;
  transition: 1s ease;
  
}

  
   
        .whatsapp-button {
          position: fixed;
          bottom: 20px;
          right: 10px;
          transition: transform 0.3s ease-in-out;
          z-index: 1000;
          
        }
 

      }
      @media (max-width: 468px) {
        .a-btn-link-recapiti{
      color: var(--color1);
      background-color: var(--color3);
      border: 1px solid var(--color1);
      border-radius: 40px;
      font-size: 10px;
      font-weight: 800;
      padding: 20px 15px;
      margin: 0;
      height: auto;
      transition: 1s ease;
      
    }
    .whatsapp-button {
      position: fixed;
      bottom: 20px;
      right: 10px;
      transition: transform 0.3s ease-in-out;
      z-index: 1000;
      
    }
  }
