@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset and Base Styles */
* {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  
  padding: 0 20px;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg,rgba(103, 103, 103, 0.2) , rgba(0, 0, 0, 0.2)), url('cin 11.jpg');
   backdrop-filter: blur(1px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

/* Header Styles */
.header-container {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  width: 90%;
  max-width: 1300px;
  margin-top: 20px;
  position: absolute;
  top: 20px;
  border-radius: 60px;
  padding: 15px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1002;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: #0d3330;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: #ffffff;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ffffff;
  scale: 1.2;
 
}

/* Hero Content */
.hero-content {
  margin-top: 120px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.stat p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

/* Filter Section */
.filter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  z-index: 1;
}

.filter-header {
  text-align: center;
  margin-bottom: 50px;
}

.filter-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a5450;
  margin-bottom: 15px;
}

.filter-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: white;
  color: #1a5450;
  border: 2px solid #1a5450;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1a5450;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 84, 80, 0.3);
}

/* Products Section */
.products-section {
  padding: 100px 0;
  /* Add your background image and overlay */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(26,84,80,0)), url("red.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  color: white;
  background-attachment: fixed;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 84, 80, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: white;
  color: #1a5450;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: #1a5450;
  color: white;
}

.product-info {
  padding: 30px;
  position: relative;
}

.product-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #1a5450;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-badge.organic {
  background: #4CAF50;
}

.product-badge.essential {
  background: #9C27B0;
}

.product-badge.premium {
  background: #FF9800;
}

.product-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a5450;
  margin-bottom: 10px;
  margin-top: 20px;
}

.product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.product-specs span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.product-specs i {
  color: #1a5450;
  width: 16px;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  flex: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #1a5450, #2a6b66);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2a6b66, #1a5450);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 84, 80, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #1a5450;
  border: 2px solid #1a5450;
}

.btn-secondary:hover {
  background: #1a5450;
  color: white;
}

.btn-primary.large,
.btn-secondary.large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Quality Section */
.quality-section {
  padding: 100px 0;
  
  color: white;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('autumn-leaves-composition\ \(1\).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  background-attachment: fixed;
}

.quality-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quality-text h2 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.quality-text h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.2;
}

.quality-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.quality-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.quality-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.quality-item i {
  font-size: 2rem;
  color: #ffffff;
  margin-top: 5px;
  min-width: 40px;
}

.quality-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.quality-item p {
  opacity: 0.9;
  line-height: 1.5;
}


/* Split effect for top and bottom images */
.quality-image img.top-half {
  object-position: top;
  height: 180px; /* Adjust as needed */
  clip-path: inset(0 0 50% 0); /* Show top half */
}

.quality-image img.bottom-half {
  object-position: bottom;
  height: 180px; /* Adjust as needed */
  clip-path: inset(50% 0 0 0); /* Show bottom half */
}



/* Example for two images: add this in your HTML
<div class="quality-image">
  <img src="top-image.jpg" alt="Top Image">
  <img src="bottom-image.jpg" alt="Bottom Image">
</div>
*/

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a5450;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #2a3335;
  margin-bottom: 40px;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1003;
  position: relative;
}

.mobile-nav-toggle:hover {
  color: #1a5450;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 1003;
  }
  
  nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    z-index: 1002;
  }
  
  nav.active {
    max-height: 320px;
    padding: 10px 0;
    opacity: 1;
  }
  
  nav a {
    color: #1a5450 !important;
    padding: 15px 40px;
    border-radius: 0;
    border-bottom: 1px solid rgba(26, 84, 80, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    text-align: left;
  }
  
  nav a:last-child {
    border-bottom: none;
  }
  
  nav a:hover {
    background-color: rgba(26, 84, 80, 0.1);
    transform: translateX(10px);
    color: #1a5450 !important;
  }
  
  .header-container {
    position: relative;
    overflow: visible;
    z-index: 1003;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .quality-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .quality-image {
    justify-content: center;
    width: 100vw;
    margin-left: -20px; /* Adjust if .container has padding */
  }
  .quality-image img {
    width: 100vw;
    max-width: none;
    min-width: 0;
    border-radius: 0;
  }
  
  .quality-text h3 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    width: 95%;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  header {
    padding: 0 20px;
  }
  
  nav a {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .stat {
    padding: 20px 15px;
  }
  
  .stat h3 {
    font-size: 2rem;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .quality-item {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .filter-header h2,
  .quality-text h3,
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

/* Loading states */
.filter-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

.quality-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.quality-image img {
  width: 80%;
  max-width: 500px;
  min-width: 220px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  object-fit: cover;
  display: block;
}

/* Responsive: full width on mobile */
@media (max-width: 768px) {
  .quality-image {
    justify-content: center;
    width: 100vw;
    margin-left: -20px; /* Adjust if .container has padding */
  }
  .quality-image img {
    width: 100vw;
    max-width: none;
    min-width: 0;
    border-radius: 0;
  }
}
