/* The Azirona Drift - Streamlined Styles */

:root {
    --desert-sand: #F4E5D3;
    --terracotta: #C65D00;
    --sage: #9CAF88;
    --clay: #B85450;
    --charcoal: #2C2C2C;
    --warm-white: #FEFCF8;
    --dusty-blue: #7A9CC6;
    --copper: #B87333;

    --font-primary: 'Courier New', monospace;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-soft: 0 2px 8px rgba(44, 44, 44, 0.1);
    --shadow-hover: 0 4px 16px rgba(44, 44, 44, 0.15);
    --border-radius: 2px;
}

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

body {
    font-family: var(--font-secondary);
    background-color: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header and Navigation */
.navbar {
    background: var(--desert-sand);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--terracotta);
}

.nav-brand h1 {
    font-family: var(--font-primary);
    color: var(--terracotta);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    text-transform: lowercase;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--sage);
    color: var(--warm-white);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--terracotta);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dusty-blue) 0%, var(--sage) 100%);
    color: var(--warm-white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hidden links in hero text */
.hidden-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hidden-link:hover {
    opacity: 0.7;
}

/* Newsletter Form */
.newsletter-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form label {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--warm-white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 0.75rem;
    text-align: center;
    max-width: 550px;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.newsletter-form input[type="email"] {
    padding: 0.75rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    border: 2px solid var(--warm-white);
    border-radius: var(--border-radius);
    background: var(--warm-white);
    color: var(--charcoal);
    min-width: 250px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(198, 93, 0, 0.2);
}

.newsletter-form input[type="submit"] {
    padding: 0.75rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--terracotta);
    color: var(--warm-white);
    border: 2px solid var(--terracotta);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.newsletter-form input[type="submit"]:hover {
    background: var(--clay);
    border-color: var(--clay);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.newsletter-credit {
    font-size: 0.7rem;
    opacity: 0.5;
    margin: 0.5rem 0 0 0;
    transform: scale(0.8);
    transform-origin: center;
}

.newsletter-credit a {
    color: var(--warm-white);
    text-decoration: none;
    border-bottom: 1px dotted var(--warm-white);
    transition: opacity 0.3s ease;
}

.newsletter-credit a:hover {
    opacity: 0.7;
}

/* Sections */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--desert-sand);
}

.section:nth-child(even) {
    background: var(--desert-sand);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section h2 {
    font-family: var(--font-primary);
    color: var(--terracotta);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: lowercase;
}

/* Project Filters */
.project-filters {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--charcoal);
    font-weight: 600;
    margin: 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.global-filter-btn,
.author-filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--sage);
    color: var(--warm-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    font-weight: 500;
}

.global-filter-btn.active,
.author-filter-btn.active {
    background: var(--terracotta);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.global-filter-btn:hover,
.author-filter-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-label {
        font-size: 1rem;
    }

    .global-filter-btn,
    .author-filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid var(--copper);
    position: relative;
    height: 440px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.project-card:hover {
    box-shadow: var(--shadow-hover);
    border-left-color: var(--clay);
}

.project-card.writing {
    border-left-color: var(--terracotta);
}

.project-card.comics {
    border-left-color: var(--sage);
}

.project-card.games {
    border-left-color: var(--dusty-blue);
}

.project-card.music {
    border-left-color: var(--copper);
}

.project-card.video {
    border-left-color: #8E44AD; /* Purple color for video projects */
}

.project-header {
    background: var(--desert-sand);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-category {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 600;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

.project-status.completed {
    background: var(--sage);
    color: var(--warm-white);
}

.project-status.work-in-progress {
    background: var(--dusty-blue);
    color: var(--warm-white);
}

.project-status.planning {
    background: var(--copper);
    color: var(--warm-white);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-content h3 {
    font-family: var(--font-primary);
    color: var(--charcoal);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.project-content p {
    color: var(--charcoal);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    flex: 1;
    position: relative;
}

.project-content::after {
    content: "Click to read more...";
    display: block;
    text-align: center;
    color: var(--dusty-blue);
    font-size: 0.85em;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.7;
    font-family: var(--font-primary);
}

.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.project-meta span {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--charcoal);
    opacity: 0.7;
    background: var(--desert-sand);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
}

.project-author {
    color: var(--terracotta) !important;
    opacity: 1 !important;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--terracotta);
    color: var(--warm-white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--clay);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.project-actions .project-link {
    flex: 0 0 auto;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--sage);
    color: var(--warm-white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--dusty-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Loading State */
.projects-loading,
.blog-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-family: var(--font-primary);
    color: var(--charcoal);
    opacity: 0.7;
    grid-column: 1 / -1;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid var(--dusty-blue);
    cursor: pointer;
}

.blog-post:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-left-color: var(--terracotta);
}

.blog-post-header {
    background: var(--desert-sand);
    padding: 1rem;
}

.blog-post-date {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.blog-post-title {
    font-family: var(--font-primary);
    color: var(--terracotta);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.blog-post-author {
    font-size: 0.9rem;
    color: var(--dusty-blue);
    font-style: italic;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-excerpt {
    color: var(--charcoal);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-read-more {
    color: var(--terracotta);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--clay);
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tools-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-family: var(--font-primary);
    color: var(--charcoal);
    opacity: 0.7;
    grid-column: 1 / -1;
}

.tool-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--dusty-blue);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 250px;
}

.tool-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-left-color: var(--terracotta);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.tool-title {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.3;
}

.tool-category {
    background: var(--sage);
    color: var(--charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.tool-description {
    font-family: var(--font-primary);
    color: var(--charcoal);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.tool-link {
    color: var(--terracotta);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.tool-card:hover .tool-link {
    color: var(--clay);
}

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

.blog-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
}

.blog-modal-content {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 90%;
    margin: 2rem auto;
    box-shadow: var(--shadow-hover);
}

.blog-modal-header {
    background: var(--desert-sand);
    padding: 1rem;
    border-bottom: 1px solid var(--sage);
    position: sticky;
    top: 0;
    z-index: 10;
}

.blog-modal-title {
    font-family: var(--font-primary);
    color: var(--terracotta);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-modal-meta {
    color: var(--charcoal);
    opacity: 0.8;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(254, 252, 248, 0.9);
    border: 2px solid var(--sage);
    font-size: 1.5rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.blog-close:hover {
    background: var(--sage);
    color: var(--warm-white);
}

.fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 4rem;
    background: rgba(254, 252, 248, 0.9);
    border: 2px solid var(--dusty-blue);
    font-size: 1.2rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.fullscreen-btn:hover {
    background: var(--dusty-blue);
    color: var(--warm-white);
}

/* Fullscreen modal styles */
.blog-modal.fullscreen {
    background: var(--warm-white);
}

.blog-modal.fullscreen .blog-modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
}

.blog-modal.fullscreen .blog-modal-body {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.blog-modal-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--charcoal);
}

.blog-modal-body h1,
.blog-modal-body h2,
.blog-modal-body h3 {
    font-family: var(--font-primary);
    color: var(--terracotta);
    margin: 2rem 0 1rem 0;
}

.blog-modal-body h1 {
    font-size: 2rem;
}

.blog-modal-body h2 {
    font-size: 1.5rem;
}

.blog-modal-body h3 {
    font-size: 1.2rem;
}

.blog-modal-body p {
    margin-bottom: 1.5rem;
}

.blog-modal-body strong {
    color: var(--terracotta);
}

.blog-modal-body em {
    color: var(--dusty-blue);
}

.blog-modal-body ul,
.blog-modal-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-modal-body li {
    margin-bottom: 0.5rem;
}

.blog-modal-body hr {
    border: none;
    border-top: 2px solid var(--sage);
    margin: 2rem 0;
    opacity: 0.5;
}

/* Game Modal Styles */
.game-modal .blog-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 1000px;
    height: 700px;
}

.game-player-frame {
    flex: 1;
    background: var(--charcoal);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    position: relative;
}

.game-player-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--warm-white);
}

.game-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-modal .blog-modal-header {
    flex-shrink: 0;
}

/* Game fullscreen styles */
.game-modal.fullscreen .blog-modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
}

/* Project Detail Modal */
.project-detail-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.project-detail-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-detail-image {
    width: 100%;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--desert-sand);
}

.project-detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--charcoal);
    white-space: pre-wrap;
}

.project-detail-info {
    background: var(--desert-sand);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--terracotta);
}

