/* Particle Field Portfolio */

/* Departure Mono Font Declaration
 * Departure Mono by Helena Zhang
 * Licensed under SIL Open Font License 1.1
 * https://github.com/rektdeckard/departure-mono
 * License: fonts/OFL.txt
 */
@font-face {
    font-family: 'Departure Mono';
    src: url('fonts/DepartureMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-primary: #2a2a25;
    --text-secondary: #5A6049;
    --text-tertiary: #7a7a6a;
    --bg-primary: #E1E0C9;
    --bg-secondary: #d5d4bc;
    --bg-card: #f7f6f0;
    --border-primary: #5A6049;
    --border-secondary: #c5c4ad;
    --border-light: #d0cfb8;
    --accent-primary: #367EA5;
    --accent-secondary: #AE9E69;
    --accent-tertiary: #86B0B9;
    --accent-hover: #2a6485;
    --accent-light: rgba(54, 126, 165, 0.1);
    --glow-primary: rgba(54, 126, 165, 0.3);
    --glow-secondary: rgba(174, 158, 105, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Departure Mono', 'Courier New', monospace;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 15px;
    position: relative;
    min-height: 100vh;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* CRT Scanline Overlay - Subtle */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        rgba(90, 96, 73, 0.02) 0px,
        rgba(90, 96, 73, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* Subtle vignette */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 70%,
        rgba(90, 96, 73, 0.1) 100%
    );
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--border-secondary);
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Departure Mono', monospace;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    animation: none;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.tagline {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Navigation */
nav {
    background: rgba(225, 224, 201, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.05em;
}

nav a:hover {
    color: var(--accent-tertiary);
    border-bottom-color: var(--accent-tertiary);
}

nav a.active {
    color: var(--accent-tertiary);
    border-bottom-color: var(--accent-tertiary);
}

/* Main Content */
main {
    padding: 4rem 0;
}

.section {
    margin-bottom: 5rem;
}

.section:last-child {
    margin-bottom: 3rem;
}

h2 {
    font-family: 'Departure Mono', monospace;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--accent-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

h4 {
    font-size: 0.9rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: 'Departure Mono', monospace;
}

/* About Section */
.about-content {
    margin-bottom: 2.5rem;
}

.about-content p {
    font-size: 1rem;
}

.education {
    border-top: 1px solid var(--border-secondary);
    padding-top: 2rem;
    margin-top: 2rem;
}

.edu-item {
    margin-bottom: 1.5rem;
}

.edu-item strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Departure Mono', monospace;
}

.edu-item p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.awards {
    margin-top: 2rem;
}

.awards ul {
    list-style: none;
    color: var(--text-secondary);
}

.awards li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-family: 'Departure Mono', monospace;
}

.awards li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

/* Projects */
.project {
    margin-bottom: 4rem;
    border-top: 1px solid var(--border-secondary);
    padding-top: 2rem;
}

.project-preview {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin: -1rem;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    box-shadow: 0 2px 8px rgba(90, 96, 73, 0.08);
}

.project-preview:hover {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(54, 126, 165, 0.05) 100%);
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow:
        0 4px 20px rgba(90, 96, 73, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.08);
}

.project-preview-image {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-preview:hover .project-preview-image {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(54, 126, 165, 0.15);
}

.project-preview-content {
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.project-header h3 {
    font-family: 'Departure Mono', monospace;
    margin: 0;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-date {
    font-size: 0.85rem;
    color: var(--accent-tertiary);
    font-family: 'Departure Mono', monospace;
}

.tag {
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: rgba(174, 158, 105, 0.15);
    border: 1px solid rgba(174, 158, 105, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.project-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Departure Mono', monospace;
    margin-bottom: 0.75rem;
}

.expand-indicator {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-family: 'Departure Mono', monospace;
    font-weight: 500;
}

.project-card-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
}

.play-online-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #367EA5 0%, #2a6485 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Departure Mono', monospace;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(54, 126, 165, 0.3);
}

.play-online-btn:hover {
    background: linear-gradient(135deg, #2a6485 0%, #1d4d66 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(54, 126, 165, 0.4);
}

/* Expanded Project Details */
.project-details {
    display: none;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    box-shadow: inset 0 2px 8px rgba(90, 96, 73, 0.06);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project.expanded .project-details {
    display: block;
}

.project.expanded .expand-indicator::before {
    content: "— ";
}

.project:not(.expanded) .expand-indicator::before {
    content: "+ ";
}

.project-content {
    margin-bottom: 2rem;
    max-width: 900px;
}

.project-content p {
    margin-bottom: 1rem;
}

.project-note {
    font-style: italic;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-secondary);
    margin: 1.5rem 0;
    font-family: 'Departure Mono', monospace;
}

/* Project Gallery */
.project-gallery {
    margin: 2.5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-image {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-secondary);
    transition: opacity 0.2s ease;
    display: block;
}

.gallery-image:hover {
    opacity: 0.85;
}

.gallery-caption {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    font-family: 'Departure Mono', monospace;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 1px solid var(--border-secondary);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    font-family: 'Departure Mono', monospace;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    opacity: 0.7;
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    font-family: 'Departure Mono', monospace;
    cursor: pointer;
    background: rgba(0, 102, 204, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
    line-height: 1;
    border-radius: 4px;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
    background: rgba(0, 102, 204, 1);
    border-color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
}

.lightbox-counter {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    font-family: 'Departure Mono', monospace;
    background: rgba(0, 102, 204, 0.9);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    font-family: 'Departure Mono', monospace;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 80%;
    text-align: center;
    border-radius: 4px;
}

/* Downloads */
.project-downloads {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
}

.project-downloads h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Departure Mono', monospace;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.download-link:hover {
    background: var(--accent-primary);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(54, 126, 165, 0.3);
    transform: translateY(-2px);
}

.download-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Development Log */
.dev-log {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--border-secondary);
    background: var(--bg-secondary);
    border-radius: 4px;
}

.dev-log h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.log-entry {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.log-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.log-date {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: 'Departure Mono', monospace;
    margin-bottom: 0.5rem;
}

.log-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Departure Mono', monospace;
    line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.skill-category h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
    font-family: 'Departure Mono', monospace;
    font-size: 0.95rem;
}

.skill-category li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

/* Experience */
.experience-item {
    padding: 2rem 0;
    border-top: 1px solid var(--border-secondary);
}

.experience-item:first-child {
    border-top: none;
    padding-top: 0;
}

.experience-item h3 {
    font-family: 'Departure Mono', monospace;
    margin-bottom: 0.25rem;
}

.role {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.25rem;
    font-family: 'Departure Mono', monospace;
}

.dates {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-family: 'Departure Mono', monospace;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
    color: var(--text-secondary);
}

.experience-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-family: 'Departure Mono', monospace;
    font-size: 0.95rem;
}

.experience-item li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

/* Contact & Links */
#contact p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.email-obfuscated {
    unicode-bidi: bidi-override;
    direction: rtl;
    user-select: all;
    color: var(--accent-primary);
}

#contact a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-primary);
    transition: all 0.2s ease;
}

