/* Skip link for accessibility - only visible on focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #f5f5f5;
    color: #121212;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-size: 0.9rem;
    font-weight: 500;
    transition: top 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.skip-link:focus {
    top: 10px;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Page transition animations */
body {
    font-family: 'EB Garamond', Georgia, serif;
    line-height: 1.7;
    color: #e1e1e1;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 2rem;
    background-color: #121212;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #f5f5f5;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.name {
    margin-top: 8rem;
    margin-bottom: 2.75rem;
}

h1.name {
    border-bottom: 1px solid #333;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    margin-top: 8rem;
}

.experience-section .name {
    margin-top: 6rem;
    margin-bottom: 4rem;
}

a {
    color: #f0f0f0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: border-bottom-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.reset-link {
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.reset-link:hover {
    transform: translateY(-1px);
}

.show-more-link {
    color: #f0f0f0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: border-bottom-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    font-size: 1.5rem;
}

.show-more-link:hover {
    border-bottom-color: transparent;
    color: #ffffff;
    transform: translateY(-1px);
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 4rem 0;
}

.activities {
    font-size: 1.1rem;
}

.activities p {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* Typography */
h1 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #f5f5f5;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.intro {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.name {
    margin-top: 14rem;
    margin-bottom: 1.75rem;
}

.experience-section .name {
    margin-top: 6rem;
    margin-bottom: 4rem;
}

/* Links */
a {
    color: #f0f0f0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: border-bottom-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

a:hover {
    border-bottom-color: transparent;
    color: #ffffff;
}

/* Layout elements */
hr {
    border: none;
    border-top: 1px solid #333;
    margin: 4rem 0;
}

.activities {
    font-size: 1.1rem;
}

.activities p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.back-link {
    font-size: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    display: block;
}

.experience-section {
    margin-top: 3rem;
}

.projects-list {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
}

.projects-list li {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.projects-list h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
}

/* Enhanced interactions */
.filter-link {
    position: relative;
    transition: all 0.3s ease;
}

.filter-link:hover {
    transform: translateY(-1px);
    border-bottom-color: transparent;
    color: #ffffff;
}

.reset-link {
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.reset-link:hover {
    transform: translateY(-1px);
}

.show-more-link {
    color: #f0f0f0;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: border-bottom-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    font-size: 1.5rem;
}

.show-more-link:hover {
    border-bottom-color: transparent;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    p, .show-more-link, .reset-link, .intro {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 1.5rem;
    }
    p, .show-more-link, .reset-link, .intro {
        font-size: 1.4rem;
    }
}
