/* Estilos para botones minimalistas con animación */

/* Contenedor para botones */
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* Espacio entre botones */
  margin-top: 1rem;
}

/* Estilo base para botones tipo link */
.link-button {
  position: relative;
  font-size: calc(1rem * 0.95);
  font-weight: 500;
  color: #0b0b0b;
  text-decoration: none;
  padding: 0.5rem 0;
  margin-right: 1.5rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* Estilo al pasar el mouse */
.link-button:hover {
  color: #8b7b57;
}

/* Animación del subrayado */
.link-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #8b7b57;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

/* Efecto al pasar el mouse sobre el botón */
.link-button:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Variante para botón primary (primer botón) */
.about-links .link-button:first-child {
  font-weight: 600;
}

/* Variante para texto blanco sobre fondos oscuros */
.link-button.white-text {
  color: #ffffff;
}

.link-button.white-text:hover {
  color: rgba(255, 255, 255, 0.85); /* Un blanco ligeramente transparente al hacer hover */
}

.link-button.white-text::after {
  background-color: #ffffff;
}

/* Estilo para botones tipo link dentro de texto */
.link-button-inline {
  color: #8b7b57;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.link-button-inline:hover {
  color: #6b4f08;
}

.link-button-inline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #8b7b57;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.link-button-inline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Media queries para ajustes responsivos */
@media (max-width: 768px) {
  .about-links {
    gap: 1.5rem;
  }
  
  .link-button {
    padding: 0.4rem 0;
  }
}
