/* Estilização global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

.hero {
  background: #1e293b;
  text-align: center;
  padding: 60px 0;
}

.hero h1 {
  font-size: 2.5rem;
  color: #38bdf8;
}

.hero p {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #cbd5e1;
}

.socials a {
  margin: 0 10px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #38bdf8;
}

.section h2,
.section-title-left {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #22d3ee;
}

.about p,
.contact p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  max-height: 400px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-text {
  flex: 2;
  margin-top: 20px;
  min-width: 280px;
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.about-text ul li {
  background-color: #2c2f38;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.resume-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.resume-download {
  text-align: center;
  margin-top: 1.5rem;
}

.resume-download .btn-light {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #e0f2ff;
  border: 2px solid #2563eb;
  color: #1e3a8a;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.resume-download .btn-light:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #1e3a8a;
}

.btn, .btn-outline {
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
  display: inline-block;
}

.btn {
  background-color: #38bdf8;
  color: #0f172a;
  font-weight: 600;
}

.btn:hover {
  background-color: #0ea5e9;
}

.btn-outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
  font-weight: 600;
}

.btn-outline:hover {
  background-color: #1e293b;
  color: #e2e8f0;
}

/* Projetos */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.project-card {
  background-color: #5a7ceb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.project-card img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #facc15;
}

.project-card p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.project-card ul {
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.project-card ul li {
  color: #e2e8f0;
  margin-bottom: 0.3rem;
}

.project-card a.btn {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background-color: #2c2f38;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-card a.btn:hover {
  background-color: #0ea5e9;
}

/* Contato */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form input,
.contact-form textarea {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

.contact-form button {
  background: #38bdf8;
  color: #0f172a;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0ea5e9;
}

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  border-left: 4px solid #38bdf8;
}

.service-card h3 {
  margin-bottom: 10px;
  color: #facc15;
}

.service-card p {
  color: #cbd5e1;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Rodapé */
footer {
  background: #1e293b;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}
