::-webkit-scrollbar {
  width: 8px;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px rgb(48, 48, 48);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(255, 0, 0);
  background: linear-gradient(180deg, rgb(255, 0, 0)45%, rgb(210, 36, 36)54%);
}

*::selection {
  background-color: #11111146;
  color: #ff0000
}

@keyframes growAndShrink {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  background: #2e0000;
  background: linear-gradient(0deg, rgba(46, 0, 0, 1) 0%, rgba(110, 0, 0, 1) 50%, rgba(46, 0, 0, 1) 100%);
}

/* Animated blurred background */
.live-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  filter: blur(40px) saturate(120%);
  background: radial-gradient(closest-side at 10% 20%, #ff7a7a 0%, transparent 30%),
    radial-gradient(closest-side at 80% 80%, #ff5900 0%, transparent 35%),
    radial-gradient(closest-side at 40% 70%, #ff0000 0%, transparent 30%);
  background-size: 120% 120%;
  animation: bgMove 7s linear infinite alternate;
  transform: translateZ(0);
}

.live-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px) brightness(0.9);
}

/* Subtle vignette */
.vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 100%);
}

@keyframes bgMove {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }

  50% {
    background-position: 10% 40%, 90% 60%, 60% 20%;
  }

  100% {
    background-position: 20% 80%, 80% 30%, 40% 80%;
  }
}

.banner {
  background: url('./images/banner.jpg') no-repeat center center;
  background-size: cover;
  height: 370px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.banner img {
  animation: alternate 3s growAndShrink infinite;
}

.navbar-toggler {
  border-color: #ff0000 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgb(255, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-toggler:focus,
.navbar-toggle:active {
  outline: none;
  box-shadow: none;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.0025);
  color: #fff;
}

.navbar a {
  text-decoration: none;
  color: #fff;
}

.navbar-brand img {
  max-width: 40px;
  height: auto;
}

.nav-item {
  margin-left: 10px;
  padding: 4px 8px
}

.navbar img {
  margin-left: 10px;
}

.custom-item {
  background-color: #ff0000;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
}

.products,
.contact {
  padding: 15px;
  text-align: center;
}

.contact ul {
  padding: 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact ul li {
  list-style: none;
  margin-left: 10px;
}

.contact ul li a {
  text-decoration: none;
  padding: 6px 15px;
  background-color: rgba(9, 9, 9, 0.7);
  color: #fff;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

.contact ul li a:hover {
  text-decoration: none;
  background: rgb(116, 0, 0);
  transform: translateY(-5px);
}

.container {
  color: #fff;
  width: 33%;
  min-height: 300px;
  background-color: rgba(36, 36, 36, 0.4);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 222;
  border-radius: 10px;
  text-align: center;
  margin: 0 10px 10px 10px;
  padding: 20px;
  display: inline-block;
  vertical-align: top;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease-in-out;
}

.container:hover {
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
}



@media only screen and (max-width:768px) {
  .containers {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: auto;
  }

  .container {
    width: 90%;
    margin: 11px;
    backdrop-filter: none;
  }
}

.v-button {
  background-color: red;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(255, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}


.v-button:hover {
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.7);
  transform: scale(1.05);
}

.v-button:active,
.z-button:active {
  transform: scale(0.75);
  box-shadow: 0 2px 5px rgba(255, 0, 0, 0.5);
}

.z-button {
  background-color: #111;
  color: white;
  padding: 10px 20px;
  border: 1px solid #ff0000;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(255, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.z-button:hover {
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.7);
  transform: scale(1.05);
  background-color: #ff0000;
}


/* ABOUT & SOCIAL MEDIA SECTION */
.contact {
  width: 90%;
  /* Makes sure it spans well across the screen */
  max-width: 900px;
  /* Prevents it from getting too wide on large screens */
  margin: 50px auto;
  /* Centers the section */
  padding: 40px;
  background: rgba(15, 15, 15, 0.8);
  /* Darker background for better contrast */
  border-radius: 12px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  /* Softer outer shadow */
  text-align: center;
}


.text {
  width: 90%;
}



/* RESPONSIVENESS */
@media screen and (max-width: 768px) {
  .contact {
    width: 95%;
    padding: 30px;
  }

}




/* The alert message box */
.alert {
  background-color: rgba(0, 0, 0, 0.35);
  width: 40%;
  margin: auto;
  color: white;
  margin-bottom: 15px;
  border-radius: 40px;
}

@media screen and (max-width:968px) {
  .alert {
    width: 80%;
    margin: auto;
    color: white;
    margin-bottom: 15px;
  }
}

.alert .close {
  color: #fff;
}

.alert .close:active,
.alert .close:focus {
  outline: none;
  box-shadow: none;
}



.qc {
  background-color: #222222;
  color: #e0e0e0;
  border: none;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.qc:hover {
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.4);
  color: #cfcfcf;
  transform: scale(1.05);
}

.qc:active {
  transform: scale(0.75);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}


/* Make the dropdown menu wider */
.nav-item.dropdown .dropdown-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  background-color: rgba(36, 36, 36, 0.8);
  color: #fff;
  display: none;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  z-index: 1000;
  text-align: left;
  /* Align content to the left */
  width: 300px;
  /* Increase width to fit image and text */
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  background-color: rgba(0, 0, 0, 0.25);
  border: 0.01em solid #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.6);
}

/* Style for the favorites list */
#favorites-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Style for each favorite item */
.favorite-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(36, 36, 36, 0.6);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;
}

/* Hover effect for favorite items */
.favorite-item:hover {
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* Style for the product image */
.favorite-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

/* Style for the product name */
.favorite-name {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  flex-grow: 1;
  /* Allow the name to take up remaining space */
}

/* Hover effect for the product name */
.favorite-name:hover {
  color: #efefef;
}


/* Adjust the favorites container to align with the navbar */
.favorites-container {
  position: relative;
  display: inline-flex;
  /* Use flex for better alignment */
  align-items: center;
  /* Vertically center the icon and counter */
  cursor: pointer;
}

/* Adjust the heart icon size to match the navbar */
.favorites-icon {
  font-size: 20px;
  /* Adjust font size to match the navbar */
  color: white;
  /* Match the navbar text color */
  margin-right: 5px;
  /* Add spacing between the icon and counter */
}

/* Adjust the favorites count badge size */
.favorites-count {
  position: absolute;
  top: -5px;
  /* Adjust position to align with the icon */
  right: -10px;
  /* Adjust position to align with the icon */
  background: white;
  color: #ff0000;
  font-size: 12px;
  /* Adjust font size to match the navbar */
  font-weight: bold;
  width: 20px;
  /* Adjust width to match the navbar */
  height: 20px;
  /* Adjust height to match the navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Keep the badge circular */
  border: transparent;
}

/* Ensure dropdown links are clickable */
.nav-link {
  pointer-events: auto;
  /* Ensure links are clickable */
}