/* General Body and Layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Header and Navigation */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    color: #555;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 0;
    background-color: #e9f2f0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #2c3e50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #34495e;
}

/* Recent Posts and Blog List */
.recent-posts, .blog-list-section {
    padding: 50px 0;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.post-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.post-card h3 a {
    color: #333;
    font-weight: 600;
}

.post-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.post-card p {
    margin-bottom: 15px;
}

.post-card a {
    font-weight: bold;
}

.post-list .post-card {
    margin-bottom: 20px;
}

/* About Me Page */
.about-section {
    padding: 50px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #2c3e50;
    color: #fff;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }
}