/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: calc(var(--vh, 1vh) * 100); /* Use the dynamic viewport height */
  background-color: blanchedalmond;
  background-image: url("./assets/background-16x9.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  /*background-color: blanchedalmond; #f8f8f8;
  border-bottom: 1px solid #ddd; */
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
  width: 90px; /* Make top elements equal size */
}

.nav-icons {
  height: 25px;
  width: 25px;
}

.language-toggle {
  background: white;
  border: 1px solid #ccc;
  padding: 5px 10px;
  cursor: pointer;
  display: block;
  width: 80px;
}

.language-toggle:hover {
  background-color: #999;
}

#language-toggle-hidden {
  position: absolute;
  transform: translateY(40px);
  display: none;
  z-index: 1;
}

#language-toggle-hidden.active {
  display: block;
}

.lang-icon {
  font-size: 24px;
  margin-right: 20px;
  text-decoration: none;
  color: #333;
  opacity: 0.6;
  transform: translateY(2.5px);
}

.logo {
  height: 70px; /* Adjust as needed */
  margin: auto; /* Center Logo */
  transform: translateX(-50px);
}

.login-icon, .cart-icon {
  font-size: 24px;
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  opacity: 0.6;
  transform: translateY(2.5px);
}

.login-icon:hover, .cart-icon:hover, .lang-icon:hover {
  opacity: 1;
}

#cart-count {
  position: absolute;
  font-size: 11px;
  color: #333;
  margin: 0;
  transform: translate(9.5px, -22px); /* translate to 6px when tens */
}

/*
#front-slider {
    border: 1px solid rgba(0, 0, 0, 0.25);
}
*/

/* Carousel Spinner */
.carousel {
  max-width: 1200px;
  /* height: 70vh; /* Set carousel height to 70% of the viewport height */
  position: relative;
  overflow: hidden; /* Ensure images don't overflow */
  margin-left: auto;
  margin-right: auto;
}

/* Center the slides */
.carousel .slick-slide {
  display: flex !important; /* Override Slick's default display: block */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.carousel img {
  height: 100%; /* Ensure images take up full height */
  width: auto; /* Let the width adjust automatically based on aspect ratio */
  max-width: 100%; /* Ensure images don't exceed the carousel width */
  object-fit: contain; /* Maintain aspect ratio without cropping */
}

/* Slick Carousel Overrides */
.slick-prev, .slick-next {
  z-index: 1; /* Ensure arrows are above the images */
  width: 40px; /* Adjust arrow size */
  height: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  border-radius: 50%; /* Make arrows circular */
}

.slick-prev:hover, .slick-next:hover {
  background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

.slick-prev {
  left: 20px !important; /* Position the previous arrow */
}

.slick-next {
  right: 20px !important; /* Position the next arrow */
}

.slick-prev:before, .slick-next:before {
  color: white; /* Arrow color */
  font-size: 24px; /* Arrow size */
}

.slick-dots {
  bottom: 20px !important; /* Position the dots */
  z-index: 1; /* Ensure dots are above the images */
}

.slick-dots li button:before {
  color: white; /* Dot color */
  font-size: 12px; /* Dot size */
}

.slick-dots li.slick-active button:before {
  color: white; /* Active dot color */
}

.slick-dotted.slick-slider {
  margin-bottom: 0px !important;
}

/* Footer Links */
.footer {
  display: flex;
  justify-content: center;
  padding: 20px;
  /*background: radial-gradient(blanchedalmond, transparent);
  background-color: blanchedalmond; #f8f8f8;
  border-top: 1px solid #ddd; */
  position: relative; /* Ensure footer stays at the bottom */
  max-width: 500px;
  margin: auto;
  margin-top: 15px;
}

.footer a {
  margin: 0 15px;
  text-decoration: none;
  color: #666;
  font-size: 16px;
  max-width: 125px;
  text-align: center;
}

.footer a:hover {
  color: #333;
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {
  body, html {
    background-size: auto 100%; /* Full height, overflow width */
    background-position: center center; /* Center the background */
  }
  .logo {
    height: 50px; /* Adjust as needed */
    transform: translateX(-20px);
  }
  #front-slider {
    border-left: none;
    border-right: none;
  }
}