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

body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

.inicio {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: #FAFAFA;
    color: #000;
}

.inicio h1:first-of-type {
  font-size: clamp(2rem, 5vw, 3rem); /* Tamanho responsivo */
  margin-bottom: 15px;
}

.inicio p {
  color: #333;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  text-align: center;
  width: 90%;
  max-width: 1400px;
  line-height: 1.6;
  margin: 1.5rem auto;
}

.conteudo {
  justify-content: space-between;
  gap: 30px;
  margin-top: 3rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.conteudo p {
  color: #333;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-align: start;
  width: 90%;
  max-width: 1200px;
  line-height: 1.6;
  margin: 1.5rem auto;
}

.conteudo h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 5px;
}

.conteudo ul {
  color: #333;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-align: start;
  width: 90%;
  max-width: 1200px;
  line-height: 1.6;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.conteudo li {
  margin-bottom: 0.8rem;
}

.about-box {
  flex: 1;
  width: 100%;
}

.about-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 15px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  width: 90%;
  max-width: 800px;
}

.skills-list li {
  padding: 10px 20px;
  border-radius: 8px;
  background: #7843E9;
  color: white;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  background: #6a3ad1;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 30px 15px 15px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.footer-text {
  width: 100%;
  text-align: center;
}

.footer-text h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.footer-text p {
  color: #aaa;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-social a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-copyright {
  text-align: center;
  padding-top: 15px;
  color: #777;
  font-size: 0.8rem;
}

/* Galeria e Carrossel */
.galeria-container {
  width: 90%;
  margin: 1.5rem auto;
  padding: 0 10px;
}

.carrossel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.galeria {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  gap: 15px;
  padding: 8px 0;
  scrollbar-width: none;
}

.thumb {
  scroll-snap-align: start;
  min-width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seta-esquerda {
  left: 5px;
}

.seta-direita {
  right: 5px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.lightbox-content {
  display: block;
  margin: 80px auto 20px;
  max-width: 95%;
  max-height: calc(100vh - 100px);
  border-radius: 4px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.caption {
  margin: 10px auto;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  max-width: 90%;
}

/* Media Queries para telas muito pequenas (celulares) */
@media (max-width: 480px) {
  .inicio {
    min-height: 70vh;
    padding: 15px;
  }
  
  .conteudo {
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  
  .skills-list {
    gap: 8px;
  }
  
  .skills-list li {
    padding: 8px 15px;
  }
  
  .thumb {
    min-width: 200px;
    height: 140px;
  }
  
  .seta {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-text {
    text-align: left;
    max-width: 60%;
  }
  
  .thumb {
    min-width: 220px;
    height: 150px;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-text {
    text-align: left;
    max-width: 600px;
  }
  
  .galeria {
    gap: 20px;
  }
  
  .thumb {
    min-width: 280px;
    height: 180px;
  }
}

.conteudo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Adicione isso ao seu media query para telas pequenas */
@media (max-width: 768px) {
  .conteudo img {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .conteudo img {
    padding: 0 10px;
  }
}

.btn {
  background: #7843E9;
  margin-top: 40px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 5px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
  padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  text-decoration: none;
  transition: transform 0.3s;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

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