/* Terminal Theme CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', 'Lucida Console', monospace;
    background-color: #000000;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
}

/* Visual Effects */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.2)
    );
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.6;
}

.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #00ff00;
    z-index: 1000;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    overflow-y: auto;
    display: none; /* Hidden by default, shown via JS */
}

.boot-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeIn 0.1s forwards;
}

/* Terminal Container */
.terminal-container {
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: #000000;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    backdrop-filter: none;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    opacity: 0; /* Hidden initially for boot sequence */
}

/* Terminal Header Removed */

/* Terminal Body */
.terminal-body {
    padding: 20px;
    flex: 1;
    background-color: transparent;
    font-size: 16px;
    line-height: 1.6;
    overflow-y: auto;
    border-radius: 0;
    width: 100%;
}

.terminal-line {
    margin-bottom: 8px;
    word-wrap: break-word;
}

.prompt {
    color: #00ff00;
    font-weight: 600;
}

.terminal-output {
    margin: 10px 0 20px 0;
    padding-left: 0;
    color: #00ff00;
}

/* Command Input */
.command-input-section {
    margin-top: 10px;
}

.input-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.command-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    padding: 0;
}

.command-input::placeholder {
    color: #6e7681;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #21262d;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* Selection */
::selection {
    background: #00ff00;
    color: #0d1117;
}

/* Utility Classes */
.highlight { color: #00ff00; font-weight: bold; }
.cmd { color: #00ff00; font-weight: bold; }
.error-message { color: #ff0000; }
.success-message { color: #00ff00; }
.file-permissions { color: #00cc00; margin-right: 10px; }
.project-name { color: #00ff00; font-weight: bold; }
.github-link { color: #00ff00; text-decoration: none; margin-left: 10px; }
.github-link:hover { text-decoration: underline; }
.project-item { margin-bottom: 15px; border-left: 2px solid #003300; padding-left: 15px; }
.project-description { color: #00dd00; margin: 5px 0; }
.project-tech { color: #00bb00; font-size: 12px; font-style: italic; }
.contact-info p { margin-bottom: 5px; }
.contact-info a { color: #00ff00; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-container {
        margin: 0;
        border-radius: 0;
        height: 100vh;
        max-width: 100%;
    }
    
    .terminal-body {
        padding: 15px;
    }

    .terminal-header {
        padding: 10px 15px;
    }
    
    .command-input {
        font-size: 12px;
    }
}