@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Work Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero__image {
    width: 280px;
    height: 280px;
    border-radius: 10px;
    object-fit: cover;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero__content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.hero__content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #7f8c8d;
}

/* Projects Section */
.projects {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.project {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 250px;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.project h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.project ul {
    list-style: none;
}

.project li {
    margin-bottom: 8px;
}

.project a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #f0f0f0;
    margin-top: 40px;
}

footer p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero__image {
        width: 200px;
        height: 200px;
    }
    
    .hero__content h1 {
        font-size: 2rem;
    }
    
    .hero__content h2 {
        font-size: 1.1rem;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project {
        min-width: auto;
        width: 100%;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
}