/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom, #f0fdf4, #fef3c7);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #92400e;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
  color: #4ade80;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav a:hover {
  color: #86efac;
}

.cart-btn {
  background-color: #16a34a;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cart-btn:hover {
  background-color: #15803d;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fef3c7, #dcfce7);
  padding: 5rem 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #92400e;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #a16207;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #16a34a;
  color: white;
}

.btn-primary:hover {
  background-color: #15803d;
}

.btn-secondary {
  background-color: transparent;
  color: #92400e;
  border: 2px solid #92400e;
}

.btn-secondary:hover {
  background-color: #92400e;
  color: white;
}

.btn-cart {
  background-color: #92400e;
  color: white;
  width: 100%;
  margin-top: 1rem;
}

.btn-cart:hover {
  background-color: #a16207;
}

/* Features */
.features {
  padding: 4rem 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.feature-icon.green {
  background-color: #dcfce7;
  color: #16a34a;
}

.feature-icon.brown {
  background-color: #fef3c7;
  color: #d97706;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #a16207;
}

/* Products */
.products {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f0fdf4, #fef3c7);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #92400e;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #a16207;
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #fbbf24;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.badge.bestseller {
  background-color: #16a34a;
}

.badge.organic {
  background-color: #d97706;
}

.badge.natural {
  background-color: #16a34a;
}

.badge.artisan {
  background-color: #d97706;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #16a34a;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stars {
  color: #fbbf24;
}

/* About */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #92400e;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: #a16207;
  margin-bottom: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #16a34a;
}

.stat-label {
  color: #a16207;
}

.about-image {
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #fef3c7, #f0fdf4);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #fbbf24;
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #16a34a;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #a16207;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: #92400e;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-section p {
  color: #fbbf24;
  opacity: 0.8;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #fbbf24;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section ul li a:hover {
  opacity: 1;
  color: #86efac;
}

.footer-bottom {
  border-top: 1px solid #a16207;
  padding-top: 2rem;
  text-align: center;
  color: #fbbf24;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-content h2 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}
