body {
    font-family: 'Lora', serif;
    background-color: #f4f1eb; /* A warm, off-white */
    color: #333;
    line-height: 1.7;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50; /* A soft, dark blue */
}

.subtitle {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.1rem;
    color: #7f8c8d; /* Muted gray */
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e0ddd7;
    padding-bottom: 10px;
    margin-bottom: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.4rem;
    color: #c0392b; /* A warm, earthy red for contrast */
    margin-bottom: 0.5rem;
}

section {
    margin-bottom: 4rem;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #e0ddd7;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.project-card .tech {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

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

#contact li {
    margin-bottom: 0.5rem;
}

a {
    color: #c0392b;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
    filter: brightness(1.1);
}

footer {
    text-align: center;
    margin-top: 4rem;
    font-family: 'Source Code Pro', monospace;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* For the JavaScript fade-in animation */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
