@import "../theme/variables.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  padding: 0;
  margin: 0;
  width: 100%;
}

header {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: fixed;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 10;
}

.sale {
  background: var(--secondary-color);
  height: 40%;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: var(--font-family);
  width: 100%;
}

.sale p {
  align-self: center;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--primary-color);
  width: 100%;
  height: 60%;
  background: var(--background);
}

.button {
  background: var(--background);
  border-color: var(--primary-color);
  color: var(--primary-color);
  width: 150px;
  height: 50px;
  font-size: var(--font-size-small);
}

.buttonWithMargin {
  background: var(--background);
  border-color: var(--primary-color);
  color: var(--primary-color);
  width: 150px;
  height: 50px;
  font-size: var(--font-size-small);
  margin-left: 50px;
}

.button2 {
  background: var(--accent-color);
  border: none;
  color: var(--primary-color);
  width: 150px;
  height: 50px;
  font-size: var(--font-size-small);
  text-decoration: underline;
}

p {
  padding: var(--padding-large);
  text-align: left;
}

p1 {
  font-size: var(--font-size-small);
  color: var(--primary-color);
  font-family: var(--font-family);
}

p2 {
  font-size: var(--font-size-large);
}

.p4 {
  padding: 0;
  font-family: var(--font-family);
}

li {
  list-style-type: none;
}

.first {
  display: flex;
  align-items: center;
  width: 40%;
  font-family: var(--font-family);
}

.mid {
  display: flex;
  justify-content: center;
  width: 20%;
  align-items: center;
}

.second {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 40%;
  align-items: center;
  font-family: var(--font-family);
}

.second img {
  width: 20px;
  height: 20px;
  /* margin-left: 25px; */
}

.off-screen-menu {
  display: none;
}

