body {
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #e0e6ed;
    min-height: 100vh;
    line-height: 1.6;
}

/* Reset all link colors in project and writing cards */
.project-card a,
.writing-card a {
    color: #e3f2fd;
}

.project-card a:visited,
.writing-card a:visited {
    color: #e3f2fd;
}

.project-card a:hover,
.writing-card a:hover {
    color: #90caf9;
}

.project-card a:visited:hover,
.writing-card a:visited:hover {
    color: #90caf9;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 25px 0;
    background: rgba(13, 27, 42, 0.9);
    border-bottom: 1px solid #2a3441;
    backdrop-filter: blur(10px);
}

.menu > a,
.menu > .dropdown > a {
    text-decoration: none;
    color: #64b5f6;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.menu > a:hover,
.menu > .dropdown > a:hover {
    color: #90caf9;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    text-align: center;
    padding: 60px 20px;
}

h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: #e3f2fd;
    text-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
}

.bio {
    font-size: 20px;
    color: #90caf9;
    margin-bottom: 50px;
    max-width: 600px;
}

.contact-section {
    background: rgba(13, 27, 42, 0.8);
    padding: 40px;
    margin: 60px auto;
    max-width: 600px;
    border: 1px solid #2a3441;
    border-radius: 8px;
    text-align: center;
}

.contact-section h2 {
    color: #64b5f6;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-section p {
    color: #90caf9;
    margin: 10px 0;
    font-size: 16px;
}

.contact-section a {
    color: #42a5f5;
    text-decoration: none;
}

.contact-section a:hover {
    color: #90caf9;
    text-decoration: underline;
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(13, 27, 42, 0.95);
    min-width: 320px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1000;
    border: 1px solid #2a3441;
    border-radius: 4px;
    margin-top: 0px;
    left: 0;
}

.dropdown-content a {
    color: #64b5f6;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.3s ease;
    white-space: normal;
    text-align: left;
}

.dropdown-content a:hover {
    background: rgba(100, 181, 246, 0.1);
    color: #90caf9;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Projects and Writing Container */
.projects-container,
.writing-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    width: 100%;
    margin-top: 20px;
}

/* Project and Writing Cards */
.project-card,
.writing-card {
    background: rgba(13, 27, 42, 0.8);
    padding: 30px;
    border: 1px solid #2a3441;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover,
.writing-card:hover {
    transform: translateY(-3px);
    border-color: #64b5f6;
}

.project-card h2,
.writing-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-card h2 a,
.writing-card h2 a {
    color: #e3f2fd !important;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-card h2 a:hover,
.writing-card h2 a:hover {
    color: #90caf9 !important;
    text-shadow: 0 0 15px rgba(144, 202, 249, 0.4);
}

.project-card h2 a:visited,
.writing-card h2 a:visited {
    color: #e3f2fd !important;
}

.project-card h2 a:visited:hover,
.writing-card h2 a:visited:hover {
    color: #90caf9 !important;
    text-shadow: 0 0 15px rgba(144, 202, 249, 0.4);
}

.project-description,
.writing-description {
    color: #b0bec5;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.writing-date {
    color: #78909c;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
}

/* Tags */
.project-tags,
.writing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(100, 181, 246, 0.15);
    color: #64b5f6;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

@media (max-width: 768px) {
    .menu {
        gap: 30px;
        padding: 20px 0;
    }

    .menu > a,
    .menu > .dropdown > a {
        font-size: 14px;
    }

    h1 {
        font-size: 36px;
    }

    .bio {
        font-size: 18px;
    }

    .dropdown-content {
        min-width: 220px;
    }

    .project-card,
    .writing-card {
        padding: 20px;
    }

    .project-card h2,
    .writing-card h2 {
        font-size: 20px;
    }
}
