
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;600&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fffdf7;
    color: #3e342a;
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background: #fef7ec;
    border-bottom: 2px solid #e3d9c4;
}

.logo {
    height: 90px;
}

nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #3e342a;
    font-weight: 600;
    position: relative;
    font-size: 1.1em;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #3e342a;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

section {
    padding: 100px 20px;
    max-width: 900px;
    margin: auto;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #2a241b;
    margin-bottom: 20px;
}

p, li {
    font-size: 1.2em;
    line-height: 1.7em;
}

ul.projects {
    list-style: none;
    padding-left: 0;
}

ul.projects li {
    margin-bottom: 20px;
}

form input, form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background: #3e342a;
    color: white;
    padding: 14px 28px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover {
    background: #2b261f;
}

footer {
    background: #f1e8d7;
    text-align: center;
    padding: 30px;
    font-size: 1em;
    margin-top: 60px;
    border-top: 1px solid #d4c8b5;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

textarea {
    font-family: 'Inter', sans-serif;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

footer {
    background: #f1e8d7;
    text-align: center;
    padding: 30px;
    font-size: 0.75em;
    margin-top: 60px;
    border-top: 1px solid #d4c8b5;
    color: #4a3f35;
}

a, nav a {
    transition: color 0.3s ease;
}

nav a:hover {
    color: #b6764e;
}

h1, h2 {
    color: #6b4c3b;
}

button {
    background-color: #b6764e;
}

button:hover {
    background-color: #935332;
}

/* Prevent logo flicker on page transitions */
.logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    will-change: transform;
}

/* Crisp white background for content */
section {
    background: #ffffff;
    padding: 100px 20px;
    max-width: 900px;
    margin: auto;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    border-radius: 4px;
}

/* Vibrant header and footer accents */
header {
    background: #e4c2a2;
    border-bottom: 2px solid #cba582;
}

footer {
    background: #e4c2a2;
    color: #4a3f35;
}

header {
    background: #8aa488; /* muted sage green from logo */
    border-bottom: none;
}

footer {
    background: #8aa488;
    color: #ffffff;
}

section {
    background: #ffffff;
    padding: 100px 20px;
    max-width: 1000px;
    margin: auto;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    box-shadow: none;
    border-radius: 0;
}
