:root {
  /* Light color scheme */
  --terminal-bg: #ffffff;
  --terminal-surface: #f8f9fa;
  --terminal-border: #dee2e6;
  --terminal-green: #28a745;
  --terminal-amber: #fd7e14;
  --terminal-cyan: #17a2b8;
  --terminal-text: #212529;
  --terminal-dim: #6c757d;
  --section-spacing: 1.5rem;
  
  /* Typography */
  --mono-font: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  font-family: var(--mono-font);
  color: var(--terminal-text);
  background: var(--terminal-bg);
  line-height: 1.5;
  font-size: 14px;
}

/* Container */
.terminal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--terminal-surface);
  border: 1px solid var(--terminal-border);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Title bar */
.terminal-titlebar {
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--terminal-border);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
  margin-right: 12px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.terminal-button.close { background: #ff5f57; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #28ca42; }

.terminal-title {
  color: var(--terminal-dim);
  font-size: 13px;
}

/* Hero Section */
.hero {
  background: var(--terminal-surface);
  padding: 20px;
  border-bottom: 1px solid var(--terminal-border);
  margin: 0;
}

.header-title {
  color: var(--terminal-green);
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.header-title::before {
  content: "$ ";
  color: var(--terminal-amber);
}

.header-description {
  color: var(--terminal-text);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* Content Sections */
.content {
  padding: 20px;
}

section {
  margin-bottom: var(--section-spacing);
}

section:last-child {
  margin-bottom: 0;
}

.section-title {
  color: var(--terminal-cyan);
  font-size: 1.3rem;
  margin: var(--section-spacing) 0 1rem 0;
  font-weight: bold;
  position: relative;
}

.section-title::before {
  content: "[~] ";
  color: var(--terminal-green);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--terminal-cyan), transparent);
}

.section-link {
  color: var(--terminal-amber);
  font-size: 14px;
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
  position: relative;
}

.section-link::before {
  content: "-> ";
  color: var(--terminal-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-link:hover {
  color: var(--terminal-green);
  transform: translateX(10px);
}

.section-link:hover::before {
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: 20px;
  border-top: 1px solid var(--terminal-border);
  background: var(--terminal-surface);
}

.footer-text {
  color: var(--terminal-dim);
  font-size: 14px;
  text-align: center;
  margin: 0;
  font-style: italic;
}

.footer-text::before {
  content: "[EOF] ";
  color: var(--terminal-amber);
  font-style: normal;
}

/* Media Styling */
img {
  border: 1px solid var(--terminal-border);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: var(--terminal-bg);
  padding: 4px;
  max-width: 100%;
  height: auto;
  transition: none;
  transform: none;
}

a:has(img) {
  transform: none !important;
}

a:has(img)::before {
  content: none;
}

/* Selection styling */
::selection {
  background: rgba(40, 167, 69, 0.3);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--terminal-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--terminal-border);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terminal-dim);
}

/* Focus visible for accessibility */
a:focus-visible {
  outline: 2px solid var(--terminal-green);
  outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .header-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 15px;
  }
  
  .content {
    padding: 15px;
  }
  
  .header-description {
    font-size: 12px;
  }
}