* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;}

html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    background-color: #F1F1F1;
   }

.page-title {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    /* Adjust alignment based on design */
    color: #360c4b;
    /* Adjust color */

}



/* NavBar */

header {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background-color: #360c4b;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: fixed;
    width: 90%;
    border-radius: 13px;
    margin-left: 5.05%;
    z-index: 2;
    justify-items: center;

   
    
}

a img {
    width: 90px;
    border-radius: 12px;
    margin-left: 10px;
    margin-top: 3px;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}


/* NavBar  Search */

#search {
    background-color: rgba(255, 255, 255, 0.947);
    border-radius: 2rem;
    width: 38rem;
    height: 24px;
    border: none;
    margin: 8.5px 0;
    font-size: 16px;
    padding: 10px;
}




ul li {
    display: inline-block;

    margin: 10px 30px 10px 30px;


}

/* inline is needed for the transform */
li a {
    text-decoration: none;
    color: rgb(240, 248, 255,0.8);
    font-size: medium;
    display: inline-block;            
    transition: color 0.3s ease;
}

li a:hover {
    color: rgb(240, 248, 255); 
    
} 






/* HeroSection */
.hero-section {
  
  color: white;
  overflow: hidden;
  
 
}

.hero-section svg {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
     justify-content: center;   /* center horizontally  */
     align-items: center;        /*center vertically  */
    margin-top: 6rem;
  z-index: -1;
  box-sizing: border-box;

}
 
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 60px 20px;
  flex-wrap: wrap;
  height: 400px;
  margin-top: 7rem;
}
    
.hero-text {
max-width: 600px;
}
.hero-text h1 {
font-size: 36px;
margin-bottom: 10px;

}
.hero-text p {
font-size: 18px;
margin-bottom: 80px;


}
.hero-btn {
padding: 12px 24px;
background-color: #a855f7;
color: white;
text-decoration: none;
border-radius: 6px;
transition: background 0.3s;

}
.hero-btn:hover {
background-color: #7c3aed;
}
.hero-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

}




/* Floating shapes */











/* eggplant */
 .svg-wrapper {
  
      position: absolute;
      top: 688px; /* change as needed */
      left: 480px; /* change as needed */
      transform: rotate(-140deg) translate(0px, 0px);
      opacity: 1;
      z-index: 1;
    
      

    }

     .svg-wrapper0 {
      position: absolute;
      top: 551px; /* change as needed */
      left: 410px; /* change as needed */
      transform: rotate(-70deg) translate(0px, 0px);
      opacity: 1;
      z-index: 1;
    }

    .svg-wrapper1 {
      position: absolute;
      top: 440px; /* change as needed */
      left: 465px; /* change as needed */
      transform: rotate(33deg) translate(0px, 0px);
      opacity: 1;
      z-index: 1;
    }

     .svg-wrapper2 {
      position: absolute;
      top: 474px; /* change as needed */
      left: 405px; /* change as needed */
      transform: rotate(60deg) translate(0px, 0px);
      opacity: 0.7 ;
      z-index: 1;
     
      
    }


   .svg-wrapper4 {
      position:absolute;
      top: 246px; /* change as needed */
      left: 262px; /* change as needed */
      transform: rotate(150deg) translate(0px, 0px);
      opacity: 0.75 ;
      z-index: 1;
      
    }

   

/* BRAND SLIDER */
    .slider-wrapper {
      position: relative;
      overflow: hidden;
      margin-left:100px;
      margin-right: 100px;
      margin-top: 5.2rem;
      
    }

    .slider {
      display: flex;
      gap: 20px;
      animation: scroll 32s linear infinite;
      width: max-content;
      margin-bottom: 10px;
      margin-top: 4px;

    }

    .brand-card {
      flex: 0 0 auto;
      background: white;
      border-radius: 16px;
      box-shadow: -10px 10px 5px rgba(0,0,0,0.05);
      white-space: nowrap;
      transition: transform 0.4s ease-in-out;
    }
    .brand-card:hover{
      transform: scale(110%);
    }
    
    div img{
      border-radius: 16px;
      height: 90px;
    }
    
    

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }
    

    /* Fade edges */
    .slider-wrapper::before,
    .slider-wrapper::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 150px;
      pointer-events: none;
      z-index: 1;
    }

    .slider-wrapper::before {
      left: 0;
      background: linear-gradient(to right,  #F1F1F1, transparent);
    }

    .slider-wrapper::after {
      right: 0;
      background: linear-gradient(to left, #F1F1F1, transparent);
    }

    @media (max-width: 600px) {
      .brand-card {
       border-radius: 16px;
      height: 90px;
      }
    }

    /* Modal overlay and blur effect */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

/* Modal box */
.modal-content {
  background: white;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}










/* About */
#about{
    text-align: center;
    margin: 80px;
    word-break: break-all;

}




/* Products Card */

#products{
   background-color: #F1F1F1;
   width: 100%;
   /* position: relative;
   z-index: 3; */
   margin-top: 150px;
}

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px ;
  padding-bottom: 40px ;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  color: #1a4040;
  font-weight: 600;
}

