body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--nike-background);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* overflow-x: visible; */
}

:root {
  --nike-text: #111111;
  --nike-background: #ffffff;
  --nike-orange: #f05a22;
  --nike-section-background: #f5f5f5;
  --nike-secondary-text: #757575;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
}

/* Preloader container styling */
.jordan-nav {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.2rem 3rem;
  background-color: var(--nike-section-background);
}

nav ul li img {
  width: 1.75rem;
}

.jordan-navbar-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.jordan-navbar-nav ul li {
  padding: 0 1rem;
}

.jordan-navbar-nav ul li a {
  color: var(--nike-text);
  font-weight: 600;
  transition: color ease 0.15s;
}

.jordan-navbar-nav ul li a:hover {
  color: var(--nike-secondary-text);
}

.logo img {
  width: 7rem;
}

.header {
  display: flex;
  flex-direction: row;
  padding: 0.8rem 3rem;
  align-items: center;
  justify-content: space-between;
  background-color: var(--nike-background);
}

.header-nav nav ul {
  gap: 1rem;
  padding: 0;
  align-items: center;
  display: flex;
  flex-direction: row;
}

.header-nav nav ul a {
  color: var(--nike-text);
  font-weight: 700;
  font-size: 1.1rem;
}

.header-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.form input {
  padding: 0.6rem 1.4rem;
  max-width: 200px;
  background-color: var(--nike-section-background);
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.fav-cart i {
  padding: 0.9rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.fav-cart i:hover {
  background-color: var(--nike-section-background);
  border-radius: 2rem;
}

.nav-mobile nav ul {
  display: none;
  flex-direction: row;
  gap: 1.4rem;
}

.nav-mobile nav ul li a {
  color: var(--nike-text);
  font-size: 1.1rem;
}

.head-carousel {
  background-color: var(--nike-section-background);
  padding: 0.8rem 0;
}

.carousel-text {
  font-size: 1.2rem;
  font-weight: 500;
}

.carousel-links {
  color: var(--nike-text);
  font-weight: 600;
  text-decoration: underline;
}

.banner-image {
  width: 100%;
  height: 80vh;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-cta {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.hero-cta-lead {
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

.hero-cta-h1 {
  font-weight: 700;
  font-size: 6vw;
  margin: 0;
  padding: 0;
  color: var(--nike-text);
  letter-spacing: -6px;
}

.hero-cta-sub {
  font-size: 1.2rem;
}

.shop-btn {
  background-color: var(--nike-text);
  color: var(--nike-background);
  padding: 0.7rem 1.4rem;
  border: none;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 3rem;
  transition: ease opacity 0.13s;
}

.image-gallery-btn:hover,
.sport-card-btn:hover,
.shop-btn:hover {
  opacity: 0.6;
}

.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  padding: 0rem;
}

.image-gallery {
  width: 100%;
  padding-bottom: 3rem;
  padding-left: 4rem;
}

.image-gallery-info {
  justify-self: flex-start;
  margin-top: 30rem;
}

.item-one,
.item-two,
.item-three,
.item-four {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.item-one {
  background-image: url(/featured/item-one.png);
}

.item-two {
  background-image: url(/featured/item-two.jpg);
}

.item-three {
  background-image: url(/featured/item-three.png);
}

.item-four {
  background-image: url(/featured/item-four.png);
}

.image-head,
.image-type {
  color: var(--nike-background);
}

.image-type {
  font-weight: 600;
  font-size: 1.5rem;
}

.image-gallery-btn {
  background-color: var(--nike-background);
  color: var(--nike-text);
  font-weight: 600;
  padding: 0.5rem 2rem;
  font-size: 1.2rem;
  border-radius: 4rem;
  margin-top: 1rem;
  border: none;
}

.carousel-text {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.hero-cta-lead {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.hero-cta-h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.hero-cta-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.shop-btn {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
}

.image-type {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
}

.image-gallery-btn {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
}

.product-section {
  width: 100%;
  overflow: hidden;
  padding: 1rem;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100vw;
  box-sizing: border-box;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}

.card {
  flex-shrink: 0;
  width: clamp(200px, 80vw, 250px);
  background: var(--nike-section-background);
  scroll-snap-align: start;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease-in-out all;
  cursor: pointer;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 6px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}

.card-details {
  display: flex;
  flex-direction: column;
  flex: 0 0 350px;
}
.card-details img {
  width: 100%;
}

.card-image1:hover img {
  border-radius: 0.5rem;
}
.scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.sport-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100vw;
  height: 30vw;
  padding: 1rem;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-size: cover; /* or 'contain' depending on look */
  background-position: center;
  position: relative;
  min-width: 30vw;
  min-height: 200px;
  filter: grayscale(1);
  cursor: pointer;
}

.sport-one {
  background-image: url("/sport/running.png");
  width: 100%;
}

.sport-two {
  background-image: url("/sport/football.png");
  width: 100%;
}

.sport-three {
  background-image: url("/sport/basketball.png");
  width: 100%;
}

.sport-four {
  background-image: url(/sport/training.png);
}

.sport-five {
  background-image: url(/sport/tennis.png);
}

.sport-six {
  background-image: url(/sport/yoga.png);
}

.sport-seven {
  background-image: url(/sport/sk.png);
}

.sport-eight {
  background-image: url(/sport/dance.png);
}

.sport-card-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.sport-card-btn {
  border: none;
  border-radius: 1.2rem;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: ease 0.13s all;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 6rem;
}
.footer-section-list ul li {
  padding: 0.3rem 0;
}

.footer-section-list ul li a {
  color: var(--nike-secondary-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-section-list ul li a:hover {
  color: var(--nike-text);
}

#footer-accordion {
  display: none;
}
.footer-copyright {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-copy-list {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-top: 1rem;
}

.footer-copy-list li a {
  color: var(--nike-secondary-text);
  font-size: 0.9rem;
}

.footer-copy-list li a:hover {
  color: var(--nike-text);
}
/* Media Queries */

@media screen and (max-width: 998px) {
  .header-nav nav ul a {
    font-size: 0.8rem;
  }
  .form input {
    max-width: 140px;
    font-size: 0.8rem;
    padding: 0.3 0.2rem;
  }
}

@media screen and (max-width: 900px) {
  .jordan-nav {
    display: none;
  }
  .header-nav,
  .header-right {
    display: none;
  }
  .header {
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 4rem;
  }
  .nav-mobile nav ul {
    display: flex;
  }
  .hero-cta {
    text-align: left;
    padding-left: 1.4rem;
  }
  .hero-cta-h1 {
    letter-spacing: -4px;
  }
}

@media screen and (max-width: 650px) {
  .section-head {
    text-align: left;
    /* padding-left: 0.5rem; */
  }
  .image-gallery-grid {
    grid-template-columns: 1fr;
  }
  .image-gallery {
    padding-left: 1rem;
  }

  .card-details {
    display: flex;
    flex-direction: column;
    flex: 0 0 250px;
  }

  .sport-card {
    min-width: 70vw;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--nike-text);
    color: var(--nike-background);
    padding: 1rem;
  }
  .footer {
    display: none;
  }
  #footer-accordion {
    display: block;
  }
  .accordion-body ul li {
    padding: 0.3rem 0;
  }

  .accordion-body ul li a {
    color: var(--nike-secondary-text);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .footer-copy-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
