/* assets/css/home.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* hero*/

.maincaption {
  font-size: 5rem;
  font-family: cursive;
}
.w-40 {
  width: 40%;
}
.w-15 {
  width: 15%;
}

.w-30 {
  width: 30%;
}

#hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: none;
}
#hero-section .w-40 h1,
#hero-section .w-40 p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Banner (Carousel) */
.carousel-inner {
  position: relative;
}
.carousel-item img {
  filter: brightness(70%);
  transition: var(--transition);
}

.carousel-caption {
  width: 50vw;
  height: max-content;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--modal-shadow);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.carousel-caption p {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
/* btn*/

.sectionbtn i {
  transform: rotate(-35deg);
}

/* Featured Products */
section.container.my-5 {
  padding: 3rem 0;
}

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  /* height: 300px;
  */ /*width: 300px;
  */
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* .card:hover {
    transform: scale(1.05);
  } */

.imgcontainer {
  overflow: hidden;
}
.card-img-top {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.card-img-top:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: all 0.4s ease-in-out;
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-body {
  /* padding: 1rem; */
  text-align: left;
}
.card-body h5:hover {
  cursor: pointer;
  color: var(--primary-color);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.card-text {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.card-text:hover {
  cursor: pointer;
  color: var(--primary-color) !important;
}

.card .fw-bold {
  font-size: 1rem;
  color: #1f2937;
}

.card .text-decoration-line-through {
  font-size: 0.875rem;
  color: #6b7280;
}

.card .add-to-cart:hover {
  color: var(--primary-color);
}

.card-icons {
  display: flex;
  flex-direction: column;
}

.card-icons .btn-light {
  background-color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icons .btn-light:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-clicked {
  background-color: var(--primary-color);
  color: white !important;
}
.btn-clicked:hover {
  background-color: var(--primary-color);
  color: white !important;
}

.badge.bg-warning {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  color: #fff !important;
}

.card .d-flex.align-items-center.mb-2 {
  flex-wrap: nowrap;
}

/* Responsive Design */

@media (max-width: 1250px) {
  .car > div > span {
    font-size: 1.1rem !important;
    padding: 7px;
  }
}

@media (max-width: 768px) {
  section h2 {
    font-size: 1.5rem;
  }

  .card-img-top {
    height: 200px;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-text {
    font-size: 0.8rem;
  }

  .card .fw-bold {
    font-size: 0.9rem;
  }
}

/* .cardItem {
  width: 90% !important;
} */

@media (max-width: 790px) {
  /* .cardItem {
    width: 60% !important;
  } */

  .car > div > span {
    font-size: 0.8rem !important;
  }
  .car > div > span:nth-child(2) {
    padding-right: 1rem !important;
  }
  #hero-section {
    padding: 0 !important;
  }
  #hero-section img {
    display: none;
  }
  #headerBtns {
    display: flex;
    justify-content: center !important;
    margin-top: 2rem;
  }
  #hero-section .w-40 {
    width: 100% !important;
    margin: 0 auto;
    height: 100%;
    background-image: url("https://mensclubcollection.com/cdn/shop/files/0E9A5556copy_540x.jpg?v=1745338947");
    /* background-attachment: fixed; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px 20px;
    position: relative;
    color: whitesmoke !important;
    text-align: center;
  }

  #headerDetails h1 {
    color: whitesmoke !important;
    padding: 1rem;
  }
  #hero-section .w-40::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(2px);
    z-index: 1;
  }

  #hero-section .w-40 * {
    position: relative;
    z-index: 2;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  /* .maincaption {
    font-size: 3.4rem;
    margin-bottom: 0.5rem !important;
  }
  .herocaption {
    color: #cac8c8 !important;
    font-size: smaller;
    margin-bottom: 0.5rem !important;
  }
  .heroBtn{
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  } */
}

@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}

/* body style */
body,
h1 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.bg-black {
  background-color: black;
}

#hero-section {
  margin-top: 0px !important;
}

/* categories section style  */

#categoriesSection {
  width: 90%;
}

