/* General body styles */
body {
  font-family: Arial, sans-serif;
  background-color: rgb(36, 36, 36); /* Background color */
  color: white; /* Text color */
  margin: 0;
  padding: 0;
  transition: opacity 0.5s ease; /* Smooth transition for page opacity */
  opacity: 1;
}

h1, h2, h3, .sort_options {
  padding: 10px 20px;
}




/* ---------------Header styles ----------------------------------*/
/* Header styles */
header {
  background-color: rgb(255, 125, 0);
  padding: auto;
  transition: background-color 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  width: 125px;
}

/* Desktop navigation styles */
nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: black;
}

/* Hide the menu icon on desktop */
.menu_icon {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Media query for screens 1309px and below */
@media (max-width: 1309px) {
  nav ul {
    display: none;
    flex-direction: column;
    text-align: center;
    width: 100%;
    background-color: rgb(255, 125, 0);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    display: block;
    padding: 10px 5px;
  }

  /* Show the menu icon on mobile */
  .menu_icon {
    display: block;
    margin: 20px
  }

}

/* Main content styles */
main {
  padding: 0;
  opacity: 1; /* Start fully opaque */
  transition: opacity 0.5s ease; /* Smooth transition for opacity */

}













/* ----------------------Styling for the email subscription section----------------------- */
.email_subscription {
  height: 70vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background-image: url('Sub_background.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  background-attachment: fixed; /* Keeps the background in place while scrolling */
  width: 99.3vw; /* Full viewport width */
  margin: 0;
  padding: 0;
  color: white; /* White text for better contrast */
  box-sizing: border-box; /* Ensures padding and borders are included in the element's width and height */
  padding: 20px;
}

.email_subscription h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.email_subscription p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.email_subscription form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email_subscription input[type="email"] {
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  margin-bottom: 20px;
  width: 300px;
}

.email_subscription button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.email_subscription button:hover {
  background-color: darkorange;
}



/*-------------about us---------------------------------------------------------*/
.about_us{
  color: white; /* White text for better contrast */
  box-sizing: border-box; /* Ensures padding and borders are included in the element's width and height */
  padding: 20px;
  text-align: center;
}



/*--------------------------------------------------------------------------------------*/
.featured_builds {
  color: White; /* White text for better contrast */
  box-sizing: border-box; /* Ensures padding and borders are included in the element's width and height */
  padding: 20px;
  text-align: center;
}


/* Slider styles */
.slider_landing {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.active_slide {
  display: block;
  padding: 20px;
}

.slider_landing img {
  width: 100%;
  display: block;
  z-index: 1;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.685); /* Add a soft glow underneath */
}
.slider_landing img:hover {
  transform: scale(1.05);
}

.slider_landing .slider_btn_next,
.slider_landing .slider_btn_prev {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: orange;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  user-select: none;
  z-index: 10;
  transform: translateY(-50%); /* Center vertically */
}


.slider_landing .slider_btn_next {
  right: 10px; /* Move it to the right but keep it visible */
}

.slider_landing .slider_btn_prev {
  left: 10px; /* Move it to the left but keep it visible */
}

.slider_landing .slider_btn_next:hover,
.slider_landing .slider_btn_prev:hover {
  transform: translateY(-50%) scale(1.6); /* Keep vertically centered and scale */
  color: red;
}


/*-------------------links latest youtube video--------------------------*/
.video_wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video_wrapper iframe {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 70%;
}


/*-----------------------media links--------------------------------*/
.links  {
  text-align: center;
  color: white;
  padding-bottom: 100px;

}
.links img{
  max-width: 40px;
  height: auto;
}

.links img:hover{
  transform: scale(1.3);
}

.upcoming_projects {
  color: White; /* White text for better contrast */
  box-sizing: border-box; /* Ensures padding and borders are included in the element's width and height */
  padding: 20px;
  text-align: center;
  
}








/* ---------------------------Build and product styles ------------------------------*//* Featured builds and product list styles */

.sold_out{
  text-align: center;
  color:rgb(255, 125, 0);
}


.product_list {
  display: flex;
  justify-content: space-around; /* Evenly space items */
  flex-wrap: wrap;  /* Allow products to wrap to the next line */
  box-sizing: border-box;
  padding: 30px 20px;
  padding-bottom: 60px;
  text-align: center;
 
}

/* Adjust layout for mobile devices */
@media (max-width: 1309px) {
  .product_list {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center the items */
    padding: 10px;
  }

  .product img {
    width: 90%; /* Scale down the product image */
    max-width: 300px; /* Set a maximum width to prevent oversized images */
  }
}


.product {
  text-align: center;
  flex: 1 1 calc(25% - 20px); /* 3 items per row with space between */
  transition: transform 0.3s ease; /* Smooth transition for transform */
}

.product img {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.685); /* Add a soft glow underneath */
  width: 400px;
  height: auto;
}

.product:hover {
  transform: scale(1.05); /* Scale up on hover */
  cursor: pointer;
}





/* -------------------------Popup styles ---------------------------------------*/
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0, 0, 0, 0.45);
  padding-top: 60px;
}

.popup_content {
  background-color: rgb(36, 36, 36);
  margin: 5% auto;
  padding: 20px;
  box-shadow: 0px 0px 5px rgba(255, 125, 0, 0.685); /* Add a soft glow underneath */
  width: 80%;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer; /* Add cursor style */
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer; /* Add cursor style */
}



.popup_text {
  max-width: 50%;
}

.popup_slider {
  position: relative;
}

/* Base style for popup slider images */
.popup_slider img {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.685); /* Add a soft glow underneath */
  width: 40vw; /* Make the width 40% of the viewport width */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure the image behaves as a block element */
  margin: 0 auto; /* Center the image horizontally */
  position: relative;
}

/* Adjust layout for mobile devices */
@media (max-width: 1309px) {
  .popup_slider img {
    width: 70vw; /* Increase the width to 70% for smaller screens */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Ensure the image stays centered */
  }
}

.popup_slider .prev,
.popup_slider .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.popup_slider .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.popup_slider .prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.popup_slider .prev:hover,
.popup_slider .next:hover {
  background-color: rgba(0,0,0,0.8);
}












/*--------------------------------------- Additional styles for form ---------------------------------*/
.contact_background {
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background-image: url('contact_1.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  background-attachment: fixed; /* Keeps the background in place while scrolling */
  width: 99.3vw; /* Full viewport width */
  margin: 0;
  padding: 0;
  color: white; /* White text for better contrast */
  box-sizing: border-box; /* Ensures padding and borders are included in the element's width and height */
  padding: 20px;
  background-blend-mode: color-burn;
}
form {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: 0 auto;
}

form label {
  margin-top: 10px;
}

form input, form textarea {
  padding: 10px;
  margin-top: 5px;
}

form button {
  background-color: orange;
  color: white;
  padding: 10px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: rgb(255, 125, 0);
}








/*----------------------Footer styles -------------------------------------------------*/
footer {
  background-color: rgb(255, 125, 0);
  text-align: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  bottom: 0; /* Stick to the bottom */
  transition: background-color 0.5s ease; /* Smooth transition for background color */
}
