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

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
  margin: 0;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Touch-friendly buttons */
button,
.btn-primary {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

.noto-serif-font {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

}

/* shared style */
.display-flex {
  display: flex;

}

/* dark-02 */
.text-gray {
  color: #8987A1;
}

/* dark-03 */
.text-light-gray {
  color: #252432;
}

.text-flower {
  color: #E95A08;
}

main {
  max-width: 1440px;
  margin: 0 auto;
}

a,
button {
  cursor: pointer;
}

/* header style  */



/* navbar related style  */
.navbar {
  justify-content: space-between;
  align-items: center;

}

.nav-item {
  list-style: none;
  margin-right: 30px;

}

.nav-link {
  text-decoration: none;
  font-weight: 500;
}

.navbar,
.banner {
  max-width: 1440px;
  margin: 0 auto;
}

/* banner related style */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
}

.banner-content {
  max-width: 850px;
  margin: 150px 0px;
  text-align: left;
}

.banner-title {
  font-weight: 700;
  font-size: 65px;
}

.banner-desc {
  font-size: 22px;
}

.banner-thumbnail img {
  width: 100%;
  height: auto;
}

/* plants overview section */
.plants-overview {
  padding: 150px 80px;

}

.overview-title {
  font-weight: 700;
  font-size: 50px;
  text-align: center;
}

.overview-description {
  font-size: 22px;
  text-align: center;
  margin-bottom: 40px;
}

.plants-img-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: space-between;
}

.plants-card {
  width: 100%;
  max-width: 250px;
  padding: 10px;
  text-align: center;
}

.plants-card img {
  width: 100%;

}

.plants-title {
  font-weight: 500;
  font-size: 22px;
  margin: 10px 0 5px;
}

.plants-price {
  font-weight: 700;
  font-size: 22px;

}

.btn-primary {

  padding: 8px 50px;
  background-color: #E95A08;
  color: white;
  border: none;
  border-radius: 5px;

}

.btn-primary:hover {
  background-color: goldenrod;
}


/* Plant lover section style */


.lover-img-container {
  position: relative;
  /* display: inline-block; */
}

.badge {
  position: absolute;
  width: 50%;
  margin-left: 380px;
  margin-top: -720px;
}


.plants-lover {
  gap: 60px;
}

.plants-lover-title {
  font-weight: 700;
  font-size: 50px;
  max-width: 400px;
  margin-left: 15px;
}

.plants-lover-description {
  font-size: 22px;

}

.lover-card {
  /* padding: 0px; */
  /* border: 1px solid whitesmoke;
    border-radius: 8px;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1); */
  margin-bottom: 20px;



}

/* Deals section style */
.dealing-overview {
  padding: 135px 80px 40px;
  text-align: center;
}

.deals-title {
  font-weight: 700;
  font-size: 50px;
}

.deals-description {
  font-size: 22px;
  margin-bottom: 40px;
}

.deals-theme {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  width: 100%;
}

.first-theme {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
}

.img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.img-container .overlay-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;

}

.img-container .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.img-container .overlay-text h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px 0;
  white-space: nowrap;
}

.img-container .overlay-text a {
  color: white;
  text-decoration: underline;
  border-radius: 5px;
  font-weight: 500;
}



.deals-theme>.img-container {
  height: 415px;
}

.second-theme {
  border-radius: 12px;
}


