@import url(https://db.onlinewebfonts.com/c/465b1cbe35b5ca0de556720c955abece?family=Abolition+W00+Regular);
@import url('https://fonts.googleapis.com/css?family=Oswald');

@font-face {
  font-family: "Abolition";
  src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot");
  src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.svg#Abolition W00 Regular")
      format("svg");
}

@font-face {
  font-family: "Abolition Rough";
  src: url("/fonts/Abolition/ Test/AbolitionTest-Regular.otf");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background-color: #0a0b14;
  font-family: "Abolition", sans-serif;
}

/* Background video */

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.background-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-content {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: center;
  width: 100%;
}

.video-content h1 {
    font-size: 6rem;
    margin-top: 23%;
}

/* --- NEW CSS FOR THE ANIMATED LINK --- */

.link {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transform: rotate(-90deg);
  margin-top: 8%;
  opacity: .8;
}

.link .link__arrow {
  display: inline-flex;
}

.link .link__arrow span {
  position: relative;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: #ffffff;
  z-index: 2;
}

.link .link__arrow span:nth-child(1) {
  transform-origin: left bottom;
  transform: rotate(45deg) translate3d(8px, -10px, 0);
}

.link .link__arrow span:nth-child(2) {
  transform-origin: left bottom;
  transform: rotate(-45deg);
}

.link .link__arrow span:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: #b22222;
}

.link .link__line {
  position: relative;
  margin-left: -14px;
  margin-right: 30px;
  width: 150px;
  height: 2px;
  background: #ffffff;
  overflow: hidden;
  z-index: 1;
}

.link .link__line:after {
  content: '';
  display: block;
  position: absolute;
  left: 80px;
  width: 70px;
  height: 2px;
  background: #b22222;
}

.link .link__text {
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
}

#kits-section {
  scroll-margin-top: 10%;
}

/* --- HOVER ANIMATIONS --- */

.link:hover {
    opacity: 1;
}

.link:hover .link__line:after {
  animation: animation-line 1s forwards;
}

.link:hover .link__arrow span:after {
  animation: animation-arrow 1s forwards;
  animation-delay: .5s;
}

@keyframes animation-line {
  0% {
    left: 80px;
  }
  100% {
    left: 0;
  }
}

@keyframes animation-arrow {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}


@media (max-width: 1024px) {

  .video-content h1 {
    font-size: 3.25rem;  /* (Desktop: 4rem, Mobile: 2.5rem) */
    margin-top: 25%;   /* (Desktop: 15%, Mobile: 30%) */
  }

  .link {
    margin-top: 25%;   /* (Desktop: 15%, Mobile: 30%) */
  }

  .link .link__text {
    font-size: 1.25rem; /* (Desktop: 1.5rem, Mobile: 1rem) */
  }

  .link .link__line {
    width: 125px;      /* (Desktop: 150px, Mobile: 100px) */
  }

  /* Update the red highlight for the 125px line */
  .link .link__line:after {
    left: 65px;
    width: 60px;
  }
  
}

@media (max-width: 768px) {
  .link {
      margin-top: 30%;
  }
}

@media (max-width: 600px) {
    
  .video-content {
      margin-left: -42%;
  }
  
  .video-content h1 {
    font-size: 2.5rem; 
    margin-top: 45%; 
  }
  .link {
    margin-top: 50%;
  }

  .link .link__text {
    font-size: 1rem;
  }

  .link .link__line {
    width: 100px;
  }

  .link .link__line:after {
    left: 50px;
    width: 50px;
  }

}

/* ==== FILTER DROPDOWN ==== */
.filter-dropdown {
  background-color: inherit;
  transition: background-color 0.3s ease;
}

.filter-dropdown.expanded {
  background-color: #141525;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.filter-dropdown {
  border-radius: 15px;
  padding: 25px;
  margin: 20px auto;
  width: 90%;
  max-width: 900px;
  color: #fff;
  font-family: "Abolition", sans-serif;
}

.filter-dropdown h5 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
  font-family: Abolition;
}

