/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Roboto:wght@100;300;400;500;700;900&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

/* Estilos Globais */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f6f6;
  color: #212529;
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #919191;
}

/* Navbar */
.navbar {
  background-color: #d1d3d4 !important;
  box-shadow: 0 1px 0 #ffffff;
  padding: 10px 0;
  border-bottom: none;
}

.navbar-toggler {
  background-color: transparent !important; /* Para não destoar */
  border: none;
}

.navbar-brand {
  font-weight: 600;
  color: #2e4779 !important;
}

.nav-link {
  font-weight: 500;
  color: #2e4779 !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #7499e5 !important;
}

.bg-grey {
  background-color: #d1d3d4 !important;
}

/* Seção Home */
#home {
  padding: 100px 0;
}

.home-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

/* Seção Currículo */
#cv {
  padding: 80px 0;
}

.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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


/* Seção Projetos */
#projects {
  padding: 80px 0;
}

.swiper {
  width: 80%; /* Reduz a largura total do Swiper */
  height: auto;
  padding: 20px 0; /* Reduz o espaço ao redor */
}

.swiper-slide {
  max-width: 200px; /* Limita o tamanho máximo do slide */
}


.swiper-button-next,
.swiper-button-prev {
  color: #2e4779 !important;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet-active {
  background-color: #2e4779 !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #2e4779;
  opacity: 1;
}

/* Botões */
.btn-primary {
  background-color: #2e4779 !important;
  border-color: #2e4779 !important;
}

.btn-primary:hover {
  background-color: #7499e5 !important;
  border-color: #7499e5 !important;
}

.btn-outline-primary {
  color: #2e4779;
  border-color: #2e4779;
}

.btn-outline-primary:hover {
  background-color: #2e4779;
  color: white;
}

.download-btn, .botao {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
}

.download-btn:hover, .botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Seção Contato */
#contact {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contact-buttons .btn {
  padding: 10px 20px;
  margin: 0 10px;
}

/* Footer */
footer {
  background-color: #343a40;
  color: white;
  padding: 30px 0;
}

/* Responsividade */
@media (max-width: 992px) {
  .home-img img {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  #home, #cv, #skills, #projects, #contact {
    padding: 60px 0;
  }
  
  .home-img img {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
  }
  
  .skills-columns {
    flex-direction: column;
  }
  
  .swiper-slide {
    padding: 0 15px;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-buttons .btn {
    margin: 5px 0;
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .home-img img {
    width: 180px;
    height: 180px;
  }
  
  .skill-header {
    flex-wrap: wrap;
  }
  
  .skill-header .percent {
    width: 100%;
    text-align: right;
    margin-top: 5px;
  }
}

/* NOVA ESTILIZAÇÃO - Skills com níveis de proficiência */
.skill-item {
  margin-bottom: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.skill-header h3 {
  font-size: 0.95rem;
  margin: 0;
}

.skill-header img {
  width: 10px;
  height: 10px;
  margin-right: 10px;
}

.skill-badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  font-weight: 500;
  border-radius: 12px;
}

/* Cores de nível */
.skill-badge.avancado {
  background-color: #179c36;
  color: white;
}

.skill-badge.intermediario {
  background-color: #3083bb;
  color: #fbfbfb;
}

.skill-badge.basico {
  background-color: #b7bb51;
  color: white;
}
