/* Reset e variáveis */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --text-color: #212529;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  padding-top: 80px;
}

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

/* Header */
header {
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: white;
  padding: 100px 0 60px;
  text-align: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--light-color);
}

/* Sections */
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background-color: white;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--dark-color);
}

/* Projetos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

.project-links a {
  margin-right: 1rem;
  color: var(--primary-color);
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

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

.skill h3 {
  margin-bottom: 0.5rem;
}

.skill-bar {
  background-color: #e9ecef;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

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

.social-links a {
  margin-right: 1rem;
  color: var(--primary-color);
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 1rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    display: flex;
    justify-content: center;
  }

  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
}
a {
  margin-right: 15px;
  text-decoration: none;
  color: #333;
}

i {
  margin-right: 5px;
}