/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #d97706, #dc2626);
  transform: translateY(-3px);
}

.btn-back {
  position: fixed;
  top: 20px;
  left: 20px;
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #4f46e5;
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
  z-index: 1000;
}

.btn-back:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Hero Section */
.hero-ecommerce {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Projects Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 1.2rem;
  margin: 15px;
  font-weight: 600;
}

.project-card p {
  font-size: 0.95rem;
  margin: 0 15px 20px;
  color: #6b7280;
}

.project-card a {
  display: inline-block;
  margin: 0 15px 20px;
  padding: 8px 14px;
  background-color: #2563eb;
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.project-card a:hover {
  background-color: #1e40af;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: white;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-back {
    font-size: 12px;
    padding: 8px 14px;
  }
}