/* bunch section style */
.bunch {
  margin-top: 120px;

  background-image: url('../Images/news-letter-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.bunch-overview {
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.bunch-title {
  font-weight: 700;
  font-size: 72px;
  color: white;
  margin-bottom: 30px;
}

.subscription-form {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.email-input {
  font-size: 18px;
  padding: 15px 20px;
  border: none;
  border-radius: 0;
  flex: 4;
  width: 80%;
}



.submission {
  padding: 15px 30px;
  font-weight: 550;
  font-size: 18px;
  white-space: nowrap;
  flex: 1;
  width: 20%;
  overflow: hidden;
  border-radius: 0;
}

/* footer section */
.footer {
  padding: 100px;
  max-width: 1640px;
  margin: 0 auto;
}

.plants-brand {
  padding: 50px;
  display: flex;
  justify-content: space-between;
}

.brand-describe {
  font-size: 22px;
}

.brand-details {
  text-decoration: none;
  font-size: 22px;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.brand-item {
  list-style: none;
  margin-right: 30px;

}

.brand-links {
  display: grid;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-decoration: none;

}

.social-media {
  display: flex;
}

.social-media img {
  margin-right: 30px;
  height: 50px;
  justify-content: space-between;
  cursor: pointer;

}

.twit {
  margin-bottom: 5px;
  width: 30px;
}



/* Responsive media query */

@media screen and (max-width: 768px) {

  /* General mobile optimizations */
  * {
    box-sizing: border-box;
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Header and Navigation */
  .navbar {
    
  align-items: center;
  padding: 10px 20px;
  
    
  }
  

  .logo {
    max-width: 100px;
    height: auto;
  }
.nav-links{
  display: none;}
  
  .nav-link {
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 40px;
    
    
  } 
  

  .menu-part {
    display: none;
  }
  


.shop-part {

  font-size: 14px;
  
}
  

  /* Banner */
  .banner {
    flex-direction: column-reverse;
    padding: 30px 20px;
    text-align: center;
    gap: 20px;
  }

  .banner-content {
    margin: 0;
    max-width: 100%;
  }

  .banner-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .banner-desc {
    font-size: 16px;
    line-height: 1.4;
  }

  .banner-thumbnail {
    order: -1;
  }

  .banner-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  /* Plants Overview Section */
  .plants-overview {
    padding: 60px 20px;
  }

  .overview-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .overview-description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .plants-img-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
  }

  .plants-card {
    width: 100%;
    max-width: 180px;
    padding: 8px;
  }

  .plants-card img {
    border-radius: 8px;
  }

  .btn-primary {
    padding: 8px 20px;
    font-size: 14px;
    width: 100%;
  }

  /* Plants Lover Section */
  .plants-lover {
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px;
  }

  .lover-img-container {
    width: 100%;
    text-align: center;
  }

  .lover-img-container img {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin: auto;
  }

  .badge {
    display: none;
  }

  .plants-lover-title {
    font-size: 28px;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .plants-lover-description {
    font-size: 16px;
    text-align: left;
    line-height: 1.4;
  }

  .lover-card {
    margin-bottom: 15px;
  }

  /* Deals Section */
  .dealing-overview {
    padding: 60px 20px 30px;
    text-align: left;
  }

  .deals-title {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: left;
  }

  .deals-description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 30px;
    text-align: left;
  }

  .deals-theme {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .first-theme {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .img-container {
    height: 280px;
    margin: 10px;
  }

  .img-container .overlay-text h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    white-space: nowrap;
  }

  .img-container .overlay-text a {
    font-size: 14px;
    padding: 6px 16px;
  }

  .deals-theme>.img-container {
    height: 280px;
  }

  /* Bunch Section */
  .bunch {
    margin: 60px 0;
    padding: 60px 20px;
    min-height: 350px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
  }

  .bunch-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .subscription-form {
    display: flex;
    gap: 0;
    max-width: 100%;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  .email-input {
    font-size: 16px;
    padding: 14px 20px;
    flex: 4;
    width: 80%;
    border-radius: 0;
  }

  .submission {
    font-size: 12px;
    padding: 14px 16px;
    border-radius: 0;
    flex: 1;
    width: 20%;
    white-space: nowrap;
    overflow: hidden;
  }

  /* Footer Section */
  .footer {
    padding: 60px 20px;
  }

  .plants-brand {
    flex-direction: column;
    gap: 30px;
    text-align: left;
    padding: 0;
    align-items: flex-start;
  }

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

  .brand-overview img {
    width: 100px;
    height: auto;
  }

  .brand-describe {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
  }

  .brand-details {
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    text-align: left;
    align-items: flex-start;
  }

  .brand-links {
    gap: 15px;
    font-size: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .social-media {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
  }

  .social-media img {
    width: 28px;
    height: 28px;
  }
}