:root {
  --gray-50: #bababa;
  --white-100: #f1f1f1;
  --jigari-200: #9e0000;
  --jigarhover-250: #cd2a2a;
  --blackmat-300: #181818;
  --mat2-350: #111111;
}

@font-face {
  font-family: Y;
  src: url(../assets/fonts/BYekan+\ Bold.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  overflow-x: hidden;
  font-family: Y;
  color: #f1f1f1;
}

body {
  background: var(--blackmat-300);
}

/* ------------------ Site Loader ------------------ */
.site-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blackmat-300);
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  visibility: visible;
  opacity: 1;
}
.site-loader__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.site-loader__logo {
  width: 28vw;
  max-width: 220px;
  height: auto;
  animation: loader-pulse 1.2s ease-in-out infinite;
}
@keyframes loader-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.9;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.9;
  }
}
.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .site-loader__logo {
    width: 40vw;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .site-loader__logo {
    width: 50vw;
    max-width: 140px;
  }
}

/* Start Headers Styling */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 10px 7px;
  border-bottom: 2px solid;
}

.logoContainer img {
  width: 100px;
}

nav {
  align-items: center;
  justify-content: center;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
}

nav ul li a {
  display: flex;
  align-items: center;
  font-size: 20px;
  gap: 6px;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.home:hover {
  color: var(--jigarhover-250);
}

.aboutUs:hover {
  color: var(--jigarhover-250);
}

.contactToUs:hover {
  color: var(--jigarhover-250);
}

.productsLink {
  border-bottom: #ff4d4d solid;
}

.fastCall {
  font-size: 18px;
  padding: 7px 10px;
  border: 2px solid #cd2a2a;
  border-radius: 7px;
  cursor: pointer;
}

.fastCall a {
  gap: 5px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.3s ease;
}

.fastCall:hover a {
  color: #cd2a2a;
}

.swiper {
  width: 100%;
  height: 600px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}

.swiperImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.swiper-wrapper {
  overflow-x: visible;
}

.swiper-button-next {
  left: 10px;
  right: auto;
}
.swiper-button-prev {
  right: 10px;
  left: auto;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 5px;
  border-radius: 10px;
}

.swiper-pagination-bullet-active {
  background: var(--jigarhover-250);
  width: 20px;
  height: 5px;
  border-radius: 10px;
}

/* Start Whyus section styling */
.whyus {
  margin: 0 60px;
  padding: 30px 20px;
  text-align: right;
  line-height: 1.8;
  border: 3px solid #ab011e;
  border-radius: 13px;
}

.whyusTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  font-weight: bold;
  padding: 8px 17px;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 30px;
}

.whyusDescription {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  padding: 12px 24px;
  border-radius: 4px;
  line-height: 3;
  font-size: 19px;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white-100);
}

.whyusLink {
  border: 2px solid #ab011e;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 24px;
  font-size: 18px;
  color: #fff;
  transition: all 0.4s ease;
  border-radius: 3px;
}

.whyusLink:hover {
  color: #ab011e;
}

/* Products Styling***********************/
#productTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  font-weight: bold;
  padding: 8px 17px;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 30px;
}

.productSection {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 20px 12px;
  flex-wrap: wrap;
  width: 100%;
}

.productSection .imgContainer img {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  border: 3px solid var(--jigarhover-250);
}

