@import url(basic.css);
@import url(fonts.css);
@font-face {
  font-family: "Mulish";
  font-style: light;
  font-weight: 300;
  src: url("https://fonts.googleapis.com/css2?family=Mulish:wght@300&display=swap");
}
:root {
  --primary-color: #756f6f;
  --secondary-color: #5b5f62; /* menu-gray */
  --background-color: #f8f9fa;
  --white-color: #fff;
  --menu-color: #114779;
  --green-color: #2d6e62;
  --red-dot-color: #ed3337;
  --specialty-blue: #114779;
  --specialty-text-blue: #104678;
  --specialty-light-blue: #88b6d3;
  --font-family: "Mulish", sans-serif; /* Define the font family variable */
  --container-width: 84%;
  --specialty-text-highlight: #b3af54;
  --specialty-lime-green: #c1d62e;
  --specialty-lime-green-hightlight: #aec12b;
  --specialty-menu-grey: #5b5f62;
  --specialty-menu-grey-hover: #333333;
}

body {
  font-family: var(--font-family); /* Apply the font family to the body */
}
.w-100 {
  width: 100%;
}
.w-80 {
  width: 80%;
}
.container-wrapper {
  width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  row-gap: 2rem;
  margin-bottom: 2rem;
}

/* Header */

header {
  background-color: var(--white-color);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}
