/* Global */
* {
     background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
}

/* Navbar */
.menu-cart{
  display: flex;
  justify-content: center;
  gap:4rem;

}
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #f0f0f0;
  align-items: center;
  margin: 0px 25px 0px 25px;
}

.nav-menu {
  display: flex;
  gap: 4rem;
  align-items: center;
}
  .home{
  font-weight: bolder;
}
.cart a {
  font-weight: bolder;
  text-decoration: none;
  font-weight: bold;
  color: #222;
}

.nav-menu a, .cart {
  text-decoration: none;
  color: #333;
}

.cart-image{
    display: flex;
    justify-items: center;
}
.cart-image :hover{
  color: #c94a06;
}
.cart :hover{
  color: #c94a06;
}
.nav-menu :hover{
  color: #c94a06;
}

/* Banner wrapper */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 50px 40px 50px;
 background-color: #f0f0f0;
  flex-wrap: wrap;
}

/* Left content */
.banner-content {
  flex: 1;
  min-width: 280px;
}

/* Heading: "ALWAYS FRESH" */
.always-fresh {
  font-size: 3.5rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.always-fresh-span {
  color: #000; /* black */
}

.always-fresh-span2 {
  color: #f26522; /* orange */
  margin-left: 8px;
}

/* "FLOWERS" line */
.flowers {
  font-size: 3.5rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #f26522;
  margin-bottom: 1rem;
}

/* Paragraph text */
.side-text {
  font-size: 1.2rem;
  color: #555;
  max-width: 500px;
  line-height: 1.6;
}

/* Right image */
.banner-image {
  flex: 1;
  text-align: right;
  min-width: 280px;
}

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

/* Responsive styles */

/* plant section */
.plant-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  margin: 0px 75px 0px 75px;

}
.our-plants {
  text-align: center;
  font-family: "NotoSerif-Bold", sans-serif;
  font-size: 50px;
  font-weight: 700;
  position: relative;
  align-self: stretch;
}
.our-plants-span {
  color: #e95a08;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.our-plants-span2 {
  color: #000000;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.plant-text {
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-family: "Inter-Regular", sans-serif;
  font-size: 22px;
  font-weight: 400;
  position: relative;
  width: 888px;
}

/* card */
.card-section {
  text-align: center;
  margin: 30px 50px 0px 50px;
  
}
.card-section{
     display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
margin-top: 2rem;

}

.plant-card {
  
 
  text-align: center;
}

.plant-card p{
font-size: larger;
}
.plant-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.plant-card button {
 margin-top: 1rem;
  padding: 0.8rem;
  background-color: #e95a08;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;

}
.plant-card button:hover {
  background: #c94a06;
}
/* plant lover section */

/* Base layout for plant lover section */
.plant-lover {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 70px 50px 60px 50px;
  background-color:#f0f0f0;
  flex-wrap: wrap;
}


/* Make image relative to hold badge */
.lover-image {
  position: relative;
}

.lover-image img:first-child {
  width: 590px;
  height: auto;
  display: block;
}

/* Trusted badge on top-center of image */
.trusted-badge {
  position: absolute;
  top: -60px;
  left: 96%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  animation: spin 5s linear infinite;
  z-index: 10;
  background: transparent;
}

/* Right side text content */
.lover-content {
  flex: 1;
  min-width: 300px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #222;
  font-weight: 400;
}

.lover-content h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.lover-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  font-size: 1.5rem;
  color: #444;
}

.lover-content li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Spin animation for the badge */
@keyframes spin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {

  .lover-image img:first-child {
  width: 100%;
  height: auto;
  display: block;
}
  .plant-lover {
    flex-direction: column;
    margin: 20px 16px;
  }

  .trusted-badge {
    display: none;
  }

  .lover-content h2 {
    font-size: 2rem;
    text-align: left;
  }

  .lover-content ul {
    font-size: 1rem;
    padding-left: 1.2rem;
  }
}





/* --- Deals/Offers Cards Section --- */

.deals-section {
  display: flex;
  gap: 2rem;
  margin: 60px 60px 0 60px;
}
.deals-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}
.deal-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  min-height: 170px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
  
}
.deal-card.large {
  flex: 2;
  min-height: 240px;
}
.deal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 20px;
  box-sizing: border-box;
    
}
.deal-discount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0f0f0;
  background: transparent;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.deal-shop {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0.2rem;
   color: #f0f0f0;
  background: transparent;
   font-family: Georgia, 'Times New Roman', Times, serif;
}
.deal-shop:hover {
  color: #ff5900;
}
@media (max-width: 900px) {
  .deals-section {
    flex-direction: column;
    gap: 1rem;
    margin: 20px 10px 0 10px;
  }
  .deal-card.large {
    min-height: 140px;
  }
}