.see-more {
  text-decoration: none;
  color:  #8316cc;
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  transition: 0.3s ease;
  position: relative;
  border: 10px solid  #F1F1F1;
}

/* .product-card:hover {
  transform: translateY(-5px); /* to uplift the card
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
} */

.product-card:hover{
  transform: translateY(-5px);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* .product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: #f8faf9;
  border-radius: 0 0 50% 50%;
} */

.product-image {
  height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 8px;
}

.product-image img {
  height: 170px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover .product-image img{
  transform: scale(104%);
}

.product-info {
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a4040;
}

.product-category,
.product-weight {
  font-size: 12px;
  color: #6b7280;
  margin: 3px 0;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: #1a4040;
}

.price-decimal {
  font-size: 14px;
  vertical-align: top;
}

.price-currency {
  font-size: 16px;
  vertical-align: top;
}

/* Cart Controls */
.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.add-btn {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1a4040;
  cursor: pointer;
  transition: 0.3s ease;
}

.add-btn:hover {
  background: #8316cc;
  color: white;
  transform: scale(1.1);
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #84cc16;
  border-radius: 20px;
  padding: 4px 8px;
  gap: 8px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  color: #1a4040;
  font-weight: bold;
  cursor: poniter;
  transition: 0.2s ease;
}

.quantity-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.quantity-display {
  min-width: 20px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.card-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 0;
  pointer-events: none;

}





/* Footer Seaction */

/* footer img{
   margin-left: 100px;
} */






/* @media (max-width: 768px) {
    header {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    #search {
        width: 90%;
        margin: 10px 0;
    }

    #home img {
        width: 100%;
    }

    nav ul {
        text-align: center;
        margin: 20px 0;
    }
} */


/* 📱 MOBILE VIEWPORT STYLES */
@media screen and (max-width: 600px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;}

html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    background-color: #F1F1F1;
   }

  /* Navbar */
  header {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    border-radius:0;
    border-radius: 10px;
    padding: 4px 4px;
    margin-left: 10px;
    /* border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%; */
    

  }

  ul li {
    margin: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  #search {
    width: 80%;
    margin: 5px 0;
    height: 3px;
  }

  a img {
    width: 70px;
    margin-left: 41%;
    
  }

  /* Hero Section */
/* Hero Section Container */
  .hero-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 40px 16px;
    height: auto; /* allow natural height */
    margin-top: 6rem;
    
  }

  /* Hero Text */
  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 0px;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-left: 1  0px;
  }

  .hero-text p {
    font-size: 0px;
    margin-bottom: 24px;
  }

  .hero-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* Hero Image */
  .hero-image img {
    display: none;
  }

  /* SVG Background */
  .hero-section svg {
    width: 87%;
    height: auto;
    margin-top: 10rem;
    margin-left: 20px;
    left: 0;
    top: 0;
    transform: scale(1.2); 
    /* slight zoom for mobile fit */
  }


  /* SVG Position Adjustments */
  .svg-wrapper,
  .svg-wrapper0,
  .svg-wrapper1,
  .svg-wrapper2,
  .svg-wrapper4 {
    display: none; /* optional: hide decorative SVGs on small screens */
  }

  /* Brand Slider */
  .slider-wrapper {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10rem;
  }

  .slider-wrapper::before,
  .slider-wrapper::after {
    width: 50px; /* reduce blur edge widths */
  }

  .brand-card img {
    height: 70px;
  }

  /* About Section */
  #about {
    margin: 40px 20px;
  }

   /*Products Section */
  .product-card{
    width: 200px;
  }
  .products-section {
    padding: 20px 10px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .products-grid {
    grid-template-columns: repeat(150px, 0.5fr); /* force 2-column layout on mobile */
    gap: 0px;
  }

  .product-card {
    padding: 12px;
  }

  .product-image {
    height: 140px;
  }

  .product-image img {
    height: 130px;
  }

  .product-price {
    font-size: 20px;
  }

  .add-btn {
    width: 32px;
    height: 32px;
  }

  .quantity-btn {
    width: 28px;
    height: 28px;
  }

   Modal 
  .modal-content {
    width: 95%;
    padding: 20px;
  }

}

/* 📱 Extra Small Screens (≤ 480px) */
@media screen and (max-width: 480px) {

  .products-grid {
    grid-template-columns: 1fr; /* fallback to single column if too narrow */
  }

  .hero-text h1 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 10px;
  }

  .brand-card img {
    height: 60px;
  }
}
