* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #05232b;
}

body {
  font-family: "Outfit", sans-serif;
  background: linear-gradient(135deg, #080909 30%, #02fcbd 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
  overflow-x: hidden;
}

.header {
  text-align: center;
  padding: 20px;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 3px #fff;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 0 0 15px;
}

@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: rgba(255, 255, 255, 0.75);
  }
}

#typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  margin: 0 auto;
  animation: blink 0.7s step-end infinite;
  padding-right: 4px; /* Espaço para o cursor */
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.linktree-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.linktree-button {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}

.linktree-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.linktree-button svg {
  margin-right: 10px;
}

.styled-text {
  font-size: 24px;
  background-color: #02fcbd; /* Adjusted to match the neon greenish-blue */
  padding: 10px 15px;
  display: inline-block;
  color: black;
  font-family: Arial, sans-serif;
}

.new-tag-red {
  position: absolute;
  top: 10px;
  right: -10px;
  background-color: #f5980e;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.new-tag-green {
  position: absolute;
  top: 10px;
  right: -10px;
  background-color: #04c89e;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: 500px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  flex: 0 0 300px;
  height: 400px;
  background-color: rgba(5, 35, 43, 0.8);
  color: white;
  border-radius: 10px;
  margin: 0 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out backwards;
}

.card:nth-child(1) {
  animation-delay: 0.2s;
}
.card:nth-child(2) {
  animation-delay: 0.4s;
}
.card:nth-child(3) {
  animation-delay: 0.6s;
}

.card:nth-child(4) {
  animation-delay: 0.8s;
}

.card:hover {
  flex: 0 0 375px;
  height: 500px;
  z-index: 2;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.card.active {
  flex: 0 0 375px;
  height: 500px;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  transition: all 0.3s ease;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card:hover .card-content,
.card.active .card-content {
  padding-bottom: 30px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.card p {
  margin: 0 0 15px;
  font-size: 16px;
}

.bean-services-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.bean-services-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.youtube-player-container {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.youtube-player-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 4px;
  margin: 0 4px;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  opacity: 1;
}

.footer {
  background-color: rgba(5, 35, 43, 0.9);
  color: #fff;
  padding: 20px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  width: 300px; /* Ou qualquer tamanho desejado */
  height: auto; /* Mantém a proporção */
  margin-bottom: 15px;
}

.footer p {
  margin: 10px 0;
  font-size: 14px;
  opacity: 0.5;
}

.footer-links {
  margin: 15px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  border-bottom: solid 1px #fff;
  opacity: 0.5;
}

.footer-links a:hover {
  opacity: 0.8;
}

.legal-info {
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .linktree-buttons,
  .carousel-container {
    padding: 20px;
  }

  .new-tag-red {
    top: 10px;
    right: -8px;
    font-size: 10px;
    padding: 2px 4px;
  }

  .new-tag-green {
    top: 10px;
    right: -8px;
    font-size: 10px;
    padding: 2px 4px;
  }

  .carousel {
    flex-direction: column;
    max-width: 100%;
    height: auto;
  }

  .card,
  .card:hover,
  .card.active {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.9);
    color: #05232b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .card:last-child {
    margin: 0 0 20px;
  }

  .card-image {
    width: 40%;
    height: 150px;
    transition: none;
  }

  .card-content {
    position: static;
    width: 100%;
    height: 150px;
    padding: 15px;
    background: none;
    color: #05232b;
    transition: none;
  }

  .bean-services-btn {
    background-color: #05232b;
    color: white;
  }

  .bean-services-btn:hover {
    background-color: #083e4a;
  }

  .card:hover .card-content,
  .card.active .card-content {
    padding-bottom: 15px;
  }

  .pagination {
    display: none;
  }

  .carousel-container,
  .youtube-player-container {
    padding: 0px 10px;
  }

  .youtube-player-container {
    margin-top: 0px;
    margin-bottom: 24px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links a {
    margin: 5px 0;
  }

  .footer-logo img {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  #typewriter {
    font-size: 1.5em;
    letter-spacing: 1px;
  }

  .linktree-buttons,
  .carousel-container {
    padding: 10px;
  }

  .card {
    flex-direction: column;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .card,
  .card:hover,
  .card.active {
    flex-direction: column;
    height: auto;
  }

  .card:last-child {
    margin: 0 0 10px;
  }

  .card-image {
    width: 100%;
    height: 200px;
  }

  .card-content {
    width: 100%;
    height: auto;
    min-height: 150px;
  }
}