/* --- Newsletter Signup Section --- */
.newsletter-section {
  margin: 50px 0 0 0;
  width: 100%;
}
.newsletter-bg {
  background: url('assets/news-letter-bg.png') center/cover no-repeat;
  padding: 70px 0 80px 0;
  text-align: center;
  margin: 0px;
  position: relative;
}
.newsletter-bg h2 {
  font-size: 2.5rem;
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  margin-bottom: 2rem;
  background: transparent;
}
 .button {
     border-radius: 0px;
  }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 650px;
   border-radius: 0px 9px 9px 0px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  
  padding: 0.9rem 1.2rem;
  border: none;
 border-radius: 0px 9px 9px 0px;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.newsletter-form button {
  padding: 0.9rem 1.5rem;
  border: none;
  color:beige;
  background: #e95a08;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0px 9px 9px 0px;
  cursor: pointer;
  transition: background 0.2s;
 
}
.newsletter-form button:hover {
  background: #c94a06;
}
@media (max-width: 600px) {
  .newsletter-bg {
    margin: 0 10px;
    padding: 40px 0 40px 0;
  }
.newsletter-form{
  border-radius: 0px 9px 9px 0px;
}
  .newsletter-bg h2 {
    font-size: 1.5rem;
  }
  .newsletter-form input[type="email"] {
    width: 60%;
    border-radius: 9px 9px 9px 9px;
  }
 
}
@media (max-width: 600px) {
  .newsletter-form {
     margin: 40px;
    gap: 0rem;
  }
  .newsletter-form input[type="email"]{
     width: 100%;
    
  }
  .newsletter-bg {
     
    height: 190px;

  }
  
  
  }
  
  .newsletter-form button {
    
    border-radius: 6px;
    width: 40%;
  }


/* --- Footer Section --- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 60px 50px 30px 50px;
  padding: 40px 75px 30px 75px;
  border-radius: 18px 18px 0 0;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-left {
  flex: 1;
  min-width: 180px;
}
.footer-logo {
  width: 90px;
  margin-bottom: 1rem;
}
.footer-left p {
  color: #555;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 3rem;
  flex: 2;
  min-width: 220px;
  justify-content: center;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #e95a08;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.3);
  transition: filter 0.2s;
}
.footer-social img:hover {
  filter: grayscale(0) brightness(1.2);
}
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 10px 20px 10px;
    gap: 1.5rem;
  }
  .footer-links {
    gap: 1.5rem;
  }
}


@media (max-width: 600px) {

  .responsive-section {
    margin: 20px 16px;
  }

  /* Navbar */
     .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.7rem 0.5rem 0.7rem;
    margin: 0;
    background: #f0f0f0;
    box-shadow: none;
    min-height: 56px;
  }
  .navbar .logo {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 120px;
    height: auto;
  }
  .nav-menu {
    display: none !important;
  }
  .cart {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 500;
    background: none;
  }
  .cart-image {
    display: flex;
    align-items: center;
    margin-right: 0.3rem;
  }


  /* Banner */
  .banner {
    flex-direction:column-reverse;
    align-items: flex-start;
    margin: 0 5px;
    gap: 1rem;
  }
  .always-fresh, .flowers {
    font-size: 2rem;
  }
  .side-text {
    font-size: 1rem;
  }
  .banner-image img {
    max-width: 100%;
    height: auto;
  }

  /* Plant Section */
  .plant-section {
    margin: 0 5px;
  }
  .our-plants {
    font-size: 2rem;
  }
  .plant-text {
    font-size: 1rem;
    width: 100%;
  }

  /* Card Section */
  .card-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 5px 0 5px;
  }
  .plant-card img {
    height: 150px;
  }

  /* Plant Lover Section */
  .plant-lover {
    flex-direction: column;
    margin: 20px 5px 20px 5px;
    gap: 1rem;
  }
  .lover-image-wrapper {
    margin-left: 0;
    max-width: 100%;
  }
  .lover-content {
    margin-left: 0;
    min-width: unset;
    font-size: 1rem;
  }
  .lover-content h2 {
    font-size: 2rem;
  }

  /* Deals Section */
  .deals-section {
    flex-direction: column;
    gap: 1rem;
    margin: 20px 5px 0 5px;
  }
  .deal-card, .deal-card.large {
    min-height: 190px;
  }
  .deal-discount {
    font-size: 1.1rem;
  }
  .deal-shop {
    font-size: 1rem;
  }

  /* Newsletter Section */
  .newsletter-bg {
    padding: 20px 0 30px 0;
    margin: 0 5px;
  }
  .newsletter-bg h2 {
    font-size: 1.1rem;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    margin: 20px 5px 10px 5px;
    padding: 20px 5px 10px 5px;
    gap: 1rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    min-width: unset;
    width: 100%;
  }
  .footer-left {
    min-width: unset;
  }
  .footer-logo {
    width: 60px;
  }
  .footer-social img {
    width: 22px;
    height: 22px;
  }
}



