/* Terminal CSS - Main Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #00ff00;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    height: 100vh;
}

.terminal-container {
    width: 100%;
    height: 100vh;
    background: #000000;
    border: 2px solid #333333;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.terminal-header {
    background: #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333333;
    min-height: 40px;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.control.close {
    background: #ff5555;
}

.control.minimize {
    background: #ffff55;
}

.control.maximize {
    background: #55ff55;
}

.terminal-title {
    color: #888888;
    font-size: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.terminal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #000000;
}

.terminal-content {
    flex: 1;
    margin-bottom: 20px;
}

.ascii-banner {
    color: #00ff00;
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 20px;
    white-space: pre;
    font-weight: bold;
}

.welcome-message {
    color: #00ff00;
    margin-bottom: 20px;
    line-height: 1.6;
}

.output {
    margin-bottom: 10px;
}

.output-line {
    margin: 2px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.command-echo {
    color: #888888;
    margin-bottom: 5px;
}

.command-output {
    color: #00ff00;
    margin-left: 0;
}

.error-output {
    color: #ff5555;
}

.input-line {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: auto;
}

.prompt {
    color: #00ff00;
    font-weight: bold;
    white-space: nowrap;
}

.command-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
    caret-color: transparent;
    margin-left: 0;
    padding-left: 8px;
}

.cursor {
    color: #00ff00;
    font-weight: bold;
    animation: blink 1s infinite;
    pointer-events: none;
    position: absolute;
    left: 0;
}

/* Links */
a {
    color: #55ffff;
    text-decoration: underline;
}

a:hover {
    color: #ffffff;
}

/* File listing styles */
.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.file-item {
    color: #00ff00;
}

.directory {
    color: #55ffff;
    font-weight: bold;
}

.file {
    color: #ffffff;
}

.executable {
    color: #55ff55;
    font-weight: bold;
}

/* Directory navigation */
.path-display {
    color: #888888;
    font-style: italic;
    margin-bottom: 10px;
}

/* Command completion */
.completion-suggestion {
    color: #666666;
    font-style: italic;
}

/* Scrollbar styling */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #000000;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Text selection */
::selection {
    background: #00ff00;
    color: #000000;
}

/* Focus styles */
.command-input:focus {
    outline: none;
}

/* Special content styling */
.project-header {
    color: #ffff55;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.tech-stack {
    color: #55ffff;
    font-style: italic;
    margin-bottom: 5px;
}

.bullet-point {
    color: #00ff00;
    margin-left: 2px;
}

.date-range {
    color: #888888;
    font-style: italic;
}

.section-header {
    color: #ffff55;
    font-weight: bold;
    text-decoration: underline;
    margin: 15px 0 10px 0;
}

.contact-info {
    color: #55ffff;
}

.skill-category {
    color: #ffff55;
    font-weight: bold;
    margin: 8px 0 4px 0;
}

/* Matrix effect for easter egg */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Easter egg styles */
.easter-egg {
    color: #ff55ff;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}