/* NAVIGAZIONE */

/*HEADER*/
.logoname img {
  float: left;
  width: 320px;
  height: 70px;
  margin-top: 20px;
  margin-left: 0%;
  background: #555;
}

.logoname h1 {
  position: relative;
  top: 18px;
  left: 7px;
}

.logoname h2{
  font-family: DINfunProPlain;
  font-weight: bold;
  float: left;
  font-size: 40px;
  margin-top: 15px;
  margin-left: 14px;
}

.nav-links {
  float: right;
  margin-right: 0%;
  margin-top: 50px;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-family: Montserrat-medium;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555;
}

.nav-links a.active {
  font-weight: bold;
}

/* For responsive design */
@media screen and (max-width: 768px) {
  .nav-links {
      float: none;
      clear: both;
      text-align: center;
      margin: 10px 0;
  }
  
  .nav-links a {
      display: block;
      padding: 8px 0;
  }
}

@font-face {
  font-family: Montserrat-medium;
  src: url("font/Montserrat-Medium.otf") format("opentype");
}
@font-face {
font-family: Montserrat-Light;
src: url("font/Montserrat-Light.otf") format("opentype");
}


@font-face {
  font-family: Montserrat-Black;
  src: url('font/Montserrat-Black.otf') format('opentype');
}



/*HOME FIRST IMG*/
.image-row {
  display: flex;
  justify-content: space-between; /* Space evenly between images */
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 10px; /* Space between images */
  width: 100%; /* Ensure the row takes full width */
  overflow: hidden; /* Prevent content from overflowing */
}

.grid-image {
  width: 23%; /* Make each image take exactly 25% of the row */
  height: auto;
  max-width: 100%;
  object-fit: cover; /* Maintain aspect ratio */
}



.nav-small-icon {
  width: 40px;  /* Adjust size as needed */
  height: 27px;  /* Adjust size as needed */
  vertical-align: middle;
  margin-left: 10px;
}

.nav-icon {
  padding: 10px 0 !important;  /* Override default link padding */
}

/* For responsive design - adjust icon position on mobile */
@media screen and (max-width: 768px) {
  .nav-small-icon {
      margin: 0 auto;
      display: block;
  }
}

.topnavBURG {
  background-color: white;
  position: relative;
  padding: 0 6%; /* Add padding to the left and right */
  padding-bottom: 20px;
  margin-bottom: 30px;
  overflow: hidden;
  max-width: 1200px; /* Set maximum width */
  margin-left: auto; /* Center the navbar */
  margin-right: auto; /* Center the navbar */
}

.view-container {
background-color: white;
position: relative;
padding: 0 6%; /* Add padding to the left and right */
padding-bottom: 20px;
margin-bottom: 30px;
overflow: hidden;
max-width: 1200px; /* Set maximum width */
margin-left: auto; /* Center the navbar */
margin-right: auto; /* Center the navbar */
}


.topnavBURG::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Centers the line */
  width: 100%; /* Matches the parent width */
  max-width: 1200px; /* Same as .view-container */
  height: 1px; /* Adjust the height of the line as needed */
  background-color: #000; /* Set the color of the line */
}



.view {
  height: 80vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start; /* Snap each view to the start */
  width: 100%; /* Ensure the view takes full width of the container */
  box-sizing: border-box; /* Include padding in the element's total width */
}

/* Different background colors for each view */
#view1 {
  
  background-color: white; /* Blue */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20% 0% 0%; /* Add padding: top 10vh, sides 10%, bottom 20vh */
}

#view2 {
  background-color: white; /* Red */
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Center text horizontally */
}

#view3 {
  height: 90vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0%; /* Add padding to the sides */
}
#view3 .small-text {
font-size: 1.2em; /* Adjust size as needed */
font-family: Montserrat-Light;
color: black; /* Set font color */
margin-bottom: 20px; /* Space between text and image */
}

