/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Header and Navigation */
.header {
    padding: 2rem 0;
    background-color: #fafafa;
}

.nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #333;
}

/* Main content */
.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero section */
.hero {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
    margin-bottom: 2rem;
}

.hero-description {
    max-width: 600px;
}

.hero-description p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.link {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

.link:hover {
    text-decoration-color: #333;
}

/* Projects section */
.projects {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2rem;
}

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.project-icon {
    flex-shrink: 0;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon.agronova {
    background-color: #1a1a1a;
}

.icon.agronova i {
    color: white;
    font-size: 24px;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Elsewhere section */
.elsewhere {
    margin-bottom: 4rem;
}

.social-links {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.social-link:hover {
    background-color: #f8f8f8;
}

.social-link:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 0;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon i {
    color: #6B7280;
    font-size: 18px;
}

.social-name {
    font-size: 0.95rem;
    color: #333;
    flex: 1;
}

.email-address {
    font-size: 0.9rem;
    color: #666;
    margin-left: auto;
}

.email-link {
    justify-content: space-between;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .main {
        padding: 0 1rem;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .email-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .email-address {
        margin-left: 0;
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
} 