body {
  background-color: white;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.gradient-colors {
  background: linear-gradient(90deg, #ff6b6b 0%, #feca57 20%, #48dbfb 40%, #f093e4 60%, #54a0ff 80%, #5f27cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% 100%;
  animation: gradient-shift 5s ease infinite;
  display: inline-block;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/piedrasHero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.dark .hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/piedrasHero.png');
}

.stone-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #48dbfb, #ff9ff3);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Estilos para el nav fijo */
.nav-text {
  color: white;
  transition: color 0.3s ease;
}

#mainNav.scrolled .nav-text {
  color: #1f2937;
}

.dark #mainNav.scrolled .nav-text {
  color: #f3f4f6;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}