#view5 .small-text {
font-size: 1.2em; /* Adjust size as needed */
font-family: Montserrat-Light;
color: black; /* Set font color */
margin-bottom: 20px; /* Space between text and image */
}

#view4 {
  background-color: white; /* Yellow */
  display: flex;
  flex-direction: column; /* Stack text and image vertically */
  justify-content: center;
  align-items: center;
  text-align: center; /* Center text horizontally */
  padding: 20% 0% 20%; 
}

#view4 .small-text {
  font-size: 1.2em; /* Adjust size as needed */
  font-family: Montserrat-Medium;
  color: black; /* Set font color */
  margin-bottom: 40px; /* Space between text and image */
}

#view4 .full-image {
  max-width: 100%; /* Ensure the image does not exceed 95% of the viewport width */
  max-height: 70vh; /* Limit the height to 70% of the viewport height */
  object-fit: contain; /* Maintain aspect ratio */
}

#view4 .red-font {
font-size: 1.6em;
font-family: Montserrat-Black; /* Apply the different font */
color: #861a22;
font-weight: bold; /* Adjust weight if needed */
}

#view4 .red-font-thin {
font-family: Montserrat-light; /* Apply the different font */
color: #861a22;
font-weight: bold; /* Adjust weight if needed */
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content within the container */
  width: 100%;
  gap: 20px; /* Add space between the image and text */
}

.text-content {
  flex: 1;
  font-family: Montserrat-Light; /* Apply the different font */
  color: black;
  font-size: 1em; /* Adjust size as needed */
  padding: 0 0px; /* Space between text and image */
}

.red-title {
  font-size: 1.8em; /* Adjust size as needed */
  font-family: Montserrat-Black; /* Apply the different font */
  color: #861a22; /* Red title */
  margin-bottom: 10px; /* Space between title and description */
}

.side-image {
  max-width: 40%; /* Adjust size as needed */
  height: auto;
  flex: 1;
}

/* Fix the navbar to the top */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Ensure it stays above other content */
}

/* Add padding to the body to prevent content from being hidden behind the fixed navbar */
body {
  padding-top: 70px; /* Adjust based on the height of your navbar */
  scroll-snap-type: y mandatory; /* Enable vertical snap scrolling */
}

.full-image {
  max-width: 95%; /* Ensure the image does not exceed 95% of the viewport width */
  max-height: 70vh; /* Limit the height to 70% of the viewport height */
  margin: auto; /* Center the image horizontally */
  display: block; /* Center the image vertically */
  object-fit: contain; /* Maintain aspect ratio */
}

/* Add styles for text in view2 */
.text-container {
  display: flex;
  flex-direction: column; /* Stack text vertically */
  align-items: center; /* Center text horizontally */
}

#view2 .large-text {
  font-size: 3.6em; /* Adjust size as needed */
  font-weight: bold;
  font-family: Montserrat-Light;
  margin-bottom: 20px; /* Space between large and small text */
  color: black; /* Set font color */
}

#view2 .small-text {
  font-size: 1.6em; /* Adjust size as needed */
  font-family: Montserrat-Light;
  color: black;
}

#view2 .bold-font {
  font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
}

#view3 .bold-font {
  font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
}

#view5 {
  background-color: white; /* Adjust background color as needed */
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  padding: 0 0%; /* Add padding to the sides */
}
#view5 .bold-font {
  font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
}

#view1 .full-image {
  width: 100%; /* Make the image take the full width of its container */
  max-width: 100%; /* Ensure it does not exceed the container's width */
  height: auto; /* Maintain aspect ratio */
  border-top: 300px;
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
}

#view5 .text-content {
  text-align: right; /* Align text to the right */
  /* Other existing styles */
}

/* Footer General Styles */
footer {
background-color: #d7d8d7; /* Light gray background */
color: black; /* Black font */
padding: 0px 0; /* Add padding above and below the footer content */
font-family: Montserrat-Light;
}

