:root {
  --bg-header: #000000;
  --bg-main: #FFFFFF;
  --text-light: #FFFFFF;
  --text-dark: #212427;
  --text-green: #67b667;
  --hover: rgb(103, 182, 103);
}

html {
  scroll-behavior: smooth;
}

.text-light-gray {
  color: rgb(240, 240, 240);
}

/* Classe única para texto verde, usada para títulos e outros textos */
.text-green {
  color: var(--text-green) !important;
}

.paragraph {
  font-size: 1.2rem;
  font-family: sans-serif;
  text-align: justify;
}

.navbar-nav .nav-link:hover {
  color: var(--hover);
  transition: 0.3s;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Remover qualquer cor padrão para títulos em bg-dark e forçar verde */
.bg-dark .section-title {
  color: var(--text-green) !important;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-main);
}

.hero-section .container-sm {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-section img {
  width: 100%;
  max-width: 300px;
  border-radius: 50%;
  border: 4px solid var(--text-green);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-style: italic;
}

@media (min-width: 1024px) {
  .hero-section .container-sm {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero-section img {
    max-width: 350px;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 1.7rem;
  }
}

@media (min-width: 1600px) {
  .hero-section img {
    max-width: 350px;
  }

  .hero-text h1 {
    font-size: 4.5rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}

.hero-text h2:hover {
  color: var(--hover);
  transition: 0.3s;
}

.midias-sociais a {
  font-weight: 500;
}

.sobremim-section p {
  text-align: justify;
}

/* Padding horizontal extra para telas pequenas */
@media (max-width: 576px) {
  .sobremim-section .container-sm {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.card-img-fixed {
  max-height: 200px;
  object-fit: cover;
}

.card-img-top {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Mantém proporção widescreen */
  object-fit: cover;
}

.card-title-wrapper {
  font-size: 1.2rem; /* tamanho parecido com h5 */
  font-weight: bold;
  min-height: 60px; /* altura mínima igual para todos */
  display: flex;
  align-items: center; /* centraliza verticalmente */
  text-align: center;
  justify-content: center; /* centraliza horizontalmente */
  border-bottom: 4px solid var(--text-green); /* bordinha verde */
}

.card-text {
  margin-top: 0.6rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.skills-board .col img {
  max-width: 80px;
  width: 100%;
  height: auto;
  opacity: 30%;
  transition: 0.3s ease;
  margin-bottom: 0.5rem;
}

.skills-board .col img:hover {
  opacity: 100%;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

@media (max-width: 576px) {
  .skills-board .col img {
    max-width: 60px;
  }

  .skill-name {
    font-size: 0.85rem;
  }
}


.footer-section p {
  color: var(--text-light);
  font-size: 1rem;
  font-family: sans-serif;
  text-align: center;
}