header .header-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
header .header-mobile {
  display: none;
}
header .menu-panel,
header .menu-button {
  display: none;
}
.header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
/* header .header-item {
  flex: 1 1 auto;
} */
header .header-item.logo {
  margin-bottom: 1.5rem;
}
header .logo img {
  /* width: 170px; */
  height: 80px;
}
.header-panel {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.header-panel .header-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.header-panel .header-links li {
  list-style: none;
  margin-right: 1rem;
}
.header-links li a {
  text-decoration: none;
  color: var(--specialty-text-blue);
  font-size: 20px;
  font-weight: 400;
}
.header-links li a:hover {
  /* text-underline-offset: 5px;
  text-decoration: underline; */
  color: var(--specialty-text-highlight);
}
header .header-search form {
  display: flex;
  flex-direction: row;
  align-items: center;
}
header .header-search .search-box {
  width: 274px;
  height: 37px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 2px;
  padding: 5px 15px;
}
header .header-search .search-box::placeholder {
  opacity: 0.5; /* Adjust the opacity value as needed */
}
header .header-search form button {
  border: 0;
  cursor: pointer;
  background-color: var(--white-color);
}
header .header-search .search-button img {
  width: 32px;
  height: 32px;
  margin-left: 3px;
  color: var(--menu-color);
  vertical-align: bottom;
}
header .header-right {
  display: flex;
  flex-direction: column;
  align-items: end;
}
header .header-wrapper .header-title {
  font-weight: 400;
  font-size: 22px;
  color: var(--specialty-menu-grey);
  line-height: 1.5;
  text-align: left;
  letter-spacing: 3.5px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-family: sans-serif;
}
header .header-wrapper .header-title a,
header .header-wrapper .header-title a:visited {
  text-decoration: none;
  color: var(--specialty-menu-grey);
  flex-direction: column;
  display: flex;
}
header .header-wrapper .header-title a:hover,
header .header-wrapper .header-title a:visited:hover {
  color: var(--specialty-menu-grey);
}

.header-title span {
  display: block;
}

.header-title span.lighting {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.lighting span:nth-child(2) {
  font-weight: bold;
}
.lighting span:last-child {
  font-weight: bold;
}

.lighting span:nth-last-child(2) {
  font-weight: bold;
}
header li:hover > .sub_menu,
header .sub_menu li:hover > .sub_menu {
  display: block;
}

header .sub_menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f9f9f9;
  width: auto;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

header .sub_menu li {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  margin: 0;
}

header .sub_menu li a {
  color: black;
  text-decoration: none;
  display: block;
  margin: 0;
}

header .sub_menu .sub_menu {
  top: 0;
  left: 100%;
  display: none; /* Add this line */
  margin: 0;
}
header .header-mobile {
  display: none;
}
header #toggleHeaderPanel {
  display: none;
}
header .header-buttom {
  display: flex;
  justify-content: end;
}
/* main */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* main section - carousel image */
.main-carousel {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  gap: 2rem;
}
.main-carousel img {
  width: 100%;
  height: auto;
}

.pagination .circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  margin: 0 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.pagination .circle:hover {
  background-color: #999;
}

.pagination .selected {
  background-color: #000;
}

/* footer */
footer {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  /* row-gap: 40px; */
}

/* Products nav */
.product-nav,
.product-nav-mobile {
  background-color: var(--specialty-light-blue);
}
.product-nav-mobile {
  display: none;
}
.product-nav {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 50px;
  display: flex; /* Add this line */
  justify-content: center; /* Add this line */
  align-items: center; /* Add this line */
}
.product-nav ul {
  width: var(--container-width);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-nav ul li {
  flex: 1 1 auto;
  font-weight: 300;
  font-size: 16px;
  color: var(--secondary-color);
  line-height: 1.5;
  text-align: left;
}
.product-nav ul li a {
  text-decoration: none;
  color: var(--white-color);
}
.product-nav ul li a:hover {
  text-decoration: none;
  color: var(--white-color);
}
.footer-nav-mobile {
  display: none;
}
/* footer navs */
.footer-nav {
  align-items: center;
  display: flex;
  height: 50px;
}
.footer-nav,
.footer-nav-mobile {
  background-color: var(--specialty-blue);
}
.footer-nav ul {
  width: 84%;
  margin-left: auto;
  margin-right: auto;
  height: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3%;
  list-style: none;
  margin-bottom: 0px;
}

.footer-nav ul li {
  flex: 1 1 auto;
  font-weight: 300;
  font-size: 16px;
  color: var(--white-color);
  line-height: 1.5;
  text-align: left;
}
.footer-nav ul li a {
  text-decoration: none;
  color: var(--white-color);
}
/* .footer-nav ul li a:hover {
  color: var(--specialty-text-highlight);
} */
#interiorhero {
  height: 155px;
  background: var(--specialty-blue);
  color: var(--white-color);
  overflow: hidden;
  padding: 25px;
  text-align: center;
  display: none; /* Add this line */
  align-items: center; /* Add this line */
  justify-content: center;
}
#interiorhero h1:after {
  content: " ";
  display: block;
  width: 110px;
  border-bottom: 3px solid var(--white-color);
  margin: 10px auto 0 auto;
}
/* Breadcums */
.breadcums {
  margin-top: 1rem;
}
.breadcums a {
  font-weight: 400;
  font-size: 18px;
  color: var(--secondary-color);
  line-height: 1.5;
  text-align: left;
}
.breadcums a.selected {
  font-weight: 300;
  color: var(--specialty-text-highlight);
}
.breadcums a:hover {
  color: var(--specialty-lime-green-hightlight);
  text-decoration: none;
}

/* Button */

.button {
  height: 37px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 2px;
  padding: 5px 25px;
  background-color: var(--specialty-lime-green);
  color: var(--white-color);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  border: none;
}
.button:hover {
  background-color: var(--specialty-lime-green-hightlight);
  transition: background-color 0.3s ease;
}
.button:active {
  opacity: 0.8;
}

.red-button {
  background-color: var(--red-dot-color);
}

#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  text-decoration: none;
  color: #000000;
  background-color: #dddddd;
  padding: 10px;
  display: none;
}
.product-nav-mobile ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  list-style: none;
}

