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

body {
  font-family: Inter;
  background-color: #f5f7fb;
  margin: 0;
  color: #252432;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 70px;
  background-color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 135px;
  height: auto;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center; 
}

.nav-menu a {
  text-decoration: none;
  color: #8987a1;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active-menu {
  color: #252432;
}

/* cart */
.nav-menu .cart-item a.cart {
  color: #000000;
  display: flex;
  align-items: center;
  gap: 5px;
}
/* banner Section */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 70px 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 65px;
  margin-bottom: 20px;
  font-weight: 800;
  font-family: Noto Serif;
  color: #000000;
  line-height: 1.2;
}

.orange {
  color: #E95A08;
  font-weight: 800;
}

.hero-text p {
  color: #666;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.6;
}

.hero-img img {
  width: 100%;
  max-width: 570px;
  height: auto;
  border-radius: 8px;
}

/* our plants section */
.plants {
  text-align: center;
  padding: 60px 70px;
}

.plants h2 {
  font-size: 50px;
  font-family: Noto Serif;
  margin-bottom: 20px;
}

.section-desc {
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

/* Product Grid */
.plant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 270px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 6px;
}

.card h3 {
  font-size: 18px;
  margin: 10px 0 5px;
  font-weight: 600;
}

.price {
  font-weight: bold;
  margin-bottom: 10px;
  color: #444;
}

.add-btn {
  background-color: #ff5a00;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.add-btn:hover {
  background-color: #e04b00;
}
.icon-card{
    display: none;
  margin-left: 5px;
  color:white;
}
.add-btn:hover .icon-card{
  display: inline;
}

/* plant lover section */
.plant-lover {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #f5f7fb;
  padding: 80px;
}
.plant-lover-img {
  width: 400px;
  position: relative;
}

.plant-lover-img img:first-child {
  width: 400px;
  border-radius: 8px;
}
.trusted-badge {
  width: 150px;
  position: absolute;
  top: -50px;
  right: -50px;
  animation: spin 9s linear infinite;
}

/* animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.plant-lover-text {
  width: 58%;
}

.plant-lover-text h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: Noto Serif;
}

.plant-lover-text ul {
  padding-left: 0px;
  list-style-position: inside; 
}

.plant-lover-text ul li {
  margin-bottom: 20px; 
  line-height: 1;
  font-size: 20px;
  color: #444;
}

/* Latest Deal Section */
.deals-section {
  text-align: center;
  padding: 80px 80px;
  max-width: 1200px;
  width: 100%;
}

.section-title {
  font-size: 2.5em;
  color: #333;
   margin-bottom: 10px;
}

.section-title .highlight {
  color: #FF8C00; 
}

.section-description {
  font-size: 1.1em;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.deals-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.deal-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; 
}

.deal-card.large {
  flex: 2; 
  max-width: 700px;
  min-width: 400px; 
  height: 400px; 
}

.deal-card-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1; 
  min-width: 300px; 
}

.deal-card.small {
  flex: 1;
  height: 190px;
}

.deal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 15px;
}

.deal-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.deal-offer {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.shop-now-btn {
  background-color: #FF8C00;
  color:white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}
.shop-icon{
  display: none;
  margin-left: 5px;
  color:white;
}
.shop-now-btn:hover {
  background-color: #e04b00;
}
.shop-now-btn:hover .shop-icon {
  display: inline;
}

/* Join Section */
.join {
  background-image: url(../assets/news-letter-bg.png);
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
  text-align: center;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.join-content h2 {
  font-size: 42px;
  font-family: 'Noto Serif', serif;
  margin-bottom: 15px;
  color: white;
}

.join-form {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
}

.join-form input[type="email"] {
  padding: 12px 16px;
  width: 280px;
  border: 1px solid #ccc;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
  border-right: none;
  margin: 0;
}

.join-form button {
  padding: 12px 24px;
  background-color: #e95a08;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  margin: 0;
  transition: background-color 0.2s ease;
}

.join-form button:hover {
  background-color: #d84c00;
}


/* footer section */
.site-footer {
  background-color: #fff;
  padding: 80px 80px;
  border-top: 1px solid #eee;
  margin-top: auto; 
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-about {
  flex: 1 1 300px; 
  min-width: 250px;
}

.footer-logo img {
  max-width: 180px; 
  height: auto;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex: 2 1 400px;
  justify-content: space-around;
  gap: 20px;
}

.link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-column ul li {
  margin-bottom: 10px;
}

.link-column ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1em;
  transition: color 0.3s ease;
}

.link-column ul li a:hover {
  color: #FF8C00; 
}

.footer-social {
  flex: 0 0 auto;
  margin-left: auto;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px; 
}


/* mobile responsive*/
@media (max-width: 768px) {

  .nav-menu ul li:not(.cart-item) {
    display: none;
  }
  .cart i {
    font-size: 30px;
  }
  .banner {
    padding: 40px 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 40px;
  }
  
  .hero-text p {
    margin: 0 auto;
  font-size: 14px;
  }

  .plants {
    padding: 40px 20px;
  }
  
  .plants h2 {
    font-size: 32px;
  }
  
  .plant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card {
    max-width: 100%;
  }
  
  .plant-lover {
    flex-direction: column;
    padding: 40px 20px;
    align-items: center;
  }
  
  .plant-lover-img {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .trusted-badge {
    display: none;
  }
  
  .plant-lover-img img:first-child {
    width: 100%;
  }
  
  .plant-lover-text {
    width: 100%;
  }
  
  .plant-lover-text h2 {
    font-size: 32px;
  }
  
  .plant-lover-text ul li {
    font-size: 16px;
  }
  
  .deals-section {
    padding: 40px 20px;
  }
  
  .section-title {
    font-size: 1.8em;
  }
  
  .deals-container {
    flex-direction: column;
  }
  
  .deal-card.large,
  .deal-card.small {
    min-width: 100%;
    height: 300px;
  }
  
  .deal-card-group {
    min-width: 100%;
  }
  .join {
    padding: 40px 20px;
  }
  
  .join-content h2 {
    font-size: 32px;
  }
  
  .join-form {
    flex-direction: row;
  }
  
  .join-form input[type="email"] {
    width: 65%;
    max-width: none;
  }
  
  .join-form button {
    width: 35%;
    padding: 12px 16px;
  }
  
  .site-footer {
    padding: 40px 20px;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .link-column {
    margin-bottom: 20px;
  }
  
  .footer-social {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .plant-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .plants h2,
  .plant-lover-text h2 {
    font-size: 28px;
  }
  
  .deal-card.large,
  .deal-card.small {
    height: 250px;
  }
}
