/* common styles  */
* {
  padding: 0;
  margin: 0;
}
body {
  background-color: #f5f8ff;
  overflow-x: hidden;
}

.noto-serif-fonts {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.inter-fonts {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.container {
  width: 80%;
  margin: 0 auto;
}
.text-primary {
  color: #e95a08;
}
.flower-description {
  color: rgba(0, 0, 0, 0.5);
  font-size: 1.35rem;
}
.flower-btn {
  background-color: #e95a08;
  color: white;
  font-weight: 600;
  padding: 25px 50px;
  border: none;
}
.flowers-section-title {
  font-size: 3.12rem;
  font-size: 700;
  margin-bottom: 16px;
}
.flower-market-section {
  max-width: 890px;
  margin: 120px auto 0;
  text-align: center;
}

/* header related styles  */
/* nav  */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.nav-items {
  display: flex;
  align-items: center;
}
.nav-items ul {
  display: flex;
}
.nav-items ul li {
  list-style: none;
}
.nav-items ul a {
  text-decoration: none;
  color: #8987a1;
  margin-right: 48px;
}
.cart-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* banner */
.banner-container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 230px;
}
.banner-content p {
  max-width: 600px;
}
.banner-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 13px;
}
.banner-image img {
  width: 100%;
}
/* main relates styles  */
/* plants card */
.plants-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 50px;
  column-gap: 20px;
  row-gap: 30px;
}

.plants-cards {
  text-align: center;
}
.plant-card-description .flower-btn {
  width: 100%;
}
.plants-cards img {
  width: 100%;
}
.plant-name {
  font-size: 1.37rem;
  font-weight: 500;
  margin-top: 30px;
}
.plant-usd {
  font-size: 1.37rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* flowers lovers  */
.trusted-badge {
  position: relative;
  left: 570px;
  top: 170px;
}
.trusted-badge img {
  width: 286px;
  height: 286px;
}
.flowers-lovers-container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.flowers-lovers-description,
.flowers-lovers-images {
  width: 50%;
}
.flowers-lovers-images img {
  width: 100%;
}
.flowers-lovers-description ul li {
  margin: 20px;
}
/* latest deal  */
.plant-deal-container {
  display: flex;
  gap: 30px;
  margin-top: 120px;
}
.plant-deal-left {
  width: 30%;
}
.plant-deal-right {
  width: 70%;
}
.bloom-plant {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("../assets/deal-bloom.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.ana-plant {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("../assets/deal-ana.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.zabo-plant {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("../assets/deal-zabo.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 425px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.plant-deal-left h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}
.plant-deal-left p {
  font-weight: 600;
  border-bottom: 1px solid white;
  color: white;
}
.plant-deal-right h4 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.zabo-plant p {
  font-size: 1.75rem;
  font-weight: 600;
  border-bottom: 1px solid white;
  color: white;
}

/* bunch */
.colorful-bunch-section {
  background-image: linear-gradient(
      0deg,
      rgba(7, 51, 79, 0.4) 0%,
      rgba(7, 51, 79, 0.4) 100%
    ),
    url("../assets/news-letter-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 120px;
}
.bunch-title {
  color: white;
  margin-bottom: 25px;
  font-size: 3.12rem;
  font-weight: 700;
}
.colorful-bunch {
  width: 100%;
}
.bunch-input {
  padding: 10px 20px;
  width: 30%;
}
.bunch-btn {
  padding: 11px 50px;
  margin-left: -10px;
}

/* footer  */
footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.5);
}
.footer-container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 50px 0;
}
.footer-logo p {
  max-width: 360px;
  margin-top: 16px;
}
.footer-link-list li {
  list-style: none;
  margin-bottom: 32px;
}
.footer-link-list li a {
  text-decoration: none;
  color: #6b7280;
}
.footer-icons {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* responsive layout  */
/* mobile device  */
@media screen and (max-width: 576px) {
  header,
  .plants-cards-section,
  .flowers-lovers-section,
  .deal-section {
    padding: 0 16px;
  }
  .nav-items ul,
  .trusted-badge {
    display: none;
  }
  nav img {
    width: 65px;
  }
  .cart-icon img {
    width: 24px;
  }
  .banner-container {
    flex-direction: column-reverse;
    margin-top: 30px;
    gap: 25px;
  }
  .flower-market-section,
  .plant-deal-container,
  .colorful-bunch-section {
    margin-top: 60px;
  }
  .plants-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
  }
  .plants-cards .flower-btn {
    padding: 20px 40px;
  }
  .flowers-lovers-section {
    margin-top: 40px;
  }
  .flowers-lovers-container,
  .plant-deal-container,
  .footer-container {
    flex-direction: column;
    gap: 15px;
  }
  .flowers-lovers-description,
  .flowers-lovers-images,
  .plant-deal-left,
  .plant-deal-right {
    width: 100%;
  }
  .bloom-plant {
    margin-bottom: 15px;
  }
  .zabo-plant {
    height: 200px;
  }
  .colorful-bunch {
    max-width: 80%;
  }
  .bunch-btn {
    padding: 11px 30px;
  }
  .colorful-bunch-section {
    width: 100%;
    height: 270px;
    padding: 40px 0;
  }
}
