/* Main CSS for Systems Architect Showcase */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light dark;
  --primary-color: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #8b5cf6;
  --background-color: #ffffff;
  --text-color: #1f2937;
  --card-bg: #f9fafb;
  --border-color: #e5e7eb;
}

.dark {
  --primary-color: #60a5fa;
  --secondary-color: #34d399;
  --accent-color: #a78bfa;
  --background-color: #111827;
  --text-color: #f3f4f6;
  --card-bg: #1f2937;
  --border-color: #374151;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Hero Section - Not used by index.html (uses inline Tailwind) */

/* Capabilities Section - Not used by index.html (uses inline Tailwind) */

/* AI Demo Section - Not used by index.html (uses inline Tailwind) */

/* Code Examples - Not used by index.html (uses inline Tailwind) */

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .capability-card {
    padding: 1.5rem;
  }
}

/* Dark Mode Toggle */
.toggle-container {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-container input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

.toggle-container input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

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

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

/* Loading Animation */
.loading-dots::after {
  content: '.';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80%, 100% { content: ''; }
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility - Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Decorative elements - Not used by index.html */
