:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #fca311;
    /* Orange-ish color from screenshot */
    --secondary-text: #a0a0a0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-header: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    padding: 2rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-color);
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.logo {
    font-family: var(--font-header);
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.fruit-icon {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.top-nav {
    font-size: 1.1rem;
    font-weight: 600;
}

.top-nav a {
    margin: 0 0.5rem;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    /* Adjust ratios as needed */
    gap: 4rem;
}

h2 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 600;
    /* Bolder */
    margin-bottom: 3rem;
    /* More space */
    color: #fff;
    margin-top: 0;
    /* Ensure top alignment */
}

h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: #ddd;
}

/* Content Lists */
.content-list {
    font-size: 0.95rem;
}

.project-item {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 0.5fr;
    gap: 1rem;
    margin-bottom: 2rem;
    /* More space between items */
    align-items: baseline;
    border-bottom: 1px solid #333;
    /* Optional separator */
    padding-bottom: 2rem;
}

.project-item:last-child {
    border-bottom: none;
}

.project-name {
    font-weight: 700;
    font-size: 1.1rem;
    /* Larger */
}

.project-name a {
    color: var(--accent-color);
    /* Accent color */
}

.project-category {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.project-desc {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.write-item {
    margin-bottom: 0.8rem;
}

.write-title {
    display: block;
}

.write-link {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 0.2rem;
    display: block;
}

/* Records Table */
.records-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.record-row {
    display: contents;
}

.record-name {
    color: var(--text-color);
}

.record-value {
    text-align: right;
    font-family: monospace;
    color: var(--secondary-text);
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    text-align: right;
    font-size: 0.9rem;
}

.pagination span {
    margin-left: 0.5rem;
    cursor: pointer;
}

.pagination .active {
    font-weight: bold;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    header {
        flex-direction: column;
        gap: 2rem;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
        margin-bottom: 2rem;
    }
}

.gallery-link {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    display: inline-block;
}

.gallery-link:hover {
    color: var(--accent-color);
}

.see-all {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--text-color) !important;
    /* Override secondary text color */
}

.see-all:hover {
    color: var(--accent-color) !important;
}