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

/* Body Styles */
body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
    letter-spacing: 0.01em;
}

/* Main Container */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 100px 30px 30px 30px;
}

/* Section Spacing */
section {
    margin-bottom: 60px;
}

section:last-child {
    margin-bottom: 0;
}

/* Typography */
h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    display: flex;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2c2c2c;
    border-bottom: 1px solid #dedede;
    padding-bottom: 6px;
    opacity: 0.85;
}

h2 svg {
    width: 1rem;
    margin-right: 6px;
}

p {
    font-size: 16px;
    font-weight: 300;
    color: #54595F;
    margin-bottom: 1rem;
    line-height: 1.7;
}

p:last-child {
    margin-bottom: 0;
}

/* Intro Section */
.intro {
    margin-top: 0;
}

.profile-photo {
    width: 85px;
    height: 85px;
    border-radius: 100%;
    margin-bottom: 10px;
    display: block;
    object-fit: cover;
}

.headline {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #2c2c2c;
    letter-spacing: -0.01em;
}

.about-link {
    color: #4a90e2;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.about-link:hover {
    color: #357abd;
    text-decoration: underline;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .project-list {
        padding-left: 0;
    }
}

.project-item {
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project-title .coming-soon {
    font-size: 0.75em;
}

.project-link {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: #4a90e2;
}

.project-link .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.project-link:hover .arrow {
    transform: translateX(4px);
}

.project-link span {
    font-size: 0.75em;
    vertical-align: middle;
}

/* Connect Section */
.connect h2 {
    margin-bottom: 16px;
}

.connect-email,
a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.connect-email:hover, a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    display: none;
}

.newsletter h2 {
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background-color: #fff;
    color: #2c2c2c;
    line-height: 1.5;
}

.email-input::placeholder {
    color: #999;
}

.email-input:focus {
    outline: none;
    border-color: #999;
}

.subscribe-button {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease;
}

.subscribe-button:hover {
    background-color: #000;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #54595F;
    margin: 0;
}

.footer-email:hover {
    color: #4a90e2;
}

.social-links {
    display: flex;
    gap: 16px;
}

@media (max-width: 768px) {
    .social-links {
        gap: 24px;
    }
}

.social-link {
    height: 14px;
    width: 14px;
    display: block;
    color: #fff;
    transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
    .social-link {
        height: 24px;
        width: 24px;
    }
}

.social-link svg {
    transition: all 0.3s ease;
}

.social.tt {
    width: 10px;
    height: 10px;
}

.social svg {
    width: 100%;
}

.social-link:hover {
    color: #000;
    background-color: transparent;
    
    svg {
        fill: #4a90e2;
        transform: translateY(-5px); /* Moves 5px to the right */
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    section {
        margin-bottom: 60px;
    }

    .headline {
        font-size: 1.375rem;
        margin-bottom: 8px;
    }

    .project-list {
        gap: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .email-input,
    .subscribe-button {
        width: 100%;
    }

    .footer-content {
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    section {
        margin-bottom: 40px;
    }

    .headline {
        font-size: 1.25rem;
    }
}
