/* EcoSphere - Sustainable Product Marketplace Styles */

:root {
  --cream-bg: #F5F5F0;
  --forest-green: #2A4C3C;
  --earthy-clay: #C7794F;
  --sky-blue: #87CEEB;
  --light-green: #E8F5E8;
  --dark-green: #1A3A2A;
  --text-muted: #6B7B6B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--cream-bg);
  color: var(--forest-green);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: var(--forest-green) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(42, 76, 60, 0.1);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cream-bg) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--cream-bg) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--sky-blue) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--cream-bg) 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--earthy-clay);
  border-color: var(--earthy-clay);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--earthy-clay);
  border-color: var(--earthy-clay);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--earthy-clay);
  border-color: var(--earthy-clay);
  color: white;
}

/* Collections Section */
.collections-section {
  padding: 4rem 0;
  background-color: var(--cream-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 3rem;
}

.collection-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(42, 76, 60, 0.15);
}

.collection-icon {
  font-size: 3rem;
  color: var(--earthy-clay);
  margin-bottom: 1rem;
}

.collection-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.collection-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(42, 76, 60, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--light-green);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

.product-vendor {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--earthy-clay);
  margin-bottom: 1rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  background-color: var(--sky-blue);
  color: var(--forest-green);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Filters */
.filter-section {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  margin-bottom: 2rem;
}

.filter-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.form-label {
  font-weight: 600;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

.form-select, .form-control {
  border: 2px solid var(--light-green);
  border-radius: 10px;
  padding: 0.7rem;
  transition: border-color 0.3s ease;
}

.form-select:focus, .form-control:focus {
  border-color: var(--earthy-clay);
  box-shadow: 0 0 0 0.2rem rgba(199, 121, 79, 0.25);
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
  background-color: var(--cream-bg);
}

.content-card {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  margin-bottom: 2rem;
}

.content-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 1.5rem;
}

.content-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(42, 76, 60, 0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--light-green);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 0.8rem;
}

.blog-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Impact Metrics */
.metric-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(42, 76, 60, 0.1);
  margin-bottom: 2rem;
  height: 100%;
}

.metric-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--earthy-clay);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.1rem;
  color: var(--forest-green);
  font-weight: 600;
}

.metric-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--forest-green);
  color: var(--cream-bg);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--light-green);
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--sky-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--cream-bg);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--earthy-clay);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--sky-blue);
  color: white;
}

/* Bottom Bar */
.bottom-bar {
  background-color: var(--dark-green);
  color: var(--light-green);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-title {
    font-size: 1.8rem;
  }
  
  .collection-card, .product-card, .blog-card {
    margin-bottom: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding: 3rem 0; }
.py-4 { padding: 2rem 0; }
