/* ========================================
   Minimal Green Theme for Portfolio
   ======================================== */

:root {
    --green-primary: #059669;
    --green-secondary: #10b981;
    --green-light: #d1fae5;
    --green-dark: #064e3b;
}

/* Simple Card Hover */
.project-card {
    transition: box-shadow 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1) !important;
}

/* Timeline Badge - Minimal */
.timeline-date {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Skill Badges - Simple */
.skill-badge {
    background-color: var(--green-light);
    color: var(--green-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem;
}

/* ReadMe Button - Clean */
.readme-btn {
    border: 1px solid var(--green-primary);
    color: var(--green-primary);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.readme-btn:hover {
    background: var(--green-primary);
    color: white;
}

.readme-btn.active {
    background: var(--green-primary);
    color: white;
}

/* Markdown Viewer Modal */
.markdown-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    overflow-y: auto;
}

.markdown-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.markdown-content {
    background: white;
    border-radius: 0.5rem;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 2rem auto;
}

.markdown-header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.markdown-body {
    padding: 2rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--green-primary);
}

/* Markdown Content Styling */
.markdown-body h1 {
    color: var(--green-primary);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--green-light);
}

.markdown-body h2 {
    color: var(--green-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-body h3 {
    color: var(--green-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.markdown-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #374151;
}

.markdown-body ul, .markdown-body ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.markdown-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.markdown-body code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #dc2626;
}

.markdown-body pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.markdown-body blockquote {
    border-left: 4px solid var(--green-primary);
    padding-left: 1rem;
    margin: 1rem 0;
    color: #6b7280;
    font-style: italic;
}

.markdown-body a {
    color: var(--green-primary);
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

.markdown-body img {
    max-width: 100%;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    text-align: left;
}

.markdown-body th {
    background: var(--green-light);
    font-weight: 600;
}

/* Remove excessive animations */
.text-center h1::after {
    display: none;
}

/* Simpler navigation */
.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: var(--green-primary) !important;
}

/* Clean section dividers */
section + section::before {
    display: none;
}
