/* Modern Theme CSS for Spice Bazaar */
:root {
  --primary-color: #4caf50;
  --primary-dark: #388e3c;
  --primary-light: #81c784;
  --secondary-color: #ff9800;
  --text-color: #333;
  --light-text: #757575;
  --background: #f9f9f9;
  --card-bg: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header Styling */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.navbar-brand img {
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 0.5rem 1.5rem;
  transition: var(--transition);
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Cards */
.card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: none;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 1rem 1.5rem;
}

/* Product Cards */
.product-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-card img {
  transition: var(--transition);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 1rem;
  background-color: var(--card-bg);
}

.product-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Testimonials */
.testimonial-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 1rem 0;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 3rem 0;
}

.footer-links h5 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

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

.footer-links a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  text-decoration: none;
  padding-left: 5px;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand img {
    max-width: 120px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}