/* Platform Engineering Portfolio Theme */
/* Dark mode with terminal aesthetics and infrastructure dashboard styling */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Terminal Header */
.terminal-header {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 40px;
}

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

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close { background-color: #ff5f56; }
.control.minimize { background-color: #ffbd2e; }
.control.maximize { background-color: #27c93f; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #e4e4e7;
}

.prompt {
    color: #27c93f;
    font-weight: bold;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 40px;
    width: 250px;
    height: calc(100vh - 40px);
    background: #1a1a1a;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #27c93f;
}

.logo i {
    font-size: 20px;
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #e4e4e7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: #2a2a2a;
    border-left-color: #27c93f;
    color: #27c93f;
}

.nav-link.active {
    background: #2a2a2a;
    border-left-color: #27c93f;
    color: #27c93f;
}

.nav-link i {
    width: 16px;
    font-size: 14px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #333;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27c93f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Main Content */
.main-content {
    margin-left: 250px;
    margin-top: 40px;
    min-height: calc(100vh - 40px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(39, 201, 63, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(39, 201, 63, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.terminal-output {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.output-line {
    margin-bottom: 8px;
}

.output-line .prompt {
    color: #27c93f;
    font-weight: bold;
}

.output-line .result {
    color: #e4e4e7;
    margin-left: 20px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #27c93f;
    color: #0a0a0a;
}

.btn-primary:hover {
    background: #1f9d31;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #27c93f;
    border: 1px solid #27c93f;
}

.btn-secondary:hover {
    background: #27c93f;
    color: #0a0a0a;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.infrastructure-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 300px;
}

.service-node {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-node:hover {
    border-color: #27c93f;
    transform: translateY(-4px);
}

.service-node i {
    font-size: 32px;
    color: #27c93f;
    margin-bottom: 8px;
    display: block;
}

.service-node span {
    font-size: 12px;
    color: #e4e4e7;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #333;
}

.section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    color: #e4e4e7;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .prompt {
    color: #27c93f;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 40px;
    background: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.code-block {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.code-header {
    background: #2a2a2a;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.file-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #888;
}

.code-controls {
    display: flex;
    gap: 6px;
}

.code-controls .control {
    width: 10px;
    height: 10px;
}

.code-content {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-content p {
    margin-bottom: 12px;
}

.skills-dashboard {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.skills-dashboard h3 {
    color: #e4e4e7;
    margin-bottom: 20px;
    font-size: 18px;
}

.skill-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-card {
    background: #2a2a2a;
    border-radius: 6px;
    padding: 16px;
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #e4e4e7;
}

.metric-header i {
    color: #27c93f;
    width: 16px;
}

.metric-bar {
    background: #1a1a1a;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.metric-fill {
    height: 100%;
    background: #27c93f;
    border-radius: 4px;
    transition: width 1s ease;
}

.metric-value {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #27c93f;
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #27c93f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 20px;
}

.stat-content h3 {
    font-size: 24px;
    color: #e4e4e7;
    margin-bottom: 4px;
}

.stat-content p {
    font-size: 12px;
    color: #888;
}

/* Experience Section */
.experience {
    padding: 40px;
    background: #0a0a0a;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 0;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #27c93f;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
}

.marker-line {
    width: 2px;
    height: 40px;
    background: #333;
    margin-left: 5px;
    margin-top: 12px;
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #27c93f;
    transform: translateX(4px);
}

.timeline-header {
    margin-bottom: 16px;
}

.timeline-header h3 {
    color: #e4e4e7;
    font-size: 18px;
    margin-bottom: 4px;
}

.timeline-header h4 {
    color: #27c93f;
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 12px;
    color: #888;
    font-family: 'JetBrains Mono', monospace;
}

.timeline-body ul {
    list-style: none;
}

.timeline-body li {
    margin-bottom: 8px;
    color: #e4e4e7;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.timeline-body li::before {
    content: '>';
    color: #27c93f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 40px;
    background: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #27c93f;
    transform: translateY(-4px);
}

.project-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: #27c93f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 20px;
}

.project-title h3 {
    color: #e4e4e7;
    font-size: 16px;
    margin-bottom: 4px;
}

.project-type {
    font-size: 12px;
    color: #27c93f;
    font-family: 'JetBrains Mono', monospace;
}

.project-content {
    padding: 20px;
}

.project-content p {
    color: #e4e4e7;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #2a2a2a;
    color: #27c93f;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #333;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #27c93f;
    text-decoration: none;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    padding: 6px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #2a2a2a;
}

.project-link:hover {
    border-color: #27c93f;
    background: #27c93f;
    color: #0a0a0a;
    transform: translateY(-1px);
}

.project-link i {
    font-size: 10px;
}

/* Contact Section */
.contact {
    padding: 40px;
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #27c93f;
    font-size: 18px;
}

.contact-details {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #e4e4e7;
    font-size: 14px;
}

.contact-item i {
    color: #27c93f;
    width: 16px;
}

.clearances h4 {
    color: #e4e4e7;
    margin-bottom: 12px;
    font-size: 14px;
}

.clearances ul {
    list-style: none;
}

.clearances li {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.4;
}

.form-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.form-header {
    background: #2a2a2a;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.form-controls {
    display: flex;
    gap: 6px;
}

.form-controls .control {
    width: 10px;
    height: 10px;
}

.form-container form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e4e4e7;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e4e4e7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27c93f;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 20px 40px;
    margin-left: 250px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #888;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #27c93f;
}

.footer p {
    color: #888;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }
    
    .about, .experience, .projects, .contact {
        padding: 20px;
    }
    
    .section-header {
        padding: 20px 20px 10px;
    }
    
    .infrastructure-diagram {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-padding-top: 40px;
} 