@import "./variables.css";

/* header */
.header {
  width: 100%;
  min-height: 100vh;
  height: auto;
  background: var(--headerBgColor);
  padding-bottom: 3rem;
}

.header .navbar {
  background: transparent;
  padding: 3rem 0 2rem 1rem;
}

.header .nav-item:not(:last-child) {
  margin-right: 1.4rem;
  position: relative;
}

.header .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  color: var(--textColor) !important;
}

.header .nav-link::after,
.header .nav-item.active::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 0;
  height: 4px;
  background: var(--lightRedColor);
  border-radius: 0.3rem;
  transition: all 0.3s ease-in-out;
}

.header .nav-item.active::after {
  width: 4px;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.header .nav-link:hover {
  color: var(--lightRedColor);
}

.header .nav-link:hover::after {
  width: 100%;
}

.btn-shopping-primary {
  border-radius: 30px;
  background: var(--btnBgColor);
  color: var(--whiteColor);
  font-weight: 500;
  font-size: 0.9rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: all 0.3s ease-in-out;
}

.btn-shopping-primary:hover {
  border: 1px solid var(--btnBgColor);
  background: transparent;
  color: var(--lightRedColor);
  transform: translateY(-2px);
}

/* hero */
.hero {
  width: 100%;
  padding: 5rem 0 0;
}

.hero-heading {
  font-weight: 700;
  font-size: 3.375rem;
  line-height: 1.2;
  margin-top: 1rem;
}

.hero-text {
  font-weight: 500;
  font-size: 1.2rem;
  width: 65%;
  margin: 1rem 0;
}

.hero-app-links {
  margin-top: 2rem;
}

.app-link {
  display: inline-block;
  margin-right: 1rem;
}

.app-link svg {
  width: 150px;
  transition: all 0.3s ease-in-out;
}

.app-link path {
  transition: all 0.3s ease-in-out;
}

.hero .app-link svg:hover {
  transform: translateY(2px);
  fill: var(--btnBgColor);
}

.app-link svg:hover rect {
  stroke: var(--btnBgColor);
}

.hero .app-link svg:hover path {
  fill: var(--whiteColor);
}

.hero-img-container {
  text-align: center;
  position: relative;
  margin-top: -5rem;
  cursor: pointer;
  transition: all 1s ease-in-out;
}

.hero-img-container:hover .hero-vector {
  transform: rotate(360deg) translateZ(-200px) translateY(-100px)
    translateX(-100px);
}

.hero-img {
  position: relative;
  width: 400px;
  z-index: 11;
}

.hero-vector {
  position: absolute;
  bottom: -1rem;
  left: 25%;
  z-index: 5;
  transition: all 1s ease;
}

/* app-features */
.app-features-vector {
  position: absolute;
  top: 40%;
  right: 3rem;
  z-index: 1;
  width: 70px;
  height: 70px;
}

.app-features-img {
  width: 300px;
  margin: 2rem auto 0;
  transition: all 0.3s ease-in-out;
}

.app-features-img:hover {
  transform: scale(1.02);
}

.app-features-cards {
  padding-right: 6rem;
  position: relative;
}

.app-features-card {
  width: 310px;
  height: 320px;
  background: var(--whiteColor);
  box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 2rem 1rem;
  margin: 1rem 0;
  transition: all 1s ease;
}

.app-features-card:hover {
  box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.3);
}

.app-features-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.app-features-cards .col-md-6:nth-child(1) .app-features-icon {
  background: #fee7d7;
}

.app-features-cards .col-md-6:nth-child(2) .app-features-icon {
  background: #fdd9da;
}

.app-features-cards .col-md-6:nth-child(2) path {
  fill: #f2353b;
}

.app-features-cards .col-md-6:nth-child(3) .app-features-icon {
  background: #ebebeb;
}

.app-features-cards .col-md-6:nth-child(3) path {
  fill: #111111;
}

.app-features-cards .col-md-6:nth-child(4) .app-features-icon {
  background: #fff3b3;
}

.app-features-cards .col-md-6:nth-child(4) path {
  fill: #fea702;
}

.app-features-icon svg path {
  fill: #ef5f03;
}

.app-features-title {
  font-weight: 700;
  font-weight: 1.6rem;
}

.app-features-text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 28px;
}