.project-detail-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-section {
    background: var(--warm-white);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--desert-sand);
    box-shadow: var(--shadow-soft);
}

.info-section h4 {
    color: var(--terracotta);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--desert-sand);
    padding-bottom: 0.5rem;
}

.info-section p {
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    line-height: 1.5;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.project-detail-info strong,
.info-section strong {
    color: var(--terracotta);
    font-weight: 600;
}

.info-section a {
    color: var(--dusty-blue);
    text-decoration: none;
    word-break: break-all;
    font-size: 0.9rem;
}

.info-section a:hover {
    color: var(--clay);
    text-decoration: underline;
}

.project-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--desert-sand);
    border-bottom: 1px solid var(--desert-sand);
}

.project-detail-simple-info {
    background: var(--desert-sand);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--terracotta);
}

.project-detail-simple-info p {
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    line-height: 1.5;
}

.project-detail-simple-info p:last-child {
    margin-bottom: 0;
}

.project-detail-simple-info strong {
    color: var(--terracotta);
    font-weight: 600;
}

.extra-notes {
    border-bottom: 1px solid var(--sage);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.extra-notes p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--charcoal);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--warm-white);
    text-align: center;
    padding: 2rem;
    font-family: var(--font-primary);
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--dusty-blue);
    text-decoration: none;
    border-bottom: 1px dotted var(--dusty-blue);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--desert-sand);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-soft);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        height: 420px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .project-banner {
        height: 100px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 200px;
        text-align: center;
    }

    .project-detail-content {
        max-width: 95vw;
        margin: 10px;
    }

    .project-detail-image {
        height: 250px;
    }

    .project-detail-actions {
        flex-direction: column;
        align-items: center;
    }

    .project-detail-sections {
        gap: 1rem;
    }

    .info-section {
        padding: 1rem;
    }
}

/* Smooth animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* Background Chicken */
.chicken {
    position: fixed;
    width: 32px;
    height: 32px;
    background-image: url('assets/addon/chicken.PNG');
    background-repeat: no-repeat;
    image-rendering: pixelated;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}