.footer-container {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.footer-content {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
padding: 20px 0;
}

.contacts, .hours {
flex: 1;
margin-left: 60px;

}

.hours{
margin-left: 90px;
}

.logo {
flex: 1;
text-align: center;
display: flex;
justify-content: center; /* Center the image horizontally */
align-items: center; /* Center the image vertically */
height: 100%; /* Ensure the container takes full height if needed */
}

.logo img {
  display: block; /* Make the image a block-level element */
  margin: 0 auto; /* Center the image horizontally */
  max-width: 150px;
}

h3 {
font-family: Montserrat-Medium;
font-size: 18px;
margin-bottom: 10px;
text-transform: uppercase;
}

p {
font-size: 14px;
margin: 5px 0;
}

/* Link Styling */
a {
color: black;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

/* "CONTATTACI" Bar */
.contact-bar {
background-color: #861a22; /* Burgundy background */
color: white; /* White text */
text-align: center;
padding: 20px 0; /* Add padding above and below the contact bar text */
font-family: Montserrat-Medium;
font-size: 16px;
text-transform: uppercase;
}

.contact-bar p {
margin: 0;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
.footer-container {
    flex-direction: column;
    text-align: center;
}

.contacts, .hours {
    margin: 0 auto 20px;
}
}

.bold-text-footer {
  font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
}

.underline-link {
  text-decoration: underline; /* Underline the text */
  color: inherit; /* Inherit the color from the parent element */
  cursor: pointer; /* Change cursor to pointer on hover */
}

.underline-link:hover {
  text-decoration: none; /* Optionally remove underline on hover */
}





/* SERVIZI*/
.image-row {
display: flex; /* Align items in a row */
justify-content: space-between; /* Distribute space between items */
align-items: flex-start; /* Align items at the start, so images stay top-aligned */
flex-wrap: wrap; /* Allow items to wrap on small screens */
gap: 20px; /* Increase space between items */
}

.image-container {
flex: 1; /* Distribute space equally */
max-width: calc(25% - 20px); /* Adjust width to fit 4 items in a row, accounting for increased gap */
display: flex; /* Use flex to control layout of image and text */
flex-direction: column; /* Stack image and text vertically */
align-items: flex-start; /* Align items to the start (left) */
margin: 10px; /* Add margin to create more space around each image container */
text-decoration: none; /* Remove underline from links */
color: inherit; /* Ensure text color matches the surrounding text */
}

.image-container img {
width: 100%; /* Make image fill the container */
height: auto; /* Maintain aspect ratio */
align-self: center; /* Center image if container is wider than image */
}

.image-container p {
font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
margin-top: 20px; /* Add space between image and text */
font-size: 1.0em; /* Adjust text size */
text-align: left; /* Align text to the left */
width: 100%; /* Ensure text spans the full width of its container */
}
#view4 .small-text-serv {
font-size: 2em; /* Adjust size as needed */
font-family: Montserrat-Medium;
color: black; /* Set font color */
}

#view4 .small-text-serv-btm {
font-size: 2em; /* Adjust size as needed */
margin-top: 10px;
margin-bottom: 70px;
font-family: Montserrat-Medium;
color: black; /* Set font color */
}

.text-with-line {
  display: inline-flex; /* Use inline-flex to tightly wrap the content */
  position: relative; /* Position relative for the pseudo-element */
  align-items: baseline; /* Align items to the baseline to match text height */
}

.text-with-line::after {
  content: "";
  display: block;
  width: calc(100% + 10px); /* Make the line slightly wider than the text */
  border-bottom: 1px solid #861a22; /* Thin red line */
  position: absolute;
  bottom: -5px; /* Position the line 5px below the text */
  left: 50%; /* Start the line from the center */
  transform: translateX(-50%); /* Center the line by shifting it left */
}


