:root {
  --primary: #2d8b6f;
  --primary-dark: #1f5d4a;
  --secondary: #a8d5ba;
  --accent: #f3e5d5;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --border: #e8e8e8;
  --white: #ffffff;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.search-btn,
.cart-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.search-btn:hover,
.cart-btn:hover {
  transform: scale(1.1);
}

.cart-count {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 50%;
  margin-left: 0.25rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(45, 139, 111, 0.05) 0%, rgba(168, 213, 186, 0.05) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  background-color: var(--accent);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(45, 139, 111, 0.1);
}

.hero .placeholder-image {
  font-size: 4rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
}
.hero .placeholder-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Buttons */
.cta-button {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button.primary {
  background-color: var(--primary);
  color: var(--white);
  margin-right: 1rem;
}

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 139, 111, 0.3);
}

.cta-button.secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #fafafa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(45, 139, 111, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Products Section */
.products {
  padding: 5rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(45, 139, 111, 0.15);
}
.product .container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product-image {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
}
.product-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.add-to-cart-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.625rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #2c2c2c;
  color: #ccc;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.social-icon i{
  color: var(--white);
  font-size: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .container {
      grid-template-columns: 1fr;
  }

  .hero-title {
      font-size: 2.5rem;
  }

  .nav-menu {
      display: none;
  }

  .hero-image {
      height: 300px;
  }

  .header-content {
      flex-direction: column;
      gap: 1rem;
  }

  .features-grid {
      grid-template-columns: 1fr;
  }

  .products-grid {
      grid-template-columns: 1fr;
  }

  .newsletter-form {
      flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
      font-size: 2rem;
  }

  .section-title {
      font-size: 1.8rem;
  }

  .cta-button {
      display: block;
      width: 100%;
      margin: 0.5rem 0;
  }
}
