/*
 * Olavo Bacelar - Personal Website
 * Single page, warm elegant design
 */

:root {
    --bg: #f7f4ef;
    --text: #2d2d2d;
    --text-light: #666;
    --text-muted: #999;
    --accent: #2563eb;
    --border: #e5e0d8;
}


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

body {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 20px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Greeting */
.greeting {
    font-size: 1.7rem;
    font-weight: 1;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

/* Photo */
.profile-photo {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto 2.2rem;
}

/* Intro */
.intro {
    text-align: left;
}

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

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

/* Links */
a {
    color: var(--text);
    text-decoration: none;
    background: linear-gradient(to top, rgba(56, 156, 255, 0.22) 60%, transparent 50%);
}

a:hover {
    background: rgba(56, 156, 255, 0.4);
}

/* Sections */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

/* Work items */
.work-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.work-item:last-child {
    border-bottom: none;
}

.work-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.work-title {
    font-weight: bold;
}

.work-meta {
    color: var(--text-muted);
    font-style: italic;
}

.work-desc {
    color: var(--text-light);
}

/* Lists */
ul {
    padding-left: 1.25rem;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Services */
.services-grid {
    display: grid;
    gap: 1rem;
}

.service {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.service strong {
    display: block;
    margin-bottom: 0.25rem;
}

.service span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    background: none;
}

.footer-links a:hover {
    color: var(--text);
    opacity: 0.6;
    background: none;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 48px 20px;
    }

    .site-name {
        font-size: 1.5rem;
    }

    .work-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}
