/* begin: common */
:root {
    --esxi-yellow: #E6B800;
    --esxi-bg-dark: #101010;
    --esxi-bg-panel: #1A1A1A;
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --link-color: #4da6ff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--esxi-bg-dark);
    color: var(--text-main);
    font-family: 'Courier New', Consolas, monospace; 
    line-height: 1.6;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--esxi-yellow);
}

header {
    background-color: var(--esxi-yellow);
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 767px) {
    header {
        display: inherit;
    }
}

header .domain {
    font-size: 1.2rem;
}

header .domain a {
    color: inherit;
    text-decoration: none;
}

footer {
    background-color: #333;
    color: var(--text-muted);
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    margin-top: 40px;
}

.no-wrap {
    white-space: nowrap;
}
.terminal-header {
    padding: 40px 20px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px dashed #333;
}
.prompt { color: var(--esxi-yellow); font-weight: bold; }
.command { color: #fff; }
/* end: common */

/* begin: / */
.terminal-hero {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-hero p {
    margin: 5px 0;
}

.sys-msg { color: var(--text-muted); }
.success { color: #4CAF50; }

.pillars-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background-color: var(--esxi-bg-panel);
    border-top: 3px solid var(--esxi-yellow);
    padding: 20px;
    flex: 1;
    min-width: 280px;
    box-sizing: border-box;
}

.card h2 {
    color: var(--esxi-yellow);
    font-size: 1.2rem;
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.card a {
    color: var(--esxi-yellow);
    text-decoration: none;
}

.history-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    border-left: 2px solid var(--esxi-yellow);
    padding-left: 15px;
    margin-bottom: 20px;
}
/* end: / */

/* begin: /oss/ */
.projects-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card {
    background-color: var(--esxi-bg-panel);
    border-left: 4px solid var(--esxi-yellow);
    padding: 20px;
    margin-bottom: 25px;
    transition: background-color 0.2s;
}

.project-card:hover {
    background-color: #252526;
}

.project-title {
    font-size: 1.3rem;
    color: var(--esxi-yellow);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.repo-link {
    font-size: 0.9rem;
    word-break: break-all;
}

.tech-stack {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tag {
    background-color: #333;
    color: var(--text-main);
    padding: 2px 6px;
    margin-right: 5px;
    border-radius: 3px;
}
/* end: /oss/ */

/* begin: /gallery/ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: var(--esxi-bg-panel);
    border: 1px solid #333;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8; 
}

.exif-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    border-top: 2px solid var(--esxi-yellow);
    color: var(--text-main);
    padding: 15px;
    box-sizing: border-box;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-item:hover .exif-overlay {
    transform: translateY(0);
}

.exif-data {
    margin: 0;
    color: var(--text-muted);
}
.exif-data span {
    color: var(--text-main);
}
/* end: /gallery/ */
