/* =============== GLOBAL RESET =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* =============== HEADER =============== */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 120px;
  background-color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

#MenuItems {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

#MenuItems li {
  list-style: none;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

#MenuItems li a {
  text-decoration: none;
  color: #000;
  transition: 0.3s ease;
}

#MenuItems li a:hover,
#MenuItems li a.active {
  color: #f0a758;
}

#MenuItems li a.active::after,
#MenuItems li a:hover::after {
  content: '';
  position: absolute;
  width: 30%;
  height: 2px;
  background-color: #f0a758;
  bottom: -4px;
  left: 35%;
}

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

/* =============== HERO SECTION =============== */
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 50px 80px;
}

.MixProduct {
  height: 700px;
}

#hero h4 {
  font-size: 30px;
}

#hero h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 20px 0;
}

#hero h1 {
  color: #f0a758;
  font-size: 70px;
  font-weight: bold;
}

#hero p {
  font-size: 20px;
  color: #555;
  margin: 20px 0;
  font-weight: 600;
}

button {
  background-color: transparent;
  color: #f0a758;
  border: 0;
  padding: 14px 80px 14px 65px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 30px;
}

.higlight {
  color: #f0a758;
  font-weight: 700;
}

.section-p1 {
  padding: 40px 80px;
}

/* =============== FEATURE SECTION =============== */
#feature {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  gap: 200px;
}

/* =============== PRODUCT SECTION =============== */
#product1 {
  text-align: center;
  width: 100%;
}

#product1 h2 {
  font-size: 70px;
  font-weight: 600;
  margin: 10px 0;
  color: #f0a758;
}

#product1 p {
  font-size: 30px;
  color: #555;
  margin: 10px 0;
}

/* ✅ FIXED PRODUCT GRID */
#product1 .pro-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch; /* Equal height for cards */
  gap: 20px;
  padding-top: 20px;
}

/* Product Card */
#product1 .pro1 {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 10px 12px;
  border: 1px solid #cce7d0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.1);
  margin: 15px;
  transition: 0.3s ease;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#product1 .pro1:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Product Image */
#product1 .pro1 img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

/* Product Texts */
#product1 .pro1 h5 {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#product1 .pro1 p {
  min-height: 45px; /* ✅ fix uneven height issue */
  margin-bottom: 10px;
}

/* Uniform text spacing inside card */
#product1 .pro1 .JVCO-55 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Price */
#product1 .old-price {
  text-decoration: line-through;
  color: gray;
  font-size: 16px;
  margin-right: 10px;
}

#product1 .new-price {
  color: black;
  font-weight: bold;
  font-size: 20px;
}

/* Product Links */
.pro1-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.pro1-link .pro1 {
  cursor: pointer;
}

/* =============== FOOTER =============== */
#footer {
  background: #222;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 50px;
  font-family: 'League Spartan', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-box {
  flex: 1 1 220px;
}

.footer-box h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #f0a758;
}

.footer-box p,
.footer-box ul li a {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  text-decoration: none;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin: 8px 0;
}

.footer-box ul li a:hover {
  color: #f0a758;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f0a758;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: #aaa;
}

/* =============== BRAND CAROUSEL =============== */
#brand-carousel {
  background: #fff;
  padding: 40px 0;
  overflow: hidden;
}

.carousel {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.track {
  display: flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.card {
  display: inline-block;
  width: 180px;
  height: 100px;
  margin: 0 40px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.track:hover {
  animation-play-state: paused;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 799px) {
  #MenuItems {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background-color: white;
    padding: 80px 0 0 10px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
  }

  #MenuItems.active {
    right: 0;
  }

  #mobile {
    display: flex;
    align-items: center;
  }

  #mobile i {
    color: #000;
    font-size: 20px;
    padding-left: 20px;
  }

  #close {
    display: initial;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
    color: #000;
  }

  #lg-bag {
    display: none;
  }

  #hero {
    flex-direction: column;
    gap: 40px;
    padding: 30px 20px;
    text-align: center;
  }

  #hero .hero-text {
    order: 1;
  }

  #hero img {
    order: 2;
    height: auto;
    max-width: 100%;
  }

  #hero h1 {
    font-size: 40px;
  }

  #hero h2 {
    font-size: 28px;
  }

  #hero h4 {
    font-size: 20px;
  }

  #hero p {
    font-size: 16px;
  }

  button {
    font-size: 20px;
    padding: 12px 40px;
    background-size: contain;
  }

  #feature {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }

  #feature .fe-box {
    width: 45%;
    margin: 10px auto;
  }

  #product1 h2 {
    font-size: 40px;
  }

  #product1 p {
    font-size: 15px;
  }

  #footer .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 477px) {
  #header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }

  #header .logo {
    margin-right: auto;
    max-width: 120px;
  }

  #product1 .pro1 {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 10px 0;
  }
}
