/* ChefByte Documentation - Custom Styles */

:root {
  --md-primary-fg-color: #7c3aed;
  --md-primary-fg-color--light: #a78bfa;
  --md-primary-fg-color--dark: #5b21b6;
  --md-accent-fg-color: #ec4899;
}

/* Custom header styling */
.md-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
}

/* Hero section for landing page */
.hero-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.25rem;
  color: var(--md-default-fg-color--light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.feature-card {
  padding: 1.5rem;
  background: var(--md-code-bg-color);
  border-radius: 12px;
  border: 1px solid var(--md-default-fg-color--lightest);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
}

.feature-card .emoji {
  font-size: 1.5rem;
}

/* Screenshot styling */
.screenshot {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 1.5rem 0;
  max-width: 100%;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.screenshot-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--md-default-fg-color--light);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* Demo button */
.demo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  color: white !important;
  text-decoration: none !important;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  max-width: 240px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* Tip boxes */
.tip-box {
  padding: 1rem 1.5rem;
  background: rgba(124, 58, 237, 0.1);
  border-left: 4px solid var(--md-primary-fg-color);
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

/* Table styling */
.md-typeset table:not([class]) {
  border-radius: 8px;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background: var(--md-primary-fg-color);
  color: white;
}

/* Code block styling */
.md-typeset code {
  border-radius: 4px;
}

/* Navigation improvements */
.md-nav__link {
  font-weight: 500;
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] .hero-section {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
}

[data-md-color-scheme="slate"] .feature-card {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-md-color-scheme="slate"] .screenshot {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

