@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

* {
  font-family: 'Manrope', sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
}

.bg-gradient {
  background: #000000;
}

.gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #f9e8b1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background: #1a1a1a;
  backdrop-filter: blur(10px);
  border: 1px solid #d4af37;
  transition: all 0.3s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.card:hover {
  border-color: #f1c75b;
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #d4af37;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 9999px;
}

.language-button {
  padding: 0.5rem 1rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.language-button.active {
  color: #000000;
  background: #d4af37;
  border-radius: 9999px;
}

.skill-tag {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: #d4af37;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #ffffff;
}

.profile-gradient {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 25%, transparent 50%);
}

.scroll-indicator {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 50;
}

.scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-indicator:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

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

.float {
  animation: float 4s ease-in-out infinite;
}

/* === CARROSSEL === */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
}

/* === RESPONSIVO CARROSSEL === */
@media (max-width: 768px) {
  #projects .card {
    flex: 0 0 90%;
    max-width: 90%;
  }

  #scrollLeft,
  #scrollRight {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(212, 175, 55, 0.3);
    padding: 0.5rem;
    border-radius: 9999px;
    z-index: 30;
  }

  #scrollLeft {
    left: 0.5rem;
  }

  #scrollRight {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  #projects h2 {
    font-size: 1.75rem;
  }

  #projects .card h3 {
    font-size: 1.25rem;
  }

  #projects .card p {
    font-size: 0.875rem;
  }
}