.productDescreption {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.productCart {
  flex: 0 0 calc(30% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  text-align: center;
  gap: 5px;
}

.productCart a {
  display: flex;
  align-items: center;
  font-size: 22px;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 100px;
  border: 1px solid var(--gray-50);
  margin-top: 7px;
  transition: color 0.3s ease;
}

.productCart a:hover {
  color: #cd2a2a;
}

.productCart a svg {
  height: 24px;
  width: 24px;
}

.productName {
  color: #cd2a2a;
  font-size: 25px;
}

/* FAQ Section */
.faq {
  width: 90%;
  margin: 80px auto;
  padding: 30px 26px;
  background: #cd2a2a;
  border-radius: 7px;
}

.faqTitle {
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
  border-bottom: 2px solid #333;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  background: #ab011e;
  font-size: 17px;
  font-weight: 400;
}

.faq-question {
  font-weight: 700;
  color: #ff4d4d;
  width: 100%;
  border: none;
  padding: 15px 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  background: #333;
}

.faq-question .icon {
  font-size: 22px;
  transition: transform 0.4s;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-answer p {
  padding: 15px 10px;
  color: #fff;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Start Footer styling */
footer {
  display: flex;
  flex-direction: row;
  padding: 40px 45px;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid var(--jigarhover-250);
}

.socialMedia {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 27px;
  text-align: center;
  gap: 25px;
}

.socialMedia img {
  display: flex;
  width: 80px;
  margin: 0px auto;
}

.socialMedia a {
  display: flex;
}

.socialIcon {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.socialIcon a {
  padding: 5px 5px;
}
.cell {
  transition: background 0.4s ease;
  display: flex;
  border-radius: 50%;
}

.cell:hover {
  background: #fff;
}

.fastLinks ul {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fastLinks li a {
  color: #ccc;
  transition: color 0.5s ease;
}

.fastLinks li a:hover {
  color: var(--jigarhover-250);
}

/* Hamburger and mobile menu styles */
.hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--carnation-950);
  margin: 6px 0;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  z-index: 2002;
  transition: width 0.28s ease, background 0.28s ease;
}
.mobile-menu__content {
  width: 85%;
  max-width: 360px;
  height: 100%;
  padding: 24px;
  box-shadow: -6px 0 18px rgba(0, 0, 0, 0.12);
  background: #fff;
  z-index: 2003;
}
.mobile-menu__close {
  background: transparent;
  border: none;
  font-size: 22px;
  float: left;
  cursor: pointer;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.mobile-menu ul li a {
  font-size: 20px;
  color: var(--carnation-950);
  padding: 8px 6px;
  display: block;
}

/* When menu open */
.mobile-menu.open {
  width: 100%;
  background: transparent; /* remove overlay background when open */
}
.mobile-menu.open .mobile-menu__content {
  transform: translateX(0);
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--jigarhover-250);
  margin: 5px 0;
  border-radius: 3px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 2000;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__content {
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: #fff;
  padding: 24px;
}

.mobile-menu a {
  color: #111;
  font-size: 18px;
}

/* Responsive rules: tablet/mobile */
@media (max-width: 900px) {
  header {
    justify-content: center;
    position: relative;
    padding: 14px 12px;
  }

  /* center logo */
  .logoContainer {
    transform: translateX(30px);
    order: 1;
    position: relative;
    z-index: 1001;
  }

  nav {
    display: none; /* hide desktop nav on small screens */
  }

  /* show call button on small screens and move it to left */
  .fastCall {
    display: flex;
    position: absolute;
    left: 20px; /* align to left side of header */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: var(--carnation-950);
    font-size: 16px;
  }

  .fastCall a svg {
    width: 18px;
    height: 18px;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu__content {
    padding: 20px;
    background-color: #333;
  }

  .mobile-menu__content li a {
    font-size: 25px;
  }

  .productsSection {
    margin-top: 30px;
    padding: 40px 20px;
    gap: 1rem;
  }

  .productCart {
    flex: 0 0 35%;
    gap: 0.8rem;
  }

  .imgContainer {
    width: 100%;
  }

  .imgContainer img {
    height: 100%;
    width: 100%;
  }

  .productName {
    font-size: 2rem;
    font-weight: bold;
    padding: 0px;
  }

  .productCart a {
    padding: 12px 80px;
    font-size: 20px;
  }
}

/*----------------------- MOBILE RESPONSIVE-----------------------*/
@media (max-width: 480px) {
  .fastCall {
    font-size: 13px;
  }

  .fastCall a svg {
    width: 14px;
    height: 14px;
  }

  #productTitle {
    font-size: 30px;
    font-weight: bold;
    padding: 0;
  }

  .productsSection {
    padding: 20px 12px;
    gap: 0.8rem;
    margin-top: 30px;
  }

  .productCart {
    flex: 0 0 100%;
  }

  .imgContainer {
    width: 95%;
  }
  .imgContainer img {
    width: 100%;
  }

  .productName {
    font-size: 2rem;
  }

  .productCart a {
    padding: 12px 65px;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
  }

  .productCart a svg {
    width: 20px;
    height: 20px;
  }

  header {
    padding: 12px 10px;
  }

  .mobile-menu__content {
    padding: 20px;
    background-color: #333;
  }

  .mobile-menu__content li a {
    font-size: 25px;
  }
}