.filter-section {
  margin-bottom: 20px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

/* Price Range */
.price-range {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.price-range input {
  flex: 1;
  padding: 10px;
  border-radius: 40px;
  border: none;
  outline: none;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

/* Selects for category, sort, order */
.filter-section select {
  width: 45%;
  padding: 10px;
  margin: 5px;
  border-radius: 40px;
  border: none;
  outline: none;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
}

/* Filter button */

.filter-btn-container {
  display: flex;
  justify-content: space-between;
}

.filter-btn {
  display: block;
  width: 200px;
  margin: 0 auto;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 40px;
  padding: 12px 20px;
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #b22222;
  color: #fff;
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.7);
}

/* Categories split layout */
.categories-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.categories-wrapper .bodykits {
  flex: 0 0 30%;
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  padding-right: 15px;
}

.categories-wrapper .brands {
  flex: 0 0 70%;
  text-align: center;
}

.categories-wrapper h6 {
  font-size: 1.7rem;
  font-family: Abolition;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

/* Hide the raw checkbox */
.category-btn input[type="checkbox"] {
  display: none;
}

/* Make label act as a button */
.category-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 40px;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.category-btn:hover {
  background: #b22222;
  color: #fff;
  box-shadow: 0 0 10px rgba(178, 34, 34, 0.7);
}

/* Category buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 40px;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active {
  background: rgba(178, 34, 34, 0.7);
  color: #fff;
}

/* ==== PRODUCT CARD STYLING ==== */

.product-card-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.product-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 700px;
  height: 400px;
  background: #fff;
  margin: 20px;
  border: 1px solid #fff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.product-container {
  transition: transform 0.3s ease-in-out;
}

.product-container:hover {
  transform: scale(1.05);
}

.product-price h3 {
  transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

.product-container:hover .product-price h3 {
  color: #b22222;
  font-weight: bold;
}

.product-img-box {
  position: relative;
  width: 45%;
  height: 100%;
  background: #141525;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s linear;
}

.product-img-box::before {
  content: attr(data-product-name);
  position: absolute;
  top: 0;
  left: 15px;
  color: rgba(71, 72, 79, 0.5);
  opacity: 0.9;
  font-size: 4rem;
  font-weight: 800;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-img-box img {
  position: relative;
  width: 500px;
  transform: rotate(-30deg);
  left: -10px;
  transition: 0.9s linear;
}

.product-details-box {
  width: 50%;
  height: 390px;
  background-color: #fff;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 10px;
}

.product-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  margin-left: 7%;
}

.product-name {
  height: 25%;
  display: flex;
  align-items: center;
}

.product-name h2 {
  margin: 0;
  padding: 0;
  font-size: 2.4em;
  line-height: 1em;
  color: #444;
}

.product-type {
  height: 15%;
  display: flex;
  align-items: center;
}

.product-type span {
  font-size: 1rem;
  color: #999;
  text-transform: uppercase;
  margin: 0;
}

.product-price {
  height: 25%;
  display: flex;
  align-items: center;
}

.product-price h3 {
  margin: 0;
  font-size: 2.5em;
  color: #a2a2a2;
}

.product-button {
  height: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.product-button button {
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-button button:hover {
  background-color: #b22222;
}

.no_prod p {
  color: #fff;
  font-size: 2rem;
}

/* Responsive */

@media (max-width: 1080px) {
  .product-container {
    height: auto;
  }
  .product-img-box {
    padding: 40px;
    box-sizing: border-box;
    width: 100% !important;
    height: auto;
    text-align: center;
    overflow: hidden;
  }
  .product-img-box img {
    left: initial;
    max-width: 100%;
    transform: rotate(0deg);
  }
  .product-details-box {
    width: 100% !important;
    height: auto;
    padding: 20px;
  }
}

/* Container to center and space pagination */

.custom-pagination-container {
  width: 400px;
  font-family: "Abolition", sans-serif;
  z-index: 100;
  text-align: center;
  margin: 0 auto 0 auto;
}

/* Pagination list */

.custom-pagination {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
}

.page-item {
  margin-bottom: 5%;
}

/* Pagination links */

.custom-pagination .page-link {
  display: inline-block;
  padding: 0.8rem 0;
  font-weight: 700;
  font-size: 1.3rem;
  width: 150px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #b22222;
  border-radius: 40px !important;
  cursor: pointer;
  background-color: #b22222;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.5);
  text-align: center;
  letter-spacing: 0.1rem;
}

/* Hover/focus effect */

.custom-pagination .page-link:hover,
.custom-pagination .page-link:focus {
  background-color: #a01e1e;
  color: #fff;
  outline: none;
  box-shadow: 0 0 25px rgba(178, 34, 34, 0.8);
}

@media (max-width: 480px) {
  .custom-pagination-container {
    width: 100%;
    padding: 0 1rem;
  }
  .custom-pagination {
    flex-direction: column;
    gap: 1rem;
  }
  .custom-pagination .page-link {
    width: 100%;
    text-align: center;
  }
}