.cardItem {
  /* width: 22%; */
  padding: 0;
}

.cardCaption {
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 1s;
}

.cardDetails {
  opacity: 0;
}

.cardItem:hover {
  .cardCaption {
    top: 50%;
  }

  .cardDetails {
    opacity: 1;
  }
}

#categoriesSection .carousel-control-prev-icon,
#categoriesSection .carousel-control-next-icon {
  

  top: 50%;


}

#categoriesSection .carousel-control-next,
#categoriesSection .carousel-control-prev {
  top: 60%;
}

#categoriesSection .carousel-control-next {
  right: -4%;
}
#categoriesSection .carousel-control-prev {
  left: -4%;
}

/* carouselSlides after header style */

@keyframes CarouselSlideOfHeader {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.carouselSlideContent {
  animation-name: CarouselSlideOfHeader;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#carouselSlidesOnly {
  background-color: black;
}

#carouselSlidesOnly .textStroke {
  text-shadow: -1px -1px 0 white, 1px -1px 0 whitesmoke, -1px 1px 0 whitesmoke,
    1px 1px 0 whitesmoke;
}

/* Reviews section style  */

#ReviewSection {
  background-image: url("https://themewagon.github.io/Bookly/images/banner-image-bg.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

#carouselReview .carousel-control-next,
#carouselReview .carousel-control-prev {
  top: 50%;
  bottom: 50%;

}

#carouselAllReviews .carousel-item {
  width: 100%;
}

#carouselAllReviews img {
  width: 50px;
  height: 50px;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

/* sale section style  */

/* https://mensclubcollection.com/cdn/shop/collections/cover-collection-for-hoodie.jpg?v=1735559439 */

.saleSection {
  background-image: url("../images/new-in-summer-25-web-cover_1950x.jpg");
  background-position: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}

/* Search Style Modal in Home */

#SearchHomeModal .modal-dialog {
  max-width: 100%;
  max-height: 100vh;
  margin: 0;
}

#SearchHomeModal .modal {
  max-height: 100vh;
}

#SearchHomeModal .modal-content {
  border-radius: 0px;
  border: 0;
}

#SearchHomeModal .btn-close {
  position: absolute;
  right: 1%;
  top: 2vh !important;
}

#closeButton {
  top: 5vh !important;
  right: 3%;
}

/* #searchInput::placeholder {
  color: rgba(0, 0, 0, 0.297);
} */

#searchInput {
  border: none;
  border-bottom: 1px solid black;
}

#searchInput:focus {
  border: 0;
}

@media (max-width: 1400px) {
  h1 {
    font-weight: bolder;
    font-size: 3rem !important;
  }

  .cardItem {
    /* width: 35% !important; */
  }
  .categoryItems,
  .saleSection {
    height: auto !important;
    margin-bottom: 30px;
  }

  #activeCarouselItem {
    width: 100% !important;
  }

  #saleSection {
    font-size: 1rem;
  }

  #saleSection #saleSectionDetails {
    width: 90% !important;
  }

  .carouselSlideContent span {
    font-size: 2rem !important;
  }
}




@media (min-width: 768px) {
  /* .cardItem {
    width: 70% !important;
  } */
}

@media (min-width: 950px) {
  .cardItem {
    width: 100% !important;
  }
}


@media (max-width: 769px) {
  /* .cardItem {
    width: 60% !important;
  } */
}



@media (max-width: 950px) {
  #headerDetails span,
  #headerDetails p,
  #headerDetails button {
    font-size: 1rem !important;
  }

  h1 {
    font-size: 1.7rem !important;
    font-weight: bolder;
    margin-bottom: 5px !important;
  }

  .carouselSlideContent span {
    font-size: 1.5rem !important;
  }

  .herocaption {
    color: #ffff !important;
  }
}


@media (max-width: 1000px) {
  h1 {
    font-size: 2rem !important;
  }
}


