/* Custom styles for Bodh documentation site */

.hero-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
  margin: -1rem -2rem 3rem -2rem;
  border-radius: 0 0 20px 20px;
  text-align: center;
}

.hero-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.example-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.example-card h3 {
  margin-top: 0;
  color: #1f2937;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.example-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #e5e7eb;
  color: #374151;
  text-decoration: none;
}

/* Theme showcase */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.theme-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: transform 0.2s;
}

.theme-card:hover {
  transform: scale(1.02);
}

.theme-preview {
  height: 120px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.theme-modern { background: linear-gradient(45deg, #667eea, #764ba2); }
.theme-minimal { background: linear-gradient(45deg, #f7fafc, #edf2f7); }
.theme-gradient { background: linear-gradient(45deg, #ff9a9e, #fecfef); }
.theme-dark { background: linear-gradient(45deg, #2d3748, #1a202c); }

.theme-info {
  padding: 1rem;
}

.theme-info h4 {
  margin: 0 0 0.5rem 0;
  color: #1f2937;
}

.theme-info p {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Code blocks */
pre {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

/* Feature highlights */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-banner {
    padding: 2rem 1rem;
  }
  
  .hero-banner h1 {
    font-size: 2rem;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .btn {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}