/* ═══════════════════════════════════════════════════════════
   TERMINAL CV & CONTENT HUB
   Interactive command line interface for navigating skills
   ═══════════════════════════════════════════════════════════ */

.terminal-section {
    padding: 100px 0;
    background: #05080b;
    /* dark matching Awalim */
    position: relative;
    overflow: hidden;
}

.terminal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 15, 20, 0.9);
    border: 1px solid rgba(178, 210, 53, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(178, 210, 53, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.terminal-header-bar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(178, 210, 53, 0.2);
    border-radius: 12px 12px 0 0;
}

.macos-btns {
    display: flex;
    gap: 8px;
    margin-right: 20px;
    /* RTL format */
}

body[dir="ltr"] .macos-btns {
    margin-right: 0;
    margin-left: 20px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-btn.close {
    background: #ff5f56;
}

.mac-btn.min {
    background: #ffbd2e;
}

.mac-btn.max {
    background: #27c93f;
}

.term-title {
    flex-grow: 1;
    text-align: center;
    color: #888;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

.terminal-window {
    padding: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    color: #b2d235;
    line-height: 1.6;
    height: 400px;
    overflow-y: auto;
    scroll-behavior: smooth;
    text-align: left;
    /* Terminal is strictly LTR usually */
    direction: ltr;
}

.term-line {
    margin-bottom: 8px;
    word-break: break-word;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.term-time {
    color: #666;
    font-size: 12px;
    margin-right: 10px;
}

.term-user {
    color: #38bdf8;
    font-weight: bold;
}

.term-path {
    color: #d4af37;
}

.term-sign {
    color: #fff;
    margin: 0 8px;
}

.term-cmd-text {
    color: #fff;
}

.term-output {
    color: #ccc;
    margin: 5px 0 15px 0;
    padding-left: 20px;
}

.term-output.error {
    color: #ff5f56;
}

.term-input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.term-input {
    background: transparent;
    border: none;
    color: #b2d235;
    font-family: inherit;
    font-size: inherit;
    flex-grow: 1;
    outline: none;
    caret-color: #b2d235;
}

/* Suggested Commands */
.term-suggestions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cmd-btn {
    background: rgba(178, 210, 53, 0.1);
    border: 1px solid rgba(178, 210, 53, 0.4);
    color: #b2d235;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.3s;
    direction: ltr;
}

.cmd-btn:hover {
    background: rgba(178, 210, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 210, 53, 0.2);
}

/* Custom Scrollbar for Terminal */
.terminal-window::-webkit-scrollbar {
    width: 6px;
}

.terminal-window::-webkit-scrollbar-track {
    background: transparent;
}

.terminal-window::-webkit-scrollbar-thumb {
    background: rgba(178, 210, 53, 0.3);
    border-radius: 3px;
}