@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

/* Font Family Setup */
.work-sans-fonts {
  font-family: 'Noto Serif', serif;
}

/* body common styles */

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

body {
  background-color: white;
  padding: 0;
}

/* Shared Styles */

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.display-flex {
  display: flex;
}
.text-primary {
  color: #e95a08;
}
.text-gray {
  color: #8987a1;
}
.section-title {
  font-size: 4rem;
  font-weight: 700;
}

/* Navbar Styling */
.navbar {
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #e95a08;
}

.nav-link i {
  margin-right: 6px;
}

/*Banner Section */
.banner {
  align-items: flex-end;
  margin-top: 120px;
  gap: 30px;
}

.banner-content {
  flex: 1;
  text-align: left;
}
.banner-title {
  font-size: 4rem;
  font-weight: 700;
}
.banner-description {
  font-size: 1.5rem;
}
.banner-image {
  flex: 1;
  width: 100%;
}

/*Plants Section */
.plants {
  text-align: center;
  padding-top: 80px;
  max-width: 1140px;
  margin: 0 auto;
}

.plants h2 {
  font-size: 3.2rem;
  margin-bottom: 0.3rem;
}

.plants p {
  font-size: 20px;
  padding-bottom: 25px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.plant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
}

.card {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
  color: #222;
}

.card p {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.card button {
  background-color: #e95a08;
  color: white;
  width: 100%;
  height: 45px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card button:hover {
  background-color: #d64c0f;
}

/* floure Section */

.floure-store {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  margin: 220px;
}

.store-text h5 {
  font-size: 50px;
  font-weight: 700;
  width: 540px;
  text-align: left;
}

.text-title ul {
  padding: 0.5rem 0rem 0rem 1.3rem;
  width: fit-content;
}

.text-title li {
  margin-bottom: 1.5rem;
}

.text-title li p {
  font-size: 1.2rem;
  text-align: left;
}

.img-badge {
  position: relative;
  display: inline-block;
}

.badge-menu {
  position: absolute;
  top: -100px;
  left: 422px;
  width: 240px;
  height: 247px;
}

/* Latest Deals section */

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

body {
  text-align: center;
}

.latest-text {
  font-size: 50px;
  font-weight: 700;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: #8987a1;
  font-size: 1rem;
}

.deal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: 1140px;
  margin: auto;
}

.left-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 35%;
}

.right-card {
  width: 76%;
  height: 100%;
}

.right-card .card-content h3 {
  font-size: 2.1rem;
  font-weight: 800;
}

.right-card .card-content a {
  font-size: 1.6rem;
  font-weight: bold;
}

.card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  color: white;
  background: none;
  box-shadow: none;
}

.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
  color: white;
  font-weight: 700;
  margin: 0;
}

.card-content a {
  display: inline-block;
  color: white;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1rem;
}

/* Hero section styles */
.hero-section {
  background-image: url('../assets/news-letter-bg.png');
  background-size: cover;
  background-position: center;
  height: 533px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 120px;
}

.content-wrapper {
  text-align: center;
  color: white;
}

.content-wrapper h1 {
  font-size: 3.1rem;
  font-weight: bold;
  margin-bottom: 1.4rem;
}

.form-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 900px;
  max-width: 90%;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
}

.form-box input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  border: none;
  outline: none;
}

.form-box button {
  background-color: #f26522;
  color: white;
  border: none;
  padding: 14px 24px;
  width: 186px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-box button:hover {
  background-color: #d14c11;
}

.hiden {
  display: none;
}

/* footer section */
.footer-container {
  margin: 50px 160px;
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
}

.brand-img {
  text-align: left;
}

.brand-img img {
  margin-bottom: 0.6rem;
}
.footer-container a {
  text-decoration: none;
  color: rgba(107, 114, 128, 1);
}
.name-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: left;
}

.footer-social {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-content: baseline;
  align-items: center;
}

.name-container a:hover {
  color: #e95a08;
}

/* Responsive: Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .nav-item:nth-child(1),
  .nav-item:nth-child(2),
  .nav-item:nth-child(3),
  .badge-menu {
    display: none;
  }

  /* Banner Section */
  .banner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    padding: 0 16px;
  }

  .banner-content {
    width: 100%;
  }

  .banner-title {
    font-size: 1.4rem;
  }

  .banner-description {
    font-size: 1rem;
    margin-top: 12px;
  }

  .banner-image {
    width: 100%;
    margin-bottom: 20px;
  }
  /* Plants Section */
  .plants {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .plants h2 {
    font-size: 1.4rem;
  }

  .plants p {
    font-size: 1rem;
    padding: 0 16px 24px;
    line-height: 1.6;
  }

  .plant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 16px;
  }

  .card {
    padding: 0.8rem;
    text-align: center;
  }

  .card h3 {
    font-size: 1.4rem;
    margin-top: 0.5rem;
  }

  .card p {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .card button {
    width: 100%;
    font-size: 0.85rem;
    height: 42px;
  }
  /*  Floure Section (Responsive) */
  .floure-store {
    flex-direction: column;
    margin: 41px 17px;
    gap: 30px;
    text-align: left;
    position: relative;
  }

  .store-text h5 {
    font-size: 1.4rem;
    width: 100%;
  }

  .store-text h5 br {
    display: none;
  }

  .text-title ul {
    padding-left: 1rem;
    margin: 0 auto;
  }

  .img-badge-wrapper {
    width: 100%;
    text-align: center;
  }

  .res-img-store {
    width: 100%;
    max-width: 450px;
    height: auto;
  }

  .sill {
    display: none;
  }
  /*Latest Deals (Responsive) */
  .deal-container {
    flex-direction: column;
  }

  .left-cards,
  .right-card {
    width: 100%;
  }

  .section-title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
    padding: 0 12px;
    margin-bottom: 25px;
  }

  .card-content h3 {
    font-size: 0.8rem;
  }

  .card-content a {
    font-size: 0.6rem;
  }

  .right-card .card-content h3 {
    font-size: 0.8rem;
  }

  .right-card .card-content a {
    font-size: 0.6rem;
  }

  /* Hero Section responsive */
  .hero-section {
    height: auto;
    padding: 40px 20px;
  }

  .content-wrapper h1 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .form-box {
    flex-direction: row;
    width: 100%;
  }

  .form-box input {
    width: 80%;
    font-size: 14px;
    height: 44px;
  }

  .form-box button {
    width: 32%;
    padding: 12px;
    font-size: 14px;
    height: 44px;
  }
  /* Hero Section responsive */
  .hero-section {
    height: auto;
    padding: 40px 20px;
  }

  .content-wrapper h1 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .form-box {
    flex-direction: row;
    width: 100%;
  }

  .form-box input {
    width: 80%;
    font-size: 14px;
    height: 44px;
  }

  .form-box button {
    width: 32%;
    padding: 12px;
    font-size: 14px;
    height: 44px;
  }

  /* footer section */

  .footer-container {
    flex-direction: column;
    margin: 30px 160px 50px 30px;
    gap: 1rem;
  }

  .name-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .brand-img p {
    width: 350px;
  }

  .footer-social {
    padding-top: 20px;
  }
}