/* shop meal */
.shop-meal {
  overflow: hidden;
  margin-bottom: 2rem;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

.shop-meal-img-container {
  background: var(--lightRedColor);
  height: 400px;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.shop-meal-vector {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 1;
  width: 100%;
  height: 100%;
}

.shop-meal-img {
  width: 400px;
  margin-bottom: 1rem;
}

.shop-meal-content {
  background: var(--alternateRedColor);
  width: 50%;
  height: 400px;
  display: flex;
}

.shop-meal-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}

.shop-meal-title {
  font-weight: 700;
  font-size: 2.5rem;
}

.shop-meal-text {
  width: 500px;
}

/* testimonial */
.testimonial-slider {
  width: 1000px;
  margin: 2rem auto 0;
  padding: 0 8rem;
}

.testimonial-slide {
  width: 850px;
  background: var(--whiteColor);
  box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  margin: 2rem 1rem;
}

.testimonial-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.testimonial-img {
  width: 120px;
  height: 120px;
  margin-top: 0.5rem;
}

.testimonial-text {
  margin-left: 2rem;
  margin-top: 1rem;
}

.testimonial-author {
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}

.testimonial-author-role {
  font-size: 0.9rem;
  font-style: italic;
}

/* discovery */
.discovery {
  width: 100%;
  color: var(--whiteColor);
  margin: 5rem 0;
  height: 500px;
  width: 100vw;
  background: var(--lightRedColor);
  overflow: hidden;
  position: relative;
}

.discovery-vectors {
  object-fit: cover;
  opacity: 1;
  width: 100%;
  height: 100%;
}

.discovery-main {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.discovery-img {
  margin-bottom: -0.5rem;
}

.discovery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4rem;
}

.discovery-title {
  font-weight: 700;
  font-size: 2.65rem;
  width: 60%;
  margin-top: -2rem;
  line-height: 1.2;
}

.discovery-text {
  font-style: italic;
}

.discovery-app-links {
  margin-top: 2rem;
}

.discovery .app-link svg {
  fill: var(--darkColor);
}

.discovery .app-link svg rect {
  stroke: var(--whiteColor);
  transition: all 0.3s ease;
}

.discovery .app-link svg:hover rect {
  stroke: var(--whiteColor);
  fill: transparent;
}
/* app screenshots */
.screenshot {
  margin-bottom: 5rem;
}

.screenshot-slider {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 4rem;
}

.screenshot-slide {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 1rem;
  max-width: 320px;
  margin: 1rem;
}

.slick-slide:focus {
  border: none;
  outline: none;
}

.screenshot-slide-title {
  text-align: center;
  font-weight: 500;
  font-size: 1.2rem;
  width: 80%;
  margin: 0 auto 0.5rem;
}

.screenshot-slide-img {
  width: 80%;
  margin: 1rem auto 0.5rem;
}

.screenshot .slick-arrow,
.testimonial .slick-arrow {
  border: 2px solid var(--btnBgColor);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 1rem;
}

.slick-arrow {
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slick-arrow::before {
  display: none;
}

.slick-next svg path {
  fill: var(--btnBgColor);
  transition: all 0.3s ease;
}

.slick-arrow:hover {
  border: none;
  background: var(--btnBgColor);
}

.slick-arrow:hover svg path {
  fill: var(--whiteColor);
}

/* footer */
.footer {
  background: var(--footerBgColor);
  padding: 3rem 0 0.5rem;
}

.footer-left {
  box-sizing: border-box;
  padding-right: 4rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.footer-sub-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-text {
  color: rgba(1, 33, 65, 0.8);
  width: 80%;
}

.footer-social-links {
  display: flex;
}

.social-link {
  margin-right: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whiteColor);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--btnBgColor);
}

.social-link:hover svg path {
  fill: var(--whiteColor);
}

.footer-social-links svg {
  width: 20px;
  height: 20px;
}

.footer-link {
  color: rgba(1, 33, 65, 0.8);
  display: inline-block;
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.footer-link:hover {
  text-decoration: none;
  color: var(--lightRedColor);
}

.subscribe-form {
  margin: 1rem 0;
}

.custom-input {
  display: flex;
  width: 380px;
}

.custom-input .form-control {
  background: var(--whiteColor);
  border-radius: 30px 0px 0px 30px;
  border: none;
}

.custom-input .form-control:focus {
  border-color: var(--btnBgColor);
  box-shadow: 0 0 0 0.2rem rgb(253 123 96 / 25%);
}

.btn-custom {
  background: var(--btnBgColor);
  border-radius: 0px 30px 30px 0px;
  color: var(--whiteColor);
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-custom:hover {
  background: transparent;
  color: var(--btnBgColor);
  border: 1px solid var(--btnBgColor);
}

.footer-sub-text {
  font-size: 0.9rem;
  padding: 0;
}

.footer-sub-text svg {
  width: 15px;
  height: 15px;
}

/* copyright */
.copyright {
  font-size: 0.9rem;
  margin-top: 2rem;
  color: rgba(1, 33, 65, 0.8);
}

.copyright svg {
  width: 15px;
  height: 15px;
}