.nav-links a {
  color: gray; /* Set default color to gray for non-selected items */
  text-decoration: none;
  font-family: Montserrat-medium;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555; /* Optional: Change hover color if needed */
}

.nav-links a.active {
  color: #000; /* Highlight the selected item with a different color, e.g., black */
  font-weight: bold;
}




/*PRODUCT*/
#viewPR {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0%; /* Add padding to the sides */
}
#viewPR .small-text {
font-size: 1.5em; /* Adjust size as needed */
font-family: Montserrat-Light;
color: black; /* Set font color */
margin-bottom: 20px; /* Space between text and image */
}

#viewPR .bold-text-tit {
  font-size: 1.7em; /* Adjust size as needed */
  font-family: Montserrat-Medium;
  color: black; /* Set font color */
  margin-bottom: 20px; /* Space between text and image */
  }

  #viewPR .bold-text-tit-price {
    font-size: 2.4em; /* Adjust size as needed */
    font-family: Montserrat-Medium;
    color: black; /* Set font color */
    margin-bottom: 20px; /* Space between text and image */
    }
 
  #viewPR .bold-text-tit-red{
    font-size: 1.7em; /* Adjust size as needed */
    font-family: Montserrat-Medium;
    color: #861a22; /* Change font color to red */
    text-decoration: line-through; /* Add strikethrough */
    margin-bottom: 20px; /* Space between text and image */
  }
  
 

  #viewPR .smaller-text-bold {
    font-size: 1.1em; /* Adjust size as needed */
    font-family: Montserrat-Medium;
    color: black; /* Set font color */
    margin-bottom: 20px; /* Space between text and image */
    }

#viewPR .smaller-text {
  font-size: 0.97em; /* Adjust size as needed */
  font-family: Montserrat-Light;
  color: black; /* Set font color */
  margin-bottom: 20px; /* Space between text and image */
  }

#viewPR .bold-font {
  font-family: Montserrat-Medium; /* Apply the different font */
  font-weight: bold; /* Adjust weight if needed */
}

.product-detail-line {
  width: 200px; /* Set the width of the line */
  border: 1px solid #000; /* Example styling: solid, black line */
  margin-top: 20px; /* Add some space above the line */
  margin-bottom: 20px; /* Add some space below the line */
  margin-left: 0; /* Align the line to the left */
  margin-right: auto; /* Keep right margin auto */
}


.info-request-button {
  background-color: #861a22; /* Button color */
  color: white; /* Text color */
  border: none; /* Remove default border */
  padding: 10px 70px; /* Button padding */
  text-align: center; /* Center text */
  text-decoration: none; /* Remove text decoration */
  font-family: Montserrat-Medium;
  display: inline-block; /* Allow setting dimensions */
  font-size: 16px; /* Text size */
  margin: 4px 2px; /* Optional: Adjust spacing around the button */
  cursor: pointer; /* Change cursor to pointer on hover */
  border-radius: 0; /* Square corners */
}


/*PRODUCT PAGE*/
.product-gallery{
  width:420px;
}
.image-viewer{
  width:100%;
  height:400px;
  padding:20px;
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  align-items:center;
}
.image-viewer img{
  max-width:100%;
}
.image-thumb{
  width:100%;
  display:flex;
  justify-content:space-between;
}
.image-thumb img{
  height:60px;
  border:1px solid grey;
  padding:5px;
  opacity:0.6;
}
.product-gallery .active{
  opacity:1!important;
  border:1px solid red!important;
}

/*<img src="../imgs/products/001/1.png" alt="Description Image" class="side-image" />*/

/* mobile*/
.product-gallery .active {
  opacity: 1 !important;
  border: 1px solid red !important;
}

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
  .product-gallery .active {
    opacity: 0.8 !important; /* Slightly lower opacity for mobile */
    border: 1px solid #ff0000 !important; /* Keeping the border red, adjust as needed */
    /* Add any additional mobile-specific styles here */
  }
}