.product-nav-mobile ul li {
  flex: 1 1 auto; /* Start with a flexible basis and allow shrinking */
  font-weight: 300;
  font-size: 18px;
  color: var(--secondary-color);
  line-height: 1.5;
  text-align: left;
  padding-left: 2rem;
}
footer .product-nav-mobile ul li a {
  text-decoration: none;
  color: var(--secondary-color);
}
footer .product-nav-mobile ul li a:hover {
  color: var(--secondary-color);
}
footer .product-nav-mobile ul li {
  flex-basis: calc(25% - 20px); /* Example for 4 columns, adjust as needed */
}

.footer-nav-mobile ul {
  width: 84%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5%;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-mobile ul li {
  flex: 1 1 auto;
  font-weight: 300;
  font-size: 18px;
  color: var(--white-color);
  line-height: 1.5;
  text-align: left;
  flex: 1 1 auto;
}
.footer-nav-mobile ul li a {
  text-decoration: none;
  color: var(--white-color);
}
.footer-nav-mobile ul li a:hover {
  text-decoration: underline;
}
.header-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991px) {
  .container-wrapper {
    /* margin-left: 0%; */
  }
  footer .product-nav {
    display: none;
  }
  footer .footer-nav {
    display: none;
  }
  footer .product-nav-mobile {
    display: block;
  }
  footer .footer-nav-mobile {
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  header {
    position: fixed;
    flex-direction: column;
    width: 100%;
    z-index: 1000;
    left: 0;
    padding-bottom: 2rem;
    align-items: stretch;
  }
  header .header-wrapper {
    width: 90%;
    align-self: center;
  }
  header .header-item.header-panel {
    display: none; /* Hide the header links */
  }
  header .menu-panel {
    display: flex;
    gap: 0.5rem;
  }
  header .menu-panel .search-button {
    border: none;
    background-color: white;
  }
  header .menu-button {
    display: block; /* Show the menu button */
    cursor: pointer; /* Change the cursor to a pointer */
  }
  header .header-mobile {
    align-self: flex-end;
    position: fixed;
    top: 153px;
    right: 50%;
    width: 500px;
    z-index: 1000;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 4px -2px rgba(0, 0, 0, 0.1),
      0 4px 4px -2px rgba(0, 0, 0, 0.1);
  }
  /* Add a class for toggling the display of the header/side menu */
  .header-visible {
    display: block; /* Show the header/side menu */
    transform: translateX(0);
  }
  /* .header-panel .header-links {
    flex-direction: column;
  } */
  .header-mobile .header-links li {
    margin: 0.5rem 0;
    list-style: none;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  header .header-search .search-box {
    width: 45%;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
  header .header-search .search-button img {
    margin-bottom: 1rem;
  }
  main {
    padding-top: 7rem;
  }

  footer .product-nav-mobile ul li {
    flex-basis: calc(33.333%); /* Adjust for 3 columns, accounting for margin */
  }
  footer .footer-nav-mobile ul li {
    flex-basis: calc(33.333%);
  }
}
@media (max-width: 767px) {
  footer .product-nav-mobile ul li {
    flex-basis: calc(
      50% - 20px
    ); /* Adjust for 2 columns, accounting for margin */
  }
  footer .footer-nav-mobile ul li {
    flex-basis: calc(50%- 20px);
  }
}
@media (max-width: 560px) {
  header .header-mobile {
    align-self: flex-end;
    position: fixed;
    top: 153px;
    right: 70%;
    width: 500px;
    z-index: 1000;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  /* Add a class for toggling the display of the header/side menu */
  .header-visible {
    display: block; /* Show the header/side menu */
    transform: translateX(0);
  }
  /* .header-panel .header-links {
    flex-direction: column;
  } */
  .header-mobile .header-links li {
    margin: 0.5rem 0;
    list-style: none;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  footer .product-nav-mobile ul li {
    flex-basis: calc(
      50% - 20px
    ); /* Adjust for 2 columns, accounting for margin */
    padding-left: 4rem;
  }
  footer .footer-nav-mobile ul li {
    flex-basis: calc(50%); /* Adjust for 2 columns, accounting for margin */
    /* padding-left: 4rem; */
    padding: auto;
  }
}
