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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Main content */
main {
    background-color: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 60vh;
}

/* Home page */
.home {
    text-align: center;
}

.hero {
    padding: 2rem 0 3rem;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #3498db;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.intro {
    margin: 2rem 0;
    font-size: 1.1rem;
    color: #555;
}

.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.section-card {
    padding: 1.5rem;
    background-color: #ecf0f1;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.section-card h2 {
    margin-bottom: 0.5rem;
}

.section-card h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.section-card h2 a:hover {
    color: #3498db;
}

/* Content pages */
.content h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
}

.content h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content a {
    color: #3498db;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

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

.content ul, .content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content hr {
    border: none;
    border-top: 1px solid #ecf0f1;
    margin: 2rem 0;
}

.content strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.75rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .sections {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1rem;
    }
}
