/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #00ff00;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Terminal Container */
.terminal {
    max-width: 1200px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.1);
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
}

/* Terminal Header */
.terminal-header {
    background: linear-gradient(90deg, #333 0%, #444 100%);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #555;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn.close { background: #ff5f56; }
.btn.minimize { background: #ffbd2e; }
.btn.maximize { background: #27ca3f; }

.terminal-title {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
}

/* Terminal Body */
.terminal-body {
    padding: 20px;
    min-height: 600px;
    background: #000;
    position: relative;
}

.terminal-content {
    max-width: 100%;
}

/* Command Line Styling */
.command-line {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.prompt {
    color: #00ff00;
    font-weight: 500;
    margin-right: 10px;
}

.command {
    color: #ffffff;
    font-weight: 400;
}

.typing {
    color: #00ff00;
    animation: blink 1s infinite;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Output Styling */
.output {
    margin-bottom: 30px;
}

.output h1 {
    color: #00ff00;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.subtitle {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-style: italic;
}

.content-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-left: 3px solid #00ff00;
    border-radius: 0 5px 5px 0;
}

.content-section h2 {
    color: #00ff00;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.content-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: #ccc;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.service-name {
    color: #00ff00;
    font-weight: 500;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.tech-item {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.2);
}

.contact-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.label {
    color: #00ff00;
    font-weight: 500;
    margin-right: 10px;
}

.contact-info a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-code {
    position: absolute;
    color: rgba(0, 255, 0, 0.1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    animation: float 20s infinite linear;
    white-space: nowrap;
}

.floating-code:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.floating-code:nth-child(2) {
    top: 50%;
    animation-delay: -7s;
}

.floating-code:nth-child(3) {
    top: 80%;
    animation-delay: -14s;
}

@keyframes float {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal {
        margin: 10px;
        border-radius: 4px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .output h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .command-line {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prompt {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .terminal-header {
        padding: 8px 10px;
    }
    
    .terminal-body {
        padding: 10px;
    }
    
    .output h1 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 10px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Selection Styling */
::selection {
    background: rgba(0, 255, 0, 0.3);
    color: #ffffff;
}

/* Glow Effects */
.terminal:hover {
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.2);
}

.content-section:hover {
    background: rgba(0, 255, 0, 0.08);
    border-left-color: #00cc00;
}
