/* ============================================
   LukeMoody.ai Custom Styles
   ============================================ */

/* Terminal Block Styles */
.terminal-block {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #333;
}

.terminal-log {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d4d4d4;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-log > span {
  color: #4ec9b0;
}

/* Blinking Cursor Animation */
.cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: #4ec9b0;
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* AI Tech Stack Pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
  align-items: center;
}

.tech-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

/* Built with AI Block */
.built-with-ai {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.built-with-ai strong {
  color: #667eea;
  font-weight: 600;
}

/* Hero Heading Gradient Line */
.md-typeset h1:first-of-type {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.md-typeset h1:first-of-type::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Project Cards Hover Effect */
.md-typeset h2 {
  transition: color 0.2s ease;
}

.md-typeset h2:hover {
  color: #667eea;
}

/* Custom Typography Tweaks */
.md-typeset {
  line-height: 1.7;
}

.md-typeset p {
  margin-bottom: 1.25rem;
}

.md-typeset h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.md-typeset h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Table Styling */
.md-typeset table {
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.md-typeset table th {
  background-color: #f8f9fa;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #667eea;
}

.md-typeset table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
}

.md-typeset table tr:hover {
  background-color: #f8f9fa;
}

/* Code Block Enhancements */
.md-typeset code {
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.md-typeset pre code {
  background-color: transparent;
  padding: 0;
}

/* Spacing Improvements */
.md-typeset hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid #e9ecef;
}

.md-typeset blockquote {
  border-left: 4px solid #667eea;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #6c757d;
  font-style: italic;
}

/* List Styling */
.md-typeset ul,
.md-typeset ol {
  margin: 1.25rem 0;
  padding-left: 2rem;
}

.md-typeset li {
  margin: 0.5rem 0;
}

/* Link Styling */
.md-typeset a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.md-typeset a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .tech-stack {
    gap: 0.5rem;
  }
  
  .tech-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .terminal-block {
    padding: 1rem;
  }
  
  .terminal-log {
    font-size: 0.8rem;
  }
}

/* Dark Mode Adjustments */
[data-md-color-scheme="slate"] .built-with-ai {
  background: #2d2d2d;
  border-left-color: #667eea;
  color: #e0e0e0;
}

[data-md-color-scheme="slate"] .md-typeset table th {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

[data-md-color-scheme="slate"] .md-typeset table tr:hover {
  background-color: #2d2d2d;
}

[data-md-color-scheme="slate"] .md-typeset code {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

[data-md-color-scheme="slate"] .md-typeset hr {
  border-top-color: #444;
}

[data-md-color-scheme="slate"] .md-typeset blockquote {
  border-left-color: #667eea;
  color: #b0b0b0;
}

