/* Estilos Globais */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: #673ab7; /* Roxo principal */
    color: white;
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.main-header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: #337ab7;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #286090;
}

/* Seções */
section {
    padding: 40px 0;
    text-align: center;
}

.hero {
    background-color: #fff;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-basis: 30%;
    min-width: 280px;
}

.service-item img {
    max-width: 100px;
    margin-bottom: 10px;
}

.contact {
    background-color: #f9f9f9;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* NOVA SEÇÃO: Sobre Mim */
.about-me {
    background-color: white;
    padding: 60px 0;
    text-align: left;
}

.about-me-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-me-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.about-me-text {
    flex: 1;
}

.about-me-text h3 {
    font-size: 2.2rem;
    color: #673ab7;
    margin-bottom: 20px;
}

.about-me-photo {
    flex: 1;
    text-align: center;
}

.about-me-photo img {
    /* Define a largura e altura fixas para a imagem */
    width: 250px;
    height: 250px;
    
    /* Garante que a imagem preencha o espaço sem ser distorcida, cortando as bordas se necessário */
    object-fit: cover;
    
    border-radius: 50%; /* Opcional: Para deixar a foto redonda */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}