/* ============================================
   LANDING PAGE STYLE - LINUX TERMINAL THEME
   ============================================
	BEGINNING OF STYLES <style>
   ============================================ */

/* Load JetBrains Mono from local TTF files */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
	font-display: swap;
}

/* Terminal Theme - Realistic Linux Shell */
:root {
    --terminal-bg: #1e1e1e;
    --terminal-text: #d4d4d4;
    --terminal-prompt: #5faf5f;
    --terminal-path: #5f87d7;
    --terminal-border: #3e3e3e;
    --terminal-accent: #d7875f;
}

/* Global Terminal Font */
body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* Hide the "Home" heading that appears above content */
.md-content h1:first-of-type {
    display: none;
}

/* Terminal Window */
.terminal-window {
    background: var(--terminal-bg);
    color: var(--terminal-text);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    margin: 0 0 2rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
}

/* Linux Terminal Header */
.terminal-header {
    background: #2d2d2d;
    padding: 8px 12px;
    border-bottom: 1px solid var(--terminal-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-title {
    color: #d0d0d0;
    color: #cccccc;
    font-size: 14px;
	font-weight: 600;
    flex: 1;
    text-align: center;
}

.terminal-btn {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid var(--terminal-border);
    background: #3e3e3e;
}

/* Terminal Body */
.terminal-body {
    padding: 16px;
}

.terminal-line {
    margin: 4px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prompt {
    color: var(--terminal-prompt);
    font-weight: 500;
}

.path {
    color: var(--terminal-path);
}

.command {
    color: var(--terminal-text);
}

.output {
    color: var(--terminal-accent);
    padding-left: 0;
    margin: 2px 0;
}

.output-secondary {
    color: #9cdcfe;
}

.comment {
    color: #6a9955;
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--terminal-text);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Section Cards */
.info-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    font-family: 'JetBrains Mono', monospace;
}

.card-header {
    color: var(--terminal-prompt);
    font-weight: 800;
    margin-bottom: 24px;
    font-size: 20px;
}

.card-header::before {
    content: '# ';
    color: var(--terminal-accent);
}

.link-item {
	margin-left: 3.0em;
    color: var(--terminal-prompt);
    font-weight: 100;
	font-size: 12px;
}

.card-content {
    color: var(--terminal-text);
    line-height: 1.5;
    font-size: 14px;
}

/* /1* Contact page: link affordance + size *1/ */
/* .card-content a { */
/*   font-size: 0.9rem;               /1* slightly smaller *1/ */
/*   color: #8fd18f;                  /1* muted green, readable *1/ */
/*   text-decoration: underline; */
/*   text-underline-offset: 2px; */
/* } */

.card-content a:hover {
  color: #b6e3b6;
  text-decoration-thickness: 2px;
}


/* Grid Layout for Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    /* margin: 8px 0; */
	margin-top: 0.5rem;
}

/* Write-up Entry Styling */
.writeup-entry {
    background: var(--terminal-bg);
    border-left: 3px solid var(--terminal-prompt);
    padding: 16px;
    margin: 12px 0;
    border-radius: 4px;
}

.writeup-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.writeup-date {
    color: var(--terminal-accent);
    font-size: 12px;
}

.writeup-title {
    color: var(--terminal-prompt);
	/* color: #8fa3ad; /1* muted blue-grey *1/ */
    font-weight: 700;
    font-size: 16px;
    margin: 4px 0;
}

.writeup-desc {
    color: #9cdcfe;
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
}

.writeup-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tag {
    color: var(--terminal-prompt);
    font-size: 11px;
}

.tag::before {
    content: '#';
    color: var(--terminal-accent);
}

/* Stats Display */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.stat-box {
    background: #252525;
    border: 1px solid var(--terminal-border);
    padding: 16px;
    border-radius: 4px;
    text-align: center;
}

.stat-value {
    color: var(--terminal-prompt);
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.stat-label {
    color: var(--terminal-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
	justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.terminal-action {
    background: transparent;
    border: 1px solid var(--terminal-prompt);
    color: var(--terminal-prompt);
    padding: 10px 20px;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.terminal-action:hover {
    background: var(--terminal-prompt);
    color: var(--terminal-bg);
}

/* Contact Icons */
.contact-icon {
    color: var(--terminal-prompt);
    margin-right: 8px;
    font-size: 14px;
}

/* Separator */
.separator {
    border: 0;
    border-top: 1px solid var(--terminal-border);
    margin: 24px 0;
}

/* Footer */
.terminal-footer {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 24px 0;
    color: var(--terminal-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .terminal-body {
        font-size: 12px;
        padding: 12px;
    }

    .card-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .writeup-header {
        flex-direction: column;
    }
}

/* ============================================
   END OF STYLES </style>
   ============================================ */
/* Systemctl Output Styling - ADD TO END OF landing.css */
.systemctl-output {
    margin: 4px 0;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.4;
}

.systemctl-line {
    margin: 2px 0;
    white-space: pre;
    color: var(--terminal-text);
}

.systemctl-dot {
    color: #5faf5f;
    font-weight: bold;
}

.systemctl-active {
    color: #5faf5f;
}

.systemctl-enabled {
    color: #5faf5f;
}

/* Shift navigation menu to the right */
/* .md-nav { */
/*     padding-left: 2cm; */
/* } */

.about-flex {
    display: flex;
    gap: 1.5rem;
    /* align-items: center; */
    align-items: flex-start;
	flex-direction: row-reverse;
}

.about-photo {
    width: 140px;          /* adjust as needed */
    height: auto;
    border-radius: 8px;    /* optional */
}

.about-photo-centered {
    display: block;
    margin: 0 auto 1.2rem auto;
    width: 160px;
    border-radius: 8px;
}
.about-text {
    flex: 1;
}

/* Hide "Daniel Plötzl" site name from nav sidebar */
.md-nav--primary .md-nav__title {
    display: none;
}

/* Move nav sidebar further right */
.md-nav--primary {
    padding-left: 3cm;
}

/* Contact section */
.contact-list {
  font-size: 12px;           /* same as card-content */
  line-height: 1.8;
}

.contact-row {
  margin: 1.5rem 0;
  font-size: 12px;           /* same as card-content */
}

/* Labels: same size, subtle colour */
.contact-label {
  /* line-height: 1.8; */
  /* display: inline-block; */
  /* min-width: 90px; */
  color: var(--terminal-prompt);
  font-size: 16px;
  font-weight: 400;
}

/* Links: terminal-text colour, clear affordance */
.contact-row a {
  color: var(--terminal-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-row a:hover {
  text-decoration-thickness: 2px;
}