.hamburger-menu {
  display: none;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

nav ul li {
  margin-right: 30px;
  z-index: 10;
}

nav ul li a {
  color: var(--primary-color);
  text-decoration: none;
  padding: 0;
  font-size: var(--font-size-medium);
  list-style-type: none;
  z-index: 10;
  display: inline-block;
  position: relative;
}

a {
  position: relative;
  z-index: 1;
}

.navbar a::before {
  content: "";
  position: absolute;
  left: 0%;
  bottom: -2px;
  width: 0;
  height: 3px;
  background-color: currentColor;
  transition: width 0.1s ease-out;
}
.navbar a:hover::before {
  width: 100%;
}
.navbar a:hover {
  animation: slide-in 0s forwards;
}

.header-part {
  display: flex;
  height: 40px;
  background: var(--background);
  justify-content: space-between;
  position: static;
  align-items: center;
  position: fixed;
  z-index: 10;
  margin-top: 100px;
  width: 100%;
  top: 0;
}

.header-option {
  font-size: var(--font-size-header);
  position: relative;
  padding-top: 0;
  margin-top: 5px;
}

.header-option img {
  width: 10px;
}

.header-option:hover {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--background-color, white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  min-width: 160px;
  padding: 10px 0;
}

.header-option:hover .dropdown-menu {
  display: block;
  cursor: pointer;
}

.dropdown-menu a {
  color: var(--text-color, black);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  background-color: var(--accent-color);
}

.imgtext {
  font-size: var(--font-size-imgtext);
  text-align: left;
  position: absolute;
  left: 5%;
  z-index: 1;
}

.imgtext p {
  padding: 0;
  font-style: italic;
  margin-left: 100px;
  margin-top: 30px;
}

.imgtext p1 {
  padding: 0;
  margin-left: 100px;
  font-weight: bold;
  font-size: var(--font-size-medium);
  font-family: var(--font-family);
}

.slider button {
  position: absolute;
  top: 50%;
  height: 500px;
  width: 100px;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.014);
  color: white;
  border-color: rgba(255, 255, 255, 0.055);
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.slider-image img {
  background-position: center;
}

.landing-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-image {
  overflow: hidden;
  display: flex;
  height: 900px;
  position: relative;
  text-align: center;
  width: 100%;
  background-size: cover;
  width: 100%;
  background-position: top;
  transition: transform 0.5s ease-in-out;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  position: relative;
  text-align: center;
  margin-top: 80px;
  color: var(--text-color-2);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  overflow: hidden;
}

.slider button.prev {
  left: 10px;
}

.slider button.next {
  right: 10px;
}

.slide-left-enter,
.slide-left-leave {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.slide-left-enter {
  transform: translateX(100%);
}
.slide-left-enter-active {
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}
.slide-left-leave {
  transform: translateX(0);
}
.slide-left-leave-active {
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

.text-container {
  margin: 50px 20px;
  text-align: center;
  animation: fadeIn 3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.img-container {
  display: flex;
  margin-top: 100px;
  justify-content: space-around;
}

.img-container p1 {
  font-size: var(--font-size-img);
  font-weight: bold;
  margin-top: 100px;
  color: var(--text-color-light);
}

.img-container h1 {
  font-size: var(--font-size-large);
  margin-top: 20px;
}

.img1 {
  display: flex;
  position: relative;
  text-align: left;
  color: var(--text-color-dark);
  width: 570px;
  height: 800px;
  background-size: cover;
  background-image: url(https://images.unsplash.com/photo-1552046122-03184de85e08?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.img2 {
  display: flex;
  position: relative;
  text-align: left;
  color: var(--text-color-dark);
  width: 570px;
  height: 800px;
  background-size: cover;
  background-image: url(https://images.unsplash.com/photo-1620916566398-39f1143ab7be?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.img1 {
  background-image: url(https://images.unsplash.com/photo-1552046122-03184de85e08?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.img2 {
  background-image: url(https://images.unsplash.com/photo-1620916566398-39f1143ab7be?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.img-text {
  margin-left: 70px;
  margin-top: 580px;
}

.services-container {
  display: flex;
  margin-top: 7rem;
  margin: 40px;
  justify-content: space-around;
  align-items: baseline;
  text-align: center;
}

.service-box {
  padding: var(--padding-medium);
  width: 250px;
  font-size: var(--font-size-small);
  justify-content: center;
  align-items: center;
}

.service-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding-small);
  margin-bottom: 0.5rem;
  position: relative;
  font-size: var(--font-size-service);
}

.service-box img {
  width: 150px;
}

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

.circle {
  background: var(--primary-color);
  border-radius: 100%;
  width: 200px;
  height: 200px;
}

.text1 {
  display: block;
  text-align: left;
  width: 500px;
  margin-left: 4rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  /* height: 500px; */
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
  display: flex;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-button.prev {
  left: 0px;
}

.carousel-button.next {
  right: 0px;
}

.add-card-button {
  margin: 50px 30px;
  display: block;
  background-color: var(--background-color);
  color: black;
  border: black;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  border-style: solid;
}
.add-card-button:hover {
  background-color: #28471f;
}
.card-img {
  position: absolute;
}
.card-img button {
  position: relative;
  margin-bottom: 20%;
}

.card-img button:hover {
  animation: none;
}

.cards-container {
  display: flex;
  /* margin-top: 1rem; */
  justify-content: space-between;
  align-items: baseline;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.cards-container::-webkit-scrollbar {
  display: none;
}

.card {
  width: 280px;
  font-size: var(--font-size-small);
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  text-align: center;
  width: fit-content;
  position: relative;
  display: inline-block;
  justify-content: center;
  flex: 0 0 25%;
  box-sizing: border-box;
  padding: 10px;
}

.card-title {
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: var(--font-size-header);
}

.card-img {
  position: relative;
  overflow: hidden;
  /* width: 270px; */
  height: 330px;
  border-radius: 10px;
  display: block;
}

.card-img button {
  position: absolute;
  top: 85%;
  left: 80%;
  transform: translate(-50%, -50%);
  padding: var(--padding-small) 20px;
  background-color: var(--text-color-dark);
  border: none;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #a0b3748f;
  border-radius: 5px;
  z-index: 1;
}

.card-img button img {
  width: 25px;
  height: 25px;
}

.card-img::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.5s ease all;
}

.card img {
  /* width: 300px; */
  border-radius: 10px;
  transition: 0.5s ease all;
  width: 100%;
  object-fit: cover;
  height: 100%;
}
.card-img:hover {
  border-radius: 10px;
  transition: 0.5s ease all;
  cursor: pointer;
}
.card-img:hover img {
  transform: scale(1.1);
  border-radius: 10px;
}
.card-img:hover button {
  display: flex;
  cursor: pointer;
}

.card button {
}

.card .p4 {
  font-size: var(--font-size-medium);
}

.card-title {
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.button:hover {
  cursor: pointer;
  background: var(--primary-color);
  color: var(--text-color-2);
}

.button2:hover {
  cursor: pointer;
}

.bar-shop {
  background: var(--primary-color);
  display: flex;
  height: 100px;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  margin-top: 100px;
  color: var(--text-color-2);
  width: 100%;
  font-family: var(--font-family);
  overflow: hidden;
  position: relative;
}

.marquee {
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
}

.marquee span {
  display: inline-block;
  font-size: var(--font-size-service);
  font-weight: bold;
  overflow: hidden;
  padding-left: 100%;
  animation: marquee 50s linear infinite;
}

.marquee2 span {
  animation-delay: 25s;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.learnmore-container {
  margin-top: 100px;
  margin-left: 50px;
  display: flex;
  position: relative;
}

.lm-container-img {
  display: flex;
  width: 550px;
  height: 550px;
}

.lm-text-container {
  margin-top: 50px;
  background: var(--accent-color-2);
  width: 500px;
  height: 500px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: left;
  text-align: left;
  border-radius: 15px;
  top: -25px;
  left: 670px;
}

.lm-text-container p {
  padding: 0;
  margin-left: 50px;
  margin-bottom: 50px;
  margin-right: 10px;
  color: var(--primary-color);
  font-family: var(--font-family);
}

.lm-text-container p1 {
  margin-left: 50px;
}

.lm-text-container p2 {
  padding: 0;
  font-size: var(--font-size-lm);
  margin-left: 50px;
}

.lm-text-container button {
  background: var(--accent-color-2);
}

.blog {
  display: flex;
  width: 100%;
  margin-top: 100px;
  background: var(--accent-color);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.blog p2 {
  font-size: var(--font-size-service);
}

.articles {
  display: flex;
  width: 100%;
  height: fit-content;
  background: var(--accent-color);
  text-align: center;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 100px;
}

.articles p2 {
  font-size: var(--font-size-medium);
  margin-left: 15px;
}

.article-text {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.article-text p2 {
  font-family: var(--font-family);
}

.card2 {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.card-img2 {
  display: flex;
  height: 230px;
}

.card-img2 img {
  border-radius: 5px;
}

footer {
  background: var(--footer-background);
}

.footer-box {
  text-align: left;
}

.footer-box p2 {
  font-size: var(--font-size-footer);
}

.upper {
  display: flex;
  justify-content: space-around;
  background: var(--footer-background);
  color: var(--text-color-2);
  padding-top: var(--padding-footer);
  padding-bottom: var(--padding-footer);
  margin-bottom: 0;
}

.upper p {
  font-family: var(--font-family);
}

.lower {
  margin: 0;
  padding: 0;
  background: var(--footer-background);
  padding-bottom: var(--padding-large);
  margin-top: 0;
  color: var(--text-color-light);
}

.lower p {
  font-family: var(--font-family);
  padding: 0;
  margin-top: 50px;
  margin-left: 105px;
}

.news {
  padding: 0;
  padding-top: var(--padding-large);
  font-size: var(--font-size-medium);
}

.email {
  margin-top: 50px;
  height: 35px;
  width: 350px;
  background: var(--footer-background);
  color: var(--text-color-2);
  font-size: var(--font-size-small);
  border-color: var(--text-color-light);
  border-radius: 5px;
}

.mail-input {
  display: flex;
  align-items: center;
}
.email-submit {
  margin-top: 50px;
  background: black;
  width: 40px;
  height: 35px;
  border-color: rgba(255, 255, 255, 0.418);
  border-radius: 5px;
  border-left: none;
}

.email-submit:hover {
  cursor: pointer;
}

.email-submit img {
  width: 20px;
}

input {
  margin-top: 50px;
  height: 35px;
  width: 350px;
  background: var(--footer-background);
  color: var(--text-color-2);
  font-size: var(--font-size-small);
}

input::placeholder {
  padding-left: var(--padding-small);
}

.options {
  font-family: var(--font-family);
  padding-top: var(--padding-large);
}

.options p {
  padding: 0;
  padding-bottom: var(--padding-medium);
}

.line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.line1 {
  width: 340px;
  height: 1px;
  background: var(--line);
  margin-top: 10px;
}

.line2 {
  width: 133px;
  height: 1px;
  background: var(--line);
  margin-top: 10px;
}

.line3 {
  width: 125px;
  height: 1px;
  background: var(--line);
  margin-top: 10px;
}

.line6 {
  margin-bottom: 0;
  width: 100%;
  background: var(--line-2);
  height: 1px;
}
