/* Font */
.fira-sans-thin {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 100 !important;
  font-style: normal !important;
}

.fira-sans-medium {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

.fira-sans-thin-italic {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 100 !important;
  font-style: italic !important;
}

.fira-sans-light {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 300 !important;
  font-style: normal !important;
}

.fira-sans-regular {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

.fira-sans-bold {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.fira-sans-black {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Nav Bar Hover */
.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #dc3545 !important; 
}

/* Enable hover behavior for dropdowns */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.navbar-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px; /* Optional: adds spacing between text and underline */
}

.navbar-nav .nav-link {
  text-transform: uppercase;
}

/* Dropdown Menu */
.dropdown-menu {
  background-color: #222;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background-color: #444;
  color: #dc3545;
}

/* Carousel */
.carousel-item img {
  width: 100%;
  height: 85vh; /* You can adjust this value */
  object-fit: cover;
  object-position: center;
}


.carousel-inner {
  background-color: #000;
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
}

/* Hero Section */
.hero-section {
  height: 85vh;
}

.hero-information {
  height: auto !important;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Product Carousel */
.product-carousel {
  background-color: #fff;
}

.product-carousel h2 {
  letter-spacing: 1px;
}

/* Product Cards */
.product-card {
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-align: center;
  opacity: 0; /* Initial fade state */
  animation: cardFadeIn 3s ease forwards;
}

.product-card-shadow {
  border: 2px solid rgba(0,0,0,0.1); /* Light grey outline */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Soft shadow */
}

.product-card img {
  height: 200px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.7s ease, filter 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.2);
  filter: brightness(1.2);
}

.product-card p {
  margin-top: 0.5rem;
  color: #111;
  font-size: 0.95rem;
  transition: color 0.3s ease, text-decoration 0.2s ease;
  position: relative;
  display: inline-block;
}

.product-card p::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 0;
  bottom: -2px;
  background-color: #dc3545;
  transition: width 0.3s ease;
}

.product-card:hover p::after {
  width: 100%;
}

.product-card:hover p {
  color: #dc3545;
}

.product-card-heading a {
  position: relative;
  display: inline-block;
  color: inherit;
  transition: color 0.3s ease, transform 0.3s ease;
}

.product-card-heading a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 6px;
  left: 0;
  bottom: -3px;
  background-color: #dc3545;
  transition: width 0.6s ease;
}

.product-card-heading a:hover {
  color: #dc3545;
  transform: scale(1.1);
}

.product-card-heading a:hover::after {
  width: 100%;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
}

.custom-arrow::before {
  content: "<";
  font-size: 2rem;
  color: #dc3545;
  font-weight: bold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.jordan-list li {
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: default;
}

.jordan-list li:hover {
  transform: scale(1.05);
  color: #dc3545;        
}

.carousel-control-next .custom-arrow::before {
  content: ">";
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
  background-color: #aaa;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}

.carousel-indicators .active {
  background-color: #dc3545;
}

.bg-light-section {
  background-color: #f1f1f1;
}

.bg-white-section {
  background-color: #ffffff;
}

.bg-dark-section {
  background-color: #494949;
}

.bg-img {
  background-image: url("../Resources/Images/BackgroundImage1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 75vh;
  position: relative;
}

.bg-img::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-bg-image {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-in-out;
  background-color: #000; /* Fallback color */
}

.bg-img2 {
  background-image: url("../Resources/Images/Progression.jpg");
  background-color: #000; /* Fallback color */
}

.dark-overlay {
  background: rgba(0, 0, 0, 0.7); /* Slightly more opaque */
  z-index: 1;
}

.hero-content {
  z-index: 1;
  color: white; /* Makes sure text stands out */
}

.hero-section-auto {
  height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.card.bg-glass {
  background-color: rgba(255, 255, 255, 0.1); /* light glassy white */
  backdrop-filter: blur(1px);
}

.card.bg-transparent,
.card.bg-transparent .card-body {
  background-color: transparent !important;
}

.card-box {
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Embedded Video Section */
.video-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  position: relative;
  padding: 0 1rem;
  align-items: center; 
}

.hero-video {
  width: 40%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(255, 255, 255, 0.4);
  animation: fadeIn 1s ease-in-out;

  display: block;
  margin: 0 auto;
}

/* Button Hover Grow Effect */
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: scale(1.04); /* Increase size slightly */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); /* Optional: adds a nice pop */
}

.dark-overlay {
  background: rgba(0, 0, 0, 0.5); /* Adjust darkness */
  z-index: 1;
}

/* Page fade-in effect */
body {
  background-color: #000; /* black background */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.loaded {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0.5;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 4rem 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .bg-video {
    height: 100%;
    object-fit: cover;
  }

  .navbar .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .product-card img {
    height: 150px;
    max-width: 100%;
  }

  .product-card p {
    font-size: 0.85rem;
  }

  .carousel-item img {
    height: 50vh;
    object-fit: cover;
  }

  .rog-footer h1 {
    font-size: 2.5rem;
  }

  .rog-footer h3 {
    font-size: 1.25rem;
  }

  .rog-footer p {
    font-size: 0.95rem;
  }

  .text-center .card-text {
    font-size: 0.9rem;
  }

  .container-fluid {
    flex-direction: column;
    align-items: flex-start;
  }

  .bg-img {
    height: auto;
    padding: 4rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