#contact a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

.links-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-secondary);
}

.links-section h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.links-grid a {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.links-grid a:hover {
    background-color: var(--accent-light);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Footer */
footer {
    background: linear-gradient(0deg, var(--bg-secondary) 0%, transparent 100%);
    color: var(--text-secondary);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-secondary);
    position: relative;
    z-index: 1;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-link {
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* Photo Count Badge */
.photo-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent-secondary);
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-family: 'Departure Mono', monospace;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(174, 158, 105, 0.3);
}

.playable-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, #367EA5 0%, #2a6485 100%);
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-family: 'Departure Mono', monospace;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(54, 126, 165, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-preview-image-wrapper {
    position: relative;
}

/* Responsive Design */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    header {
        padding: 3rem 0 1.5rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    main {
        padding: 3rem 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: row;
    }

    nav a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        border-bottom: 1px solid var(--border-light);
    }

    .download-links {
        flex-direction: column;
    }

    .download-link {
        text-align: center;
    }
}

/* Focus Styles - Accessibility */
*:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

/* Keyboard focus indicators */
.project-preview:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 4px;
}

.gallery-item:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

nav a:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: -2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
    font-family: 'Departure Mono', monospace;
    font-size: 0.9rem;
}

.skip-to-content:focus {
    top: 0;
}

/* Lazy loading placeholder */
.gallery-image.lazy {
    background: var(--bg-secondary);
    min-height: 200px;
}

/* External link indicator */
a[target="_blank"]:not(.download-link)::after {
    content: " ↗";
    font-size: 0.75em;
    opacity: 0.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: transparent;
    color: var(--accent-tertiary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-tertiary);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus {
    background: var(--accent-tertiary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(134, 176, 185, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .lightbox-nav,
    .lightbox-close,
    nav a,
    .download-link,
    .project-preview,
    .gallery-image {
        transition: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-primary: #000000;
        --border-secondary: #000000;
    }

    .lightbox {
        background-color: rgba(0, 0, 0, 1);
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }

    body::before,
    body::after,
    #particle-canvas {
        display: none !important;
    }

    header h1 {
        color: black;
        text-shadow: none;
        animation: none;
    }

    nav {
        display: none;
    }

    .expand-indicator {
        display: none;
    }

    .project-details {
        display: block !important;
    }

    .project {
        break-inside: avoid;
    }

    .project-preview {
        background: white;
        border-color: #ccc;
    }

    .lightbox {
        display: none !important;
    }

    .skip-to-content,
    .back-to-top {
        display: none;
    }
}